devxlogo

Tip Bank

Copying a Directory Tree

Question: How do you copy entire directory structures with VB3, I’veread the -ONE- newsgroup article but it just lists them. Answer: Have you tried shelling to an XCOPY statement? It

Programmatically Clearing a Text Box

Question: I have a series of text boxes, any subset of which can be used for input of numerical data, followed by a command box to “compute” from that input

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

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;

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

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

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

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

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