We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX - Software Development Resource

VB4 GetPrivateProfileString Problems

Question: I am trying to use GetPrivateProfileString to access INI entries in a INI file using Visual Basic 4.0. Whenever I try to run my program it produces the error

DevX - Software Development Resource

Using Me Object

Question: What is the different between using Me and FormActualName when accessing a form’s property or to pass the FRM to a subprogram.Is it ok to use ME all the

DevX - Software Development Resource

Accessing Financial Function Library

Question: I’m looking for help on using the VB 3.0 functions IRR, MIRR and NPV. When I try to use any of them I get Reference to undefined function or

DevX - Software Development Resource

Combining VB with C

Question: Can I write a module in Ansi C language and compile it together with a VB program? If cannot, how can I combine these two modules? Answer: You can’t

DevX - Software Development Resource

Using Counters

Question: I am designing a database as a correspondance register.Each bit of inwards and outwards mail is given a unique number. At present I have set up a counter field

DevX - Software Development Resource

Showing Currency Values

Question: I am using VB as a front-end to an Access 2.0 database. Some of the fields in my Access db are of type currency. However, VB only displays them

DevX - Software Development Resource

Flushing I/O Buffer

Question: Is there a way within VB to flush information sent to a file? Normally, information is buffered and not sentto the file until the buffer size is exceeded or

DevX - Software Development Resource

Allowing Network Usage

Question: How do I turn a single pc VB3 application using MS Access2 into an app that’s capable of running on a network? Answer: Really, the basic thing you have

DevX - Software Development Resource

Repairing a Corrupted File

Question: Not knowing that my hard disk was almost full, I tried to load a VB MAK file that I had created in VB3. When I did, a message said

DevX - Software Development Resource

Binding Across Forms

Question: We want to use multiple VB forms with independent controls bound to independent data controls accessinga single table.In Vb 3.0, we are not able to save the controls dataof

DevX - Software Development Resource

Using 16 bit DLLs in 32 bit VB 4.0

Question: Can I use 16 bit .DLLs in VB 4.0 32 bit? Answer: No, you can’t. In order to access it, you’ll either have to recompile the DLL (and possibly

DevX - Software Development Resource

Using Locked Property vs. Disabled Property

Question: Is there a way to keep VB4 from dimming the text in disabled controls boxes (i.e. Text and Labelcontrols)? I would Like to use my own Colors forText areas

DevX - Software Development Resource

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

DevX - Software Development Resource

Making the List Drop Automatically

Question: How can I make the combo box drop its list easily? Answer: On form load, do combo.additem , until allitems are placed into the combo list.To cause the combo

DevX - Software Development Resource

Getting Documentation

Question: I am a new VB programmer. I have been researchinginto VB programming using soom custom VBX’s for TCP/IPtype of stuff. I need to know if there is a book

DevX - Software Development Resource

Creating Toolbars

Question: I’d like to create a floating window that has a small titlebar,like the VB toolbox window, for instance. In the VB FAQ,it says to see the sample program in

DevX - Software Development Resource

Opening a Word Document

Question: How can I open a Word document from my Visual Basic application? Answer: Use the following code sample to do it:Set wordbasic = CreateObject(“word.basic”)wordbasic.fileopen pathname$, 0, 1where:pathname$ is the

DevX - Software Development Resource

Controlling Execution Flow

Question: How do you command a button to go to another form, I put like follows:Sub Double_Click ( ) GoTo form2 EndEnd Sub OR Sub Double_Click ( ) Load form2

DevX - Software Development Resource

Best Intermediate Books

Question: I understand the basic concepts of computer programming including event driven apps. I have been browsing various Visual Basic sites looking for self teaching book recommendations. Since I’m new

DevX - Software Development Resource

Converting VBXs to OCXs

Question: I’ve developed some applications on vb3 using some3rd-party VBXs, I now want to transport thoseapplications to vb4 for enhancement. Do anyutilities exist to convert those VBXs to OCXs? Answer:

DevX - Software Development Resource

Implementing a Toolbar

Question: I am using VB 3.0 professional edition. I would like toimplement cut/copy/paste on a toolbar. My form has multipletext boxes. If the user wants to paste to a field,

DevX - Software Development Resource

Using Fields Object with GetChunk

Question: What is the fields object of the GetChunk method?I am trying to access a large (several meg) flatfixed record (160 ascii bytes per record) database and I thought the

DevX - Software Development Resource

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

DevX - Software Development Resource

Dynamically Create Pictures

Question: I got a game “SimTower”. In this game you can for exemple click on the picture with the office or hotel room, then you are clicking somewhere on the

DevX - Software Development Resource

Putting a Menu on the Right Side

Question: When designing a menu, how do I get an option (for examplehelp) – to appear on the RIGHT hand side of the menu bar. Answer: To position the Help

DevX - Software Development Resource

Retrieving Table List

Question: How can I get the tables within an Access2.0database to show in a list box? The user willspecify a database in a text box and I want themto be

DevX - Software Development Resource

Moving the Mouse Pointer

Question: Can you tell me if its possible to move the mouse cursor to a specific screen location and then return control of it to the user. If it is

DevX - Software Development Resource

OpenTable Problems with ODBC

Question: Why does MyDb.OpenTable(“My_Table”) not work with a Sybase database? I get the error “Invalid Argument” Err Num 3001. Answer: ODBC does not allow you to do an OpenTable on

DevX - Software Development Resource

Getting Network Login ID

Question: How can I query the login name of a Novell user from VB? Answer: Try this:un$ = space(255)unsize% = len(un$)a = WNetGetUser(un, unsize)MsgBox trim(un)The WNetGetUser API declaration is: Declare