Tip Bank

DevX

Saving an OLE Object to a Database

Question: How do I save an OLE object into an Access database without using a data control and the OLE OCX? Answer: You should look at the AppendChunk and GetChunk

DevX

Using Recordset Object

Question: I added records to a list box using the datacontrol. Now I would like to use the list1_dblclick procedure to access the recorddblclicked and use it. I know there

DevX

Checking for MDI Children

Question: How do I know is there any MDIChild form opened? Because I want to disable the MDIForm’s toolbar editing items (cut, copy, paste) if all child forms are closed.

DevX

Using Dropdown Control in TrueGrid Pro

Question: I am using a Truegrid and implementing their Value list, combo box. I fill the list in code and would like to be able to have the “pick-list” drop

DevX

Supported Graphics Formats

Question: What graphic file formats does VB support? Does it support the GIF format? Answer: Visual Basic supports the Windows Bitmap (.BMP), the Windows Icon (.ICO), and the Windows Metafile

DevX

Loading Bitmaps from Database Values

Question: I am in the process of building an application where I needa grid of small graphics (icons or BMPs) in an array situation.When the user clicks on one graphic

DevX

Reliable File Writing

Question: I have a DOS-based application (QB4.5) which has been running for some years and I have now updated it to Visual Basic. The application handles several async serial ports