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

Image Storage in Access 97

Question: I have an Access 97 database with an OLE Type field containing bitmaps loaded with the LoadPicture() function. This works fine and the images turn up as “Bitmap Image”

DevX - Software Development Resource

Changing Label Caption of a Textbox

Question: I am an extreme newbie with VB. How do I change the caption of a label to the value of a textbox? Answer: Substitute the name of the Label

DevX - Software Development Resource

Accessing Online Databases

Question: I have been using Visual Basic to manipulate databases for some time now and I consider myself skilled at it. The next challenge presented is to establish a connection

DevX - Software Development Resource

Control Focus

Question: When a control has focus, is there some way to determine which control had focus just before it? Answer: Nope, there isn’t any way to do that. But, I

DevX - Software Development Resource

COM in IIS

Question: After I compile my DLL in VB and run the component through IIS, I cannot recompile the DLL and I get a file locking error. I am using VB6

DevX - Software Development Resource

Procedure Declaration Errors

Question: I get the folling error message when I try to run my code: Compile Error: Procedure declaration does not match description of event or procedure having the same name.

DevX - Software Development Resource

Retrieving Info From Listbox

Question: I have a listbox with some names loaded from a recordset, I have also associated the memberID with its associated name as in the following: lstMember.ItemData(lstMember.NewIndex)= rsMembers![MemberId]. I want

DevX - Software Development Resource

JFrame Look and Feel

Question: Is there any way I can make a JFrame look like JInternalFrame? It looks bad at runtime when you change the look-and-feel, but the mainframe doesn’t change. Answer: This

DevX - Software Development Resource

Arrays of Arrays

Question: Is it possible to have an array of character arrays? What about anarray of multidimensional character arrays? Answer: Java arrays are first-class objects. They can be referenced byObject reference

DevX - Software Development Resource

Failure to Resolve Name Remotely

Question: I am trying to get remote access to my e-mail account. Although I can dial in the domain successfully, when I start Outlook, I receive this error message: “Network

DevX - Software Development Resource

Exchange System Attendant Error Message

Question: I am running Exchange 5.5 with about 60 mailboxes. When I try to access the e-mail tab of a newly created mailbox I get the following error: an error

DevX - Software Development Resource

Rotating a Column in PowerBuilder

Question: Is it possible to rotate a column 90 degrees in a PowerBuilder (5.0.04) datawindow so that the data print up and down instead of the usual left to right?

DevX - Software Development Resource

Change the blink rate of the caret

You can retrieve and change the blink rate of the flashing caret inside TextBox controls through a couple of simple API functions: Private Declare Function SetCaretBlinkTime Lib “user32” (ByVal wMSeconds

DevX - Software Development Resource

Display the dialog to configure a port

The ConfigurePort API function lets you programmatically bring up the system dialog box for configuring a COM or LPT port. The function returns a non-zero value if successful (that is,

DevX - Software Development Resource

Friend Procedures are faster than Public ones

It might surprise you to learn that Friend procedures are sensibly faster than Public ones. You can prove this yourself by creating an ActiveX EXE project with one Private class

DevX - Software Development Resource

Selecting an entire row in a ListView

The ListView control that comes with VB6 lets you select an entire row by setting its FullRowSelect property to True. If you are working with VB5 or you’re using VB6

DevX - Software Development Resource

Implement Write-Once Read-Many Properties

Creating a read-only property or a write-only property isn’t difficult, as you probably know: just omit the Property Let (or Set, if dealing with objects) or the Property Get procedure,

DevX - Software Development Resource

Show a custom caret

VB gives you no control on the size of the text caret. At times it can be necessary to change its size, however, for example when you want to signal

DevX - Software Development Resource

Nested Class and Forward Declarations

You cannot forward declare a nested class. For this reason, the following code will not compile: // assuming class B is nested in class A int main() { class A::B;

DevX - Software Development Resource

Write to a Database Using SQL and ASP

n previous 10-Minute Solutions, I have covered how to retrieve data from a database and display it in the browser. The complement to that functionality is getting data from the

DevX - Software Development Resource

Compiling Machine Code with GCJ

pen Source Java development tools are finally on the rise and the GNU Compiler Collection (GCC) is helping to lead the charge. GCC was originally just a C compiler, but

DevX - Software Development Resource

Using Command Line Arguments

Editor’s Note: Code in this Solution has been updated since its original publication. ne of the virtually forgotten features of Visual Basic is the ability to accept command-line parameters when