The Latest

DevX - Software Development Resource

Event for Posting New Items to a Folder

Question: I have been asked to write a script that will send an e-mail to a distribution list if a new item is placed in a public folder. I have

DevX - Software Development Resource

Unable to Update Public/Free Busy Data

Question: I have one user who is getting an error when he has Outlook open. He’s unable to update public/free busy data. He’s the only user at that location who

DevX - Software Development Resource

Moving Large Mailboxes Overseas

Question: We currently have three Exchange 5.5 SP3 servers in California. We’re going to add one server in London and use x.400 connectors, but we’re not sure what the best

DevX - Software Development Resource

Create a NNTP Offline Server

Here’s the code to simulate a simple NNTP server that provides offline news reader support to WebReader. Hope you enjoy it. import java.util.*; import java.io.*; import java.net.*; class nntpServer {

DevX - Software Development Resource

Static and Object Initializers

Two types of initialization blocks (anonymous blocks) can be used to initialize class or instance variables in Java. To intialize instance variables, {} block can be used; this block functions

DevX - Software Development Resource

HTML to HLP Converter

Download this tool and convert any Java API downloaded from the java.sun.com into Windows Help format, the advantage of this is that you can use the inbuilt Search facility that

DevX - Software Development Resource

Checking for Null After New

In lot of places, I have seen developers doing a ‘new’ to instantiate a user-defined data type (Objects) and then later in the source code checking whether this new Object

DevX - Software Development Resource

Sorting MSFlexGrid

Ever wonder how to get the MSFlexGrid to have sorting behavior common inmany Windows applications? That is to say when you double-click on acolumns header it sorts ascending. Double-click again

DevX - Software Development Resource

Use Decode Function for Oracle Queries

Decode is a very useful and handy function for Oracle queries. Itreplaces the complex If-Then-Else logic, which is used to display different things based on different values in a column.

DevX - Software Development Resource

Silent install with VB6 Deployment and Packaging Wizard

VB6 Deployment and Packaging Wizard’s resulting setup.exe has a commandline switch that allows for a silent install. This feature is virtuallyundocumented except in the source code for Setup1.exe. The default

DevX - Software Development Resource

Informix Registration Within SQL Server 7

Question: How can I view Informix database tables via the SQL Server 7 Enterprise Manager? Answer: I’m not a SQL Server user, so I can’t address your SQL Server specific

DevX - Software Development Resource

Servlet State

Question: I’m developing some applications with servlets. I’ve been declaring static variables to preserve state, but when two instances of the servlet run at the same time, the second instance

DevX - Software Development Resource

Changing the Stack Size

Question: Is it possible in Java to increase an application’s stack size? Answer: The stack size of an application can be set at run time depending on the virtual machine

DevX - Software Development Resource

Connecting to an Access DB on a Server

Question: I want to connect to an Access DB on a server from a client using a VB app. I assume I would have to make a connection to the

DevX - Software Development Resource

Form Variable Problem with Web Clipping App

Question: In my Web clipping app, I have a form like this: When I submit the form the query string looks like this: myserver.com/results.cgi?var1=xyz&var2&var3=abc The problem is if a form

DevX - Software Development Resource

Client Says Not to Use Joins in VB App?

Question: I have a client that used to be an Oracle programmer years ago who tells me I’m designing his SQL 7.0 database all wrong because I’m using joins in

DevX - Software Development Resource

Spell checking

Question: I have a bunch of words in a listbox that I want to spell check(with Microsoft Word 2000 maybe?). I would like the routine to delete any word in

DevX - Software Development Resource

Co-located Exchange with ISP

Question: We have co-located a Windows NT Exchange 5.5 SP3 server with our ISP and we have about 14 Outlook clients running from our office. All of the Outlook clients

DevX - Software Development Resource

Opening an ASP Page Through VB

Question: How can I access an ASP page through VB? Answer: You can use the Internet Transfer control to connect to a web page and retrieve data from Visual Basic.

DevX - Software Development Resource

Template Function Error

Question: Consider the code: template class TestClass {public: T testFunc(T*);};template TestClass::testFunc(T* p1){ return sadfs; //actually, here I could //write anything I want} The problem is that VC++6 compiler doesn’t track

DevX - Software Development Resource

Const Member Functions

Question: What does the ‘const’ in the following funciton prototype mean? class A{public: void fn (int a ) const;} Answer: The const after a member function’s parameter list indicates that

DevX - Software Development Resource

WAP and Session Tracking

Question: How do I maintain sessions in Nokia WAP Server? Answer: Session variables are covered in the WAP Server documentation. Related Posts SEC Probe Targets SolarWinds ExecutivesMusk plans human colony

DevX - Software Development Resource

Problem with Using the AND Condition

Question: In the WHERE condition, I have not been able to use the AND condition when the two conditions on either side of the AND command relate to data the

DevX - Software Development Resource

Lost Column in Outlook View

Question: I have accidentally deleted the ‘From’ column from my inbox. Could you instruct me how to get this column back? Answer: Right-click the header of any other column (like

DevX - Software Development Resource

Multiple Hosts from Multiple DNS Servers

Question: How do I host another domain into a single server if it has a different DNS server than mine? I have my DNS from a local ISP; the other

DevX - Software Development Resource

Backing Up a Macintosh PST File on a PC

Question: I have a lone Macintosh user among an office of Windows users. This user has Outlook 8.2 running, with all mailboxes stored on the server. Understandably this is quite

DevX - Software Development Resource

The Advanced Find/Replace Add-In

This great add-in improves the standard Find and Replace dialog with all the functionality we’ve been looking for in all these years. First, when you perform a search you see