See The Methods Exported By An OCX
You can use the code window to see the events for an OCX, and the propertieswindow to see the properties of an OCX. To see the OCX’s methods, use theObject
You can use the code window to see the events for an OCX, and the propertieswindow to see the properties of an OCX. To see the OCX’s methods, use theObject
To use numeric strings as keys in a treeview control, the keys mustbe strings containing a non-numeric character, not just digits. A handyworkaround is to append the string “_” to
Do you need to tab through all those edit boxes? Are you tired of coding all of their KeyPress events? If so, set the tab indexes as you normally would.
The setup kit supplied with VB has a DLL with a useful function thatcan be called from your own applications. The function, GetFreeDiskSpace,returns the amount of free space available on
In almost every application’s project you come across, fields necessitate the use of numeric text boxes-text boxes that should accept only numeric values. You can deal with this situation by
Normally, to load a new OCX, you select Custom Controls from the VB4Tools menu. Then, in the Custom Controls dialog, click on the browse button,select the OCX file, and click
To signal errors from within a class method, use the Error.Raise methodand bubble it back up to the server. Check the docs for Error.Raise andthe books online. One caveat is
The SetupWizard directly supports only self-registering OLE servers.The setup toolkit doesn’t directly support a server that requires a REGfile. A workaround is use the Add Files button to add an
Windows 95 uses an extra step when searching for 16-bit DLLs. A newregistry key, “Known16DLLs,” in Windows 95 under \HKEY_LOCAL_MACHINESystemCurrentControlSetCon-trolSessionManagerfunctions in a similar way to KnownDLLs in Windows NT. Known16DLLs