
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.
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
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
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,
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);
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.
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
Question: I have a menu frame that has a popup menu with many options and four buttons below it. How can I change the buttons’ destination links depending on the
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
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
When using the WebBrowser control in VB, you might want to present information without having that data accessible to the end user. In this case, you can simply insert the
Question: Is there a technical or logical difference between using an ANSI style join and specifying the join using the WHERE clause? Is there a general preference to either method,
Question: I have set up an Exchange mailbox in Outlook 2000, but I am missing some folders. I can only see the Deleted Items, Inbox, Outbox, and Sent Items folders.
Question: I have the following fields: productid, category. A product can be in many categories, and a category can have many products. For example, product1 can be under category1 and
Question: I have a main table where there are three fields: UserID, Postal code main, Postal code sub. I have a second table where there are two fields: Postal code,
Question: Is there a way to make command buttons appear in the color I choose, rather than the color selected in Windows > Display Properties > Appearance > 3DObjects? Command
Question: I have a Visual FoxPro 5.0 application that I installed to run as a service on an NT server. Everything works fine except for when the user attempts to
Question: In a site that has multiple servers (some top-of-the-line, others border-line) is it better to use PSTs (personal file folders)? In other words, does it enable Exchange to perform
Question: I’m currently working on a data warehousing application using SQL Server 7. The problem I have is that I have to import 610,000 records of mainframe data per day
Question: I’m trying to retrieve eight fields from four FoxPro tables via on-the-fly SQL from an ASP page… and I’m not familiar with FoxPro SQL. The following doesn’t work, but
Question: Is it possible to count the number of records and, when that count is reached, insert a header/footer to an exported text file using VBScript in DTS? If so,
Question: I want to change the format of the default e-mail message (IPM.Note). I have created a new form, but want it used whenever the user selects “New Message.” (I
You’ve probably wanted to limit the normal operations of a form, such as resizing it, preventing it from being minimized or maximized, or allowing it to be closed only when
This great add-in lets you analyze one or more VB projects, and lists all the dependencies from each other and from other DLLs and type libraries. This is an exceptional
If you want to play a track of an audio CD from VB you can use MCI functions. The main MCI function is mciSendString, that sends command strings to the
With MCI functions you can play an AVI movie into a PictureBox. All you need to do is open the file with a special procedure: Declare Function mciSendString Lib “winmm”
You can use MCI functions if you want to record a WAV file. The main MCI function is mciSendString, that sends command strings to the system and execute them. Declare
If you want to play a MIDI file from VB you have to use MCI functions. The main MCI function is mciSendString, that sends command strings to the system and
To retrieve the original size of an AVI file that you’ve already opened with the mciSendString API function you can use this command Dim RetString As StringRetString = Space$(256)CommandString =
If you want to play an AVI movie from VB you can use MCI functions. The main MCI function is mciSendString, that sends command strings to the system and execute
Java bytecode contains information in your Java source files. This byte code is generated by the java compiler as per an explicitly documented specification. It is not impossible to reverse











