Option explicit on
Module ini'Ini Cont. bas ver 1.0 + A ini '==================================== =========================================='Getintfromini (sectionname, keyname, defaultvalue, inipath)''Sectionname: node name
'Keyname: configuration
Option explicit
Private type browseinfo
Lnghwnd as long
Pidlroot as long
Pszdisplayname as long
Lpsztitle as long
Ulflags as long
Lpfncallback as long
Lparam as long
Iimage as long
End type
Private const bif_returnonlyfsdirs = 1
'Private const bif_
Address: http://blog.csdn.net/useway "Java programmers, work that thing"
-- Author: bellVB has always been regarded as a language that can be used to complete Windows interface applications in a simple way. For programming on Windows systems, it
Pixel (pixels)The smallest element that can be displayed on a screen or printer. Pixels are independent of the screen.Design of various display typesMicrosoft Windows is device-independent-window-based applications can run on many computers with
' ========================================================== ' | Module Name | Textboxdisableability ' | Description | Disable the function of the text box ' ==========================================================option explicitprivate Declare
Http://www.mndsoft.com/blog/article.asp? Id = 901
In this site VB source code "Data Grid drop-down list box controls" (link address: http://www.mndsoft.com/blog/article.asp? In id = 214), the user taomaintao prompts that the scroll wheel and mouse
Disk Information Instance Description
In this program, we will generate an application that can get the current disk information, similar to the result of right-clicking on the disk "Properties". After running, select the disk, you can get the
The principle of sub-classification technology: To get the original window procedure address, record it, and then set all the messages are transferred to the message we write process, we filter the message sent over to find a specific message for
Program | Registry We can see some programs on the boot will automatically run, like WinPopup is this, how to achieve it? You can add a program that needs to be run to start-Program-startup, and one way to write to the registry, where we discuss how
Statement:
Private Declare Function getsystemmenu Lib "user32" Alias "GetSystemMenu" (ByVal hwnd as Long, ByVal Brevert as Long) as L Ong
Private Declare Function deletemenu Lib "user32" (ByVal hmenu as Long, ByVal nposition as Long, ByVal wflags
The advantages of VB I will not say more. VB Beginner imitation ability is very strong, always hope that their program looks professional, such as password login, production limit version, limited edition, forced to start and so on, in fact, these
Zoom In | response
' Module
Option Explicit
Public Const Gwl_wndproc = (-4)
Public Const wm_command = &h111
Public Const Wm_mbuttondown = &h207
Public Const Wm_mbuttonup = &h208
Public Const WM_MouseWheel = &h20a
Public Oldwinproc as Long
Public
What's the difference between SP2, SP3 and Enterprise Edition
Ask the VB in the SP2, SP3, Enterprise version of these three kinds of, each representative what meaning?
The SP is the abbreviation for the service pack. Microsoft each launch a
The principle of sub-classification technology: To get the original window procedure address, record it, and then set all the messages are transferred to the message we write process, we filter the message sent over to find a specific message for
This article is not an article on the hook principle, just a discussion of how to invoke the hook function in vb.net, and the change in API usage in vb.net.
Due to the variety of hooks, the most commonly used keyboard hooks are analyzed in this
Private Declare Function CreateWindowEx Lib "user32" Alias "Createwindowexa" (ByVal DwE as Long, ByVal LpC as String, Byva L LpW as String, ByVal DwS as Long, ByVal x as Long, ByVal y as Long, ByVal NW as Long, ByVal NH as Long, ByVal HW as Long ,
Let's introduce three API functions.Addfontresource,sendmessage,removefontresource. AddFontResourceThis is an add font resource to the System font table, the prototype is as follows:int AddFontResource( LPCTSTR lpszFilename // pointer to
The example below shows the use of VB Form/control as a container application to display a PowerPoint slideshow. It as shows how to do use of a undocumented slide show setting to run the slideshow in a window of it's own without any PowerPoint
Different from. Net, in VB6, ByRef is used by default to pass parameters. It seems that there is nothing to optimize.
However, if you call an API, the Code copied from the API browser is forced to use ByVal to pass the parameter.
This gives us the
With the help of API functions Callwindowproc,dragacceptfiles,dragqueryfile,dragfinish can also implement drag-and-drop files from the Explorer explore to the application, another way is to use OLE drag and drop, You can refer to the interesting
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.