Tip Bank

DevX - Software Development Resource

Opening MAK Files with VB 4.0

Question: In working with VB4 I find that if I double click on a project file (.mak or .vbj) the system always starts upVB4 in 16bit mode. I am wondering

DevX - Software Development Resource

Accessing Properties

Question: How do you access a Public Property in a class module from an in-project module? For example:In a new project create one class module; “Class1” and one bas module;

DevX - Software Development Resource

Changing RecordSource at Runtime

Question: At runtime, how do I change the query that I’m using with my data controls to be one a user selected? I don’t want to keep the same name

DevX - Software Development Resource

Saving a Picture to Disk

Question: I am able to use the API call ExtractIcon to get an icon from a .VBX, .EXE, or .DLL. I can put the icon in a Picture Control, but

DevX - Software Development Resource

Memory Management: Lost Resources

Question: Each time I run a certain application from VB environment, resources go lower and lower. When I exit VB, all the memory is released.I do not have that problem

DevX - Software Development Resource

Available Network APIs

Question: I would like to know if I could obtain a listingof the functions in the netapi.dll file and howto declare them in VB. It would be mostappreciated. Answer: The

DevX - Software Development Resource

VB Decompiler

Question: Is there a decompiler for Visual Basic executables so that I can retrieve the original source code? Answer: Currently, there is only a decompiler for VB 3.0 and VB

DevX - Software Development Resource

Embedding Double Quotes in Strings

Question: I was wondering if there is a way to use a set of quotes in a vb string. Answer: If you put two double quotes into your string, VB

DevX - Software Development Resource

Inserting Control Characters

Question: How do I insert carriage return (Chr(13)) and line feed (Chr (10)) in a text box at run-time? Answer: Just use the ampersand (&) and add them to the