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

Passing Parameters Between Pages

Question: I’m trying to pass parameters between two html pages, both resident as files on my client. I’ve tried passing them as “search” and “hash” parameters in the URL …

DevX - Software Development Resource

Disabling Controls on Screen

Question: I’m really new at VBScript, but I have a newbie book that is helping me along. However, I have one question that doesn’t seem to be addressed. Is it

DevX - Software Development Resource

Where Class IDs Come From

Question: I’ve just spent a useless morning surfing trying to find out where the CLASSID parameter of a VBSCRIPT OBJECT tag comes from. The most useful documentation said it comes

DevX - Software Development Resource

Accessing the Communications Port

Question: How can VBScript make use of the Comm Port? Answer: VBScript cannot directly access the communications port. However, you may be able to add a communications control to your

DevX - Software Development Resource

Popup Menus with Graphics

Question: Is it possible to add any type of picture to a popup window or menu screen? Answer: The standard menu control does not support adding pictures. However, you might

DevX - Software Development Resource

Passing Controls to Subroutines/Functions

Question: I am trying to pass a control as an object to a global sub to change the controls properties.How do you Set the parameter object as the controlwhen passing

DevX - Software Development Resource

Using Hidden Fields to Pass Data

Question: In HTML, I am using the FORM Tags to capture input and SUBMIT to a CGI Program. The server program captures all INPUT Tags and their VALUE. I want

DevX - Software Development Resource

Detecting Function Key Presses in Text Boxes

Question: I am looking for some kind of method to capturefunction-keys while positioned on a Web-page. To be more specific: I would like to capture eg. F3 when the cursor

DevX - Software Development Resource

InternetExplorer Object

Question: My problem arises due to thehelp file in ActiveX describing a control called ‘InternetExplorer’, howeverthe control box in ActiveX does not contain that object. Have I missed something that

DevX - Software Development Resource

Adding Items to a Combo Box/List Box

Question: I’m having problems populating both types of list boxes with data. The help file say to use the AddItembut doesn’t give any examples. Answer: Assuming your combo box/list box

DevX - Software Development Resource

Using VBScript Off the Internet

Question: Where can I find an example on using VBScriptfor a non-internet, non-html application. MS saysVBScript can also be used as a general purposelanguage for any application. I look for

DevX - Software Development Resource

Including VBScript in Every Page

Question: Is there a way to share VBScript code between different Web pages? Answer: The best way to do this is to use a feature that may or may not

DevX - Software Development Resource

Counting Lines in RichTextBox

Question: I want to develop a word-processor with VB 4.0 and the RichTextBox. I’ve got all the functions like bold, italic etc. but I’m missing a function to count the

DevX - Software Development Resource

Using Rnd Function

Question: Is there any way I can have a % chance in random events. (say you click on a button and you have a 30% chance of it doing one

DevX - Software Development Resource

Varying Length Dynamically

Question: I know VB insists on a _constant_ for the array subscript. Has anyone found a way around this? I would like to set an array length equal to the

DevX - Software Development Resource

Putting Buttons on PictureBox

Question: My question is that I’m trying to put a command buttons in a picture box on MDI form (it’s a text editor). But it always keeps on givin’ me

DevX - Software Development Resource

Putting a ProgressBar on a StatusBar

Question: Both the ProgressBar and the StatusBar appear to be welcome additions to the VB controls set. But, while I have had to create each of the various built-in StatusBar

DevX - Software Development Resource

Changing Database Structure

Question: I’m using VB 3.0 to work with databases in the Jet 2.0 format. I expect it will be necessary to add new fields to the database sometime in the

DevX - Software Development Resource

Editing Forms Directly

Question: I want to present screens of text in an application. I plan to use label controls and would like to cut and paste the text from my word processor

DevX - Software Development Resource

Controlling Netscape

Question: I’m trying to write an application that loads URLs into the user’s web browser, but it’s based on the shell function and fires up a second Netscape window when

DevX - Software Development Resource

Calling a Form’s Subroutines

Question: How can I call another Form’s subroutine? Answer: Under VB3 you can’t call another form’s subroutine. If you need to do this, put the sub into a .BAS module.

DevX - Software Development Resource

Setting Windows Wallpaper

Question: I am trying to use the API call SystemParametersInfo to change the Windows wallpaper. It works great in a Borland C program I wrote, but doesn’t work in VB.

DevX - Software Development Resource

Disconnecting a Network Drive

Question: I understand how to connect a network drive using the WnetAddConnection API function; however, I do not know how to disconnect the network drive. How do I go about

DevX - Software Development Resource

Network Logon/Logoff Functions

Question: I am trying to create a VB program to log a useronto a workgroup (from a windows for workgroupsclient) and then map local drives and devices toa network resource.

DevX - Software Development Resource

Forcing List to Drop

Question: I have loaded a ComboBox with several items. When running, if I click on the down arrow the items will display in the drop down list box OK and

DevX - Software Development Resource

Printing Records

Question: I am writing a database program and I am using the JET DATABASE ENGINEI would like to know how to print records out of the DATABASE to my printer.

DevX - Software Development Resource

Passing to Functions

Question: Just started crunching similar code into functions. How do you pass an arguement to a function that references a control? It’s prob really simple eh? Answer: Here is an

DevX - Software Development Resource

Displaying Formatted Data

Question: I have defined a field as Double in my Table to store prices. Then I bound my database to a grid.I would like to display the contents of the

DevX - Software Development Resource

Multiple Simultaneous Table Inserts

Question: I am programming a multiple table database and can’t figure out to link each table together so that when a person is posting data to one table that the

DevX - Software Development Resource

Action was Cancelled Error

Question: I am developing a small database using the engine supplied with VB 4.0 Pro. When I try to update an entry, I get the following run-time error: “Run-Time Error