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

Access Client’s Windows Date Format

Question: I have a date field on my ASP page. I want to restrict the user for entering only the dates in his Windows 95 machine’s date format. How can

Bypass the ‘RePost’ Message

Question: When I create an ASP page that gets sent to the browser, if users press the refresh button they get a message asking to repost from old data. How

Display a ‘Loading…’ Message in ASP

Question: How can I show a ‘Loading…’ message till my ASP page loads? Answer: Use the following code to create a “pgLoading.asp” page. Pass to it as a parameter the

Display Currency Fields in ASP

Question: I am querying an Oracle field that comes back in the format of 25.5. Because this is a currency field, I’d like to manipulate it so that it shows

Session Abandon Does Not Stop Back Button

Question: I have a session variable that keeps track of a user name and is set through a login page. Every page in the application first checks for the session

Create a Directory From an ASP Page

Question: How do I create a directory in ASP? Answer: Use the ‘CreateFolder’ method of the FileSystemObject object. Set fs = Server.CreateObject(“Scripting.FileSystemObject”)fs.CreateFolder (“foldername”) Obviously, you need to have proper permissions

Using ASP as Opposed to HTML Files

Question: I have been testing the delivery of ASP pages versus HTML pages and found that there is a considerable difference (ASP = 1 per sec / HTML = 187

Generate Numbers at the Server End

Question: How do I generate numbers at the server end? I have an application in which I am accessing data from an Access database and I want to define each

Create an Instance of an ActiveX Component

Question: I am using Visual InterDev to create a data-driven Web application. How do I create an instance of a user-defined ActiveX component in Visual InterDev? I have created an

Center Your Frames/Dialogs

You can find many tips on how to center a window within the screen, but howabout centering a window in its parent container? The following code showsyou how to do

Detect if Swing is Installed

Sometimes it is useful to know if Swing is installed in a Java environmentor not, especially if you are dealing with browsers. You can simply try tocreate a Swing component,

Who’s Who in Java Commerce

Java WalletThe Java Wallet is a family of Java products designed to enablesecure electronic commerce operations. It incorporates the Java CommerceClient, Commerce JavaBeans components, the Gateway Security Model, and JavaCommerce

Const & Efficiency

Question: Can you tell me which of these implementations is more efficient and why, assumming this function cannot be inlined and is called often? First option: int even( int &val){if

Mathmatical Functions: Decimals

Question: How can I read only from one side of the decimal in VB6? I need to get .4286 from a value of 22.4286. I also need to know how

IIS – Manipulating the Metabase

Question: I have been trying to change settings for the IIS server in order that I can set the flag to allow an out-of-process Active X EXE Server to be

Templates

Question: I’m porting a UNIX app to NT; one of the class hierarchies includes something like this: template class base{ // stuff};template class derived : public base, public base{ //

JOptionPane

Question: When creating an input dialog box with JOptionPane.showInputDialog, isit possible to have a masking character, such as the * for password input? Answer: As implemented in the Sun JDK,

Searching for a Specific Row in a Data Store

Question: What function do I use if I want to search a particular data store for the first letter of certain items? For instance, I have this list: olulekamtibookwi If

Columns ListView Control

Question: How can I insert an item into different columns? Answer: To insert data into multiple columns, you use the same command as for single columns, except that in your

Open the list portion of a ComboBox control

To programmatically open and close the list portion of a ComboBox control, all you need is sending the CB_SHOWDROPDOWN message to the control. Here is a routine that encapsulate the

Check whether a form is loaded

You can load several instances of the same form, but VB doesn’t let you determine how many forms of a given class are currently loaded. You can work around this

Don’t stop timers when a MsgBox is active

Not all developers know that Timer controls in compiled VB5 and VB6 applications aren’t stopped by MsgBox statement, so the Timer’s Timer event procedure is regularly executed even when the

Registering DLLs in DHTML Applications

Question: I’ve just started using DHTML in Visual Basic 6.0 and have encountered a few glitches. When using ActiveX DHTML, where does the compiled DLL file have to be stored

Place Image in an Absolute Position

Question: I’ve been using the Microsoft ActiveX image control to place my images in absolute positions on my Web page. However, I have run into problems with this image component

The Advantages of XML Over CSV

Question: What is the advantage of XML over say, a comma delimited file? If you’re using it for data transfers between platforms, I would think that always having to explicitly

Creating Images on the fly with ASP Pages

One of the impressive features of Active Server Pages is the ability to deliver fresh, active content in direct response to user input. In addition to creating responsive text, you