flyingleaf's blog

象外行一样思考,象专家一样实践。

分类: VB & Mysql

使用Visual Basic 6实现真正的多线程处理(Multi Threads)

使用Visual Basic 6实现真正实用的多线程处理 事实上使用Visual Basic的ActiveX exe技术可以轻松的实现多线程处理. 原理先不说了,先举个示例,有兴趣的话大家可以一起讨论 1.新建一个工程,类型选择ActiveX Exe,工程重命名为TestExe...

Show and Hide a Form's Titlebar at run-time

This tip shows you how to show and hide the title bar of a window at run-time. To make a window's title bar disappear, you have to remove the control box, the maximise box and the minimise box as well as set the caption of the form to blank. Unfortunately, VB's ControlBox , MinButton...

System Internet Connection - Determining How and If Connected

If you are designing a project which can use an Internet connection, it can be useful to know whether the system is connected or not. There are various methods of doing this, however the most informative and reliable method is to use the WinInet.DLL InternetGetConnectedStateEx API call. The...

VB6 Async File Find Component

Download code: VB6_Async_File_Find_Component.zip (10K)

Multi-Threaded VB Using ActiveX EXEs

Run code asynchronously with this simple and elegant design model Ever since VB5 service pack 2, there has been the possibility of running VB applications multi-threaded by using ActiveX EXEs. However, if you try and research this you will find it is fiddly to get working. This article...

How to disable combobox control via API

EnableWindow hwnd,0 Note: EnableWindow function sends WM_CANCELMODE to the combobox control.

Supporting mouse wheel events do work in the Visual Basic 6.0 IDE

SYMPTOMS You cannot scroll by using the mouse wheel in the Microsoft Visual Basic 6.0 IDE. Back to the top CAUSE This problem occurs because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel. Back to the top WORKAROUND To work around...

添加BitMap到Menu

在Window API中,有一些名词要先清楚,假设有一功能表如下: 档案   编辑 选项  --> hMenu    (功能表)       +-------+       |复制   |---------> hSubMenu (子功能表)...

VB:如何监听打开的窗口和程序

         这个问题是CSDN网友MattHgh...

文本操作快捷键,VB6.0 默认快捷键选项

下列快捷组合键可在文本编辑器中用于在打开的文档中删除、移动或者格式化文本。 命令 快捷键 说明 编辑.分行 Enter Shift + Enter 插入一个新行。 编辑.折叠到定义 Ctrl + M,Ctrl + O...

Google 使用 MySQL 数据库

在 Donews 上看到一则新闻,Google在周二发布了基于GPL协议下的一些 针对 MySQL 的优化工具,以增强 MySQL的性能。原来 Google 的很多应用都是构建在MySQL之上的,这让我对MySQL的信念更加坚定了。 来到 Google 的 google-mysql-tools...
 
Accessible and Valid XHTML 1.0 Strict and CSS
Powered by LifeType - Design by BalearWeb