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

Objects And Classes

Question: I need to compare two object instances of the same class. But I need to compare the contents and not the references (ie: “obj1 is obj2” – will not

Taking the Null Character Out of a String

Question: Let me describe the problem first: I have a TYPE statement with two variables(appname & dbname). They both are pointing to a global variable that sets the maximum length

Linking a Listbox to a Database

Question: How can I put a column from my database into a listbox using VB 6.0? Answer: Here’s a quick way to load a listbox using ADO in VB 6.0.

Combobox and ADO Resultset

Question: After retrieving a resultset, using VB6, from SQL Server, I am easily able to populate a grid by setting the resultset to the grid (i.e. Set DataCombo1.DataSource = GetRs).

Variant Naming Specification

Question: I know a recordset object should be named rstName, but don’t know all about variant naming specifications. I looked for it on MSDN for a long time, but couldn’t

Split Function

Question: How is the data laid out in the array and how do you know the size of the array! Answer: Each string that results from the Split function is

Object Creation in VB

Question: I’ve read about what happens behind the scenes when VB creates an instance of a COM object. But, what exactly does happen when VB creates an instance of a

Setting Daily Events

Question: I want to kick off a function once a day (for examle, at midnight). The timer seems a very inefficient way to do this. Is there any way of

ArrayAvg – The average of an array of any type

‘ The average of an array of any type” FIRST and LAST indicate which portion of the array’ should be considered; they default to the first’ and last element, respectively’

Programmatically Control and Interact With IE

Question: How can I interact with a running version of Internet Explorer or Netscape? When I say interact, I mean handling or monitoring browser events such as right click or

Use Visual Basic in Your Internet Development

Question: We are using Visual Basic to develop our new applications and will be converting our old applications from COBOL to Visual Basic in the near future. We want to

Sort and Display Data Stored in Arrays

Question: How do I sort columns with their corresponding rows of information and then add data? I would like to use the data in a Web page. Answer: If you

Access Browser History

Question: How does the browser history work? Is it possible to take out a link in the history? For example, I have a page with a redirect. The redirect works

Speed Web Access in an Access Database

Question: Some users access the Microsoft Access 97 database through a Web user interface and others directly to the MDB file. Will it speed Web access if I create a

Apply a DHTML Effect to a Specific Style

Question: I have two different styles on my page: “content” and “small”. To avoid the “onmouseover…” lines within the tags, I defined the A:Hover line. Now if a user moves

Arrange Conditions Properly

You can optimize the performance of your “JavaScript” code by properlyarranging the conditions in the “if” statement. If you have severalconditions to be tested together, and you know that one

A Guideline To JDBC Drivers

Use the following as a guideline through the maze of JDBC drivers. Type1 Also known as JDBC-ODBC bridge which provides JDBC access to most ODBC drivers. The primary drawback of

Create Nested Folders In One Call

Suppose you need to create a tree of directories, all at once, in code. For example, you could create the tree C:1stDir2ndDir3rdDir4thDir with one call simply by feeding that path,

The Casts Of Java

A cast is a conversion of data type on a variable. Casts can occur when you explicitly request them as in: Frame f = new Frame; Object o = ((Object)Frame);

Make More Versatile Trim Functions

One of the nice things about VB is the ability to redefine most of the built-in commands. For example, you can extend the functionality of the Trim family of commands.

Determine Time on Client Machine

Question: How can I get the system time using HTML and JavaScript? Answer: I’m assuming that by “system time,” you mean the time on the client machine. You can access

Load Images off JAR Files

Packing resources (classes, sound files, images) in a JAR file is good way of reducing download time and decreasing distribution size. This tip shows you how to load images off

Swap Strings Faster

Here’s a cool way to swap strings: Declare Sub CopyMemory Lib “kernel32” Alias _ “RtlMoveMemory” (Destination As Any, _ Source As Any, ByVal Length As Long)Sub SwapString(String1 As String, String2