devxlogo

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

Class constructor

Question: I’ve read that there are two ways to define a class constructor. For example:class List…1. List():num(0) { }2. List() { num=0; }Why is the first one more efficient at

A problem with a class Screen

Question: I found on the Web a simple class Screen as follows: /*———————————————— * s c r e e n . h * * A class to manage an ANSI

IMG tag and relative/evaluated location

Question: We have a structure already defined that is now being modified, containing more than 400 pages that include IMG tags. The entire “mess” is being moved to another server/structure

Call waiting

Question: My connection to my server is disrupted when I get a call on call waiting. No one seems to know how to dis-enable my call waiting. Service is provided

Data transfer monitor

Question: I have Internet Explorer 2.1. While downloading, it popped up a box to show my rate of transfer (bps). I have since installed a new hard drive. Once I

&lt,BODY BACKGROUND…>

Question: Is there a way to stop a background from tiling? Answer: Yes and no. You cannot stop a background graphic from tilling but you canmake it “seem” like it

Browser size determination and tables

Question: Is it possible to determine the size (width and height) of the current user’s browser window? If so, is it then possible to use that pixel dimension and paste

Naming the home page

Question: How can I link my home page to my domain name? My domain name will be “shhspgh.org”. How can I name or link my home page document so that

Accessing Music CD Information

Question: I am writing a Music CD program. I know that each Music CD has a unique number that identifies it. How can I access the number on the CD?

Data Control vs. DAO

Question: When, in general, is it best to use DAOs as opposed to data controls? We are building VB clients for Access and MS SQL Server. Answer: If you plan

How to get VB to change hex code

Question: I need to change one offset value in a binary file. How can I read the file with Visual Basic? Answer: I would recommend loading the file into an

VB5 Enterprise Animation Control

Question: I just got a copy of VB5 Enterprise. In the books on line it talks about the Animation Control. The control is to be used for silent AVI Files.

Runtimes in Visual Basic 5.0

Question: I read an article on another VB site dated 3/28/97 that stated that the executables created by VB 5.0 would still require a runtime dll (vbrun500.dll or something like

Commenting Code Automatically

Question: I feel dumb.Is there a way to block comment code in VB?I searched high and low for the answer, but it has escaped me. Answer: Don’t feel dumb…this was

Sharing Text Between Applications

Question: How can I get text selected in an application, say notepad into a vb text box in my application. Then, what about the reverse: if i have text in

Editing Win95 Registry

Question: Is there any way of editing the Win95 Registry other than exporting it to a text file?. If not, how can I quickly change the registry ie. When exported

Spell checker

Question: Is there a shareware or vbx that can be implemented to check the spelling of a text box field? Answer: If you know the machine you are running your

Registering

Question: When I try to cutomize controls, I got a error message says “Object Serve Not Correctly Registered”. Following my friend’s opinion, I used the regocx32.exe in c:program filesmicrosoft visual

Is there a Mac-based modeler that outputs VRML?

Question: Is there a Mac-based modeler that outputs VRML? Answer: Yes, ModelShop from Electric Cafe can output VRML 1.0 from its version2.5 software (a VRML 2.0 version is coming soon).

Creating Office 97 Toolbars

Question: Is it possible to create toolbars like such inOffice 97 in Visual Basic 4/5 ? Answer: Take a look at the In Depth section at Ask the VB Pro.

Visual Basic Fonts

Question: I wrote an application in VB4.0 (16 bit) anddistributed it to a few friends. I then madesome changes to the Font property on a few of theforms and make

Using Control Collections

Question: I created a collection of textbox controls within the same form, using the usual copy option from the edit menu. This collection seems Ok.I try to set properties for

How to Send to the Printer

Question: I am very new to Visual Basic and have just run this simple program:For x = 1 to 10Print xNext xEndThis produces a list of numbers from 1 to