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

The Role of Sequence Adaptors

A sequence adaptor is a container built upon another container that modifies its interface. For example, the container stack is usually implemented as a deque, whose non-stack operations are hidden.

Provide Alternate Text for Images in FrontPage 98

The drag and drop convenience of Microsoft FrontPage 98 makes you more efficient but leaves some unprofessional touches to Web pages. For instance, when you drop an image into the

std::string and Reference Counting

The Standard’s specification of class std::string is formulated to allow a reference counted implementation. However, this is not a requirement. A reference counted implementation must have the same semantics as

Which Class is Returned by getClass()?

When a class is instantiated, the subsequent object is actually an instance of the most derived class in the class hierarchy. A point of confusion for some programmers is that

Dumping to a Remote Drive

For SQL Server to perform a dump to a remote drive (that is, another machine on the network), the ID that SQL Server runs under must have rights to the

Restore Visual InterDev 6 Environment With a Click

When you are working in Visual InterDev 6, it is sometimes handy to reposition the Project Explorer, Toolbox, and Properties windows as floating windows. However, docking the windows again can

Datawidowchild problems

Question: I have a datawindow d_case with a retrieval argument al_case_id. In this datawindow, I have two columns that are ddlbcolumn1 = judge with dddw_judge and column2 = contact with

VB – Scripting Host

Question: What am I missing? I can’t compile this: Private Sub Form_Load()Dim WshNetworkSet WshNetwork = Wscript.CreateObject(“Wscript.Network”)’ Local name mapped to remote share WshNetwork.MapNetworkDrive “Z:”, “\NTc$”end sub Answer: Just leave off

Active Partitions Under NT with VB6

Question: I have to tell you, you solved a problem for me (rebooting NT from VB), which I’ve been trying to figure out for months. Much thanks. Now I can

OpenUserobject on a tab control

Question: I am trying to use OpenUserObjectWithParm to dynamically open a datawindow on a tab page on a tab. All the objects are pfc descendents. I want to open one

Listing admins for remote computers

Question: Is there a way to pass in a local workstation’s host name and get a return of a list of the local administrators for that workstation? I have seen

Obtaining the List of Available Fonts

Some applications allow the user to select which font is used for displaying text. To do this, you need to be able to dynamically determine which fonts are available so

Useful Shortcut Keys in Visual InterDev 6

Visual InterDev 6 has many shortcuts to help navigate/write your code. Here is a summary of the ones that I’ve found most useful: Goto Line # CTRL-G Find CTRL-F Replace

Beware of RegClean With Visual InterDev 6

RegClean is a free utility from Microsoft that cleans up your system registry. However, some users have discovered that at least one version cleans too deeply and damages their Visual

Subtle Differences Between C and C++

There are a few semantic differences between C and C++ in the way they interpret certain language constructs. These differences may not result in a compiler diagnostic, so it is

Read the Serial Number of a Disk

The new Microsoft Scripting Runtime library includes a FileSystemObject hierarchy containing several objects that let you obtain information about your drives, folders, and files. For example, you can retrieve the

Check Inequality of Database Field Values

Conventional wisdom suggests this code works fine when checking a field in a database-or any Variant, for that matter-for inequality to some other value: If ![Name] “abc” Then Debug.Print “”Else

Choosing Colors for Custom Components

When creating a custom user interface component, you often face the problem of deciding what colors to use while drawing the component on the screen. However, to a large extent,

Don’t Use VarType to Test for Objects

To test whether an argument passed to a procedure is an object or something else, use the IsObject function in place of the VarType function. Consider this routine: Sub TestType(arg

Use TypeName Instead of TypeOf…Is

To write reusable routines that work with multiple types of controls, test the control type using the TypeName function in place of the TypeOf…Is statement. For example, take a look

Handling the SysInfo Control

You can use the SysInfo control, distributed with VB5 and VB6, to write applications that can sport the Windows logo and that can behave intelligently when a system setting changes.

Manage big applications

Question: I have a problem with one of my VB applications.This application has 40-50 forms, modules, and reports. My PC is configured with Windows 98, Pentium II 300 MhZ, and

Netscape Navigator Does Not Support createElement

Question: Does Netscape Navigator 4.5 offer a function similar to Internet Explorer’s createElement? I’d like to add an option to a listbox using client scripting. Answer: Netscape Navigator does not

VB – Copying Directories

Question: is there a way I can programmatically copy directories from one drive to another? Answer: The easiest way to do it is by using the File Scripting objects exposed

Week of the Year

Question: How can i find out the week number of the year in Visual Basic? Answer: This is easy to do using the DateDiff function. The DateDiff function can calculate

Popup Menu

Question: I wish to add my application to the popup menu that you get in Windows 95/98. I am referring to the menu that pops up whenever you click on

Registering Apps as services

Question: I am trying to hide my application from the task manager in Windows NT 4.0. I have tried registering the app as a service, but this appears to have