The Latest

DevX

Seeing Exchange Admin Permissions

Question: We use a GG in the NT domain to assign permissions to Exchange Admin. I have added a backup person to this group, thinking that they would then have

DevX

Providing a Much Nicer 404 Error

Question: A user on my site clicks to retrieve a URL outside of my site, but the link is dead and the user receives a 404 error. Do you know

DevX

Outlook Not Starting

Question: One machine on our NT 4 network (using Exchange 5.5 and Outlook 2000) cannot start Outlook. The error message is always along the lines of “Network Problems are preventing

DevX

Displaying Quotations from Text Files

Question: How do I return only the first four lines (a quotation) of a txt-file to my asp-file? Answer: Use the FileSystem Object to open the text file and then

DevX

Proper Casing of a Word

Question: How do I pick out the first letter in a word and convert it to an uppercase? Answer: Use this code: strWord = UCase(Left(strWord,1)) & Mid(strWord,2) This will convert

DevX

Writing to File from Several Functions.

Question: The code below creates a file, Basket.doc, in the current directory. I am using a compiler with a component I would like to place in fWrite() to let me

DevX

Hexadecimal Array

Question: I am trying to create an array of 256 hexidecimal values but am havingsome problems. How do I create a valid array using hexadecimals? Answer: Whether you use hexadecimal

DevX

Problem with Pointer-to-Member in Templates

Question: I am trying to write a template that somewhat resembles how an inner class works in Java: template class Callback{public: Callback(T& t) : parent(t) { } void Execute() {

DevX

Protected Constructors

Question: Can a constructor in Java be declared as protected? Answer: Yes, Java constructors can be declared as protected. You will usually declare protected constructors when you do not intend

DevX

Views in SQL

Question: I have a text field in a table that returns the entire field when queried. As soon as I create a view in SQL Enterprise Manager though, the text

DevX

Mouse movement control

Question: Can you tell me if there’s a way that I can force the mouse to move to a certain position on the screen, e.g. 20 pixels down, 15 pixels

DevX

Informix’s Future

Question: What is the future of Informix with Oracle and others seeming to pull so far ahead? Answer: Granted, I am a dyed-in-the-wool Informix bigot, but here’s my take. Disclosure:

DevX

Archiving Public Folders

Question: How are public folders archived? I have not been able to find a way to set the archival schedule on a public folder. Answer: Public folders aren’t archived, per

DevX

Sizeof Structure as Defined, Not Allocated

Question: Given: pre>typedef struct{ byte a; byte b; byte c; byte d; byte e;} LETTERS; sizeof(LETTERS) returns eight bytes because of padding by the compiler for alignment.How can I determine

DevX

Static Memory or Heap?

Question: When I creating a class, I declare several large arrays, and some integers within one ofof class function members.Within main, I call new, making the object declared on the

DevX

MTS Objects Containing ADO

Question: I have an MTS object that contains an ADO connection object which I use in an ASP page. I look at the MTS console and confirm that the package

DevX

Paranoid and Proud of It: Part I

t is a natural tendency?and normally a very healthy attitude?to look for the best in any situation, to be optimistic about opportunities and life in general. However, when it comes

DevX

New PL/SQL Features in Oracle 8i: Part I

L/SQL is Oracle’s procedural extension to industry-standard SQL. Prior to Oracle 8i, PL/SQL was in a sort of static condition. It has not been changed much since Oracle 7. I

DevX

Jabber: Instant Messaging at Its Best

nstant messaging services are really just turbocharged e-mail systems. While the protocols, clients, and servers are very different, the result is very similar to an on-the-fly exchange of short e-mail

DevX

The MB BrowseForFolder Control

If you want to show the “Browse for Folder” dialog in your own application, this is the tool for you. It enables you to change any dialog’s property, such as

DevX

Always use “$-typed” string functions

VB official documentation seems to encourage you to use “$-less” string functions, e.g. Left, LTrim or UCase, instead of their time-honored Left$, LTrim$ and UCase$ counterparts. If you do so,

DevX

LenB has changed from VB5 to VB6

Visual Basic stores UDTs in unpacked format, that is it alignes all UDT elements to the double word (except that Integers and Boolean are aligned to the word, and byte

DevX

Conversion to proper case

When dealing with proper names, you may want to capitalize the first letter of each word, e.g. convert “john smith” into “John Smith”. Under VB3 you had to write a

DevX

Error Handling and Corrections

The following is an example to handle errors in VB. It combines “On ErrorGoTo” and “On Error Resume Next” to handle all errors (minor orserious ones), as well as attempting

DevX

How to See If Data is Numeric or Non-numeric

In JavaScript you can use isNaN to check if the given data is numeric ornon-numeric.Syntax : isNaN(testdata)ReturnValue :True if the testdata is non-numeric.False if the testdata is numeric.Here’s an example: