The Latest

DevX - Software Development Resource

Equivalence Relationship in STL

Certain STL containers and algorithms require that you overload operator < for the class type they store as elements in order to sort and compare these elements. Note that STL

DevX - Software Development Resource

Convert Unix Dates to Readable Format

Unix systems keep dates in a single number format that represents the numberof seconds past January 1, 1970. January 1, 1970 is considered the EPOC and is the date that

DevX - Software Development Resource

ASP Number Formatting

Question: How do I format my numbers in the format ######, where a number of 123 would display as 000123? Answer: Concatenate a string of zeros to the left of

DevX - Software Development Resource

Changing Limits on Message Size

Question: How do I change the size limits of messages in a mailbox? Answer: You can’t really set a limit on the individual messages already in a mailbox, but you

DevX - Software Development Resource

New Line Character in ASP

Question: How do I define a new line character in ASP? Answer: In ASP (VBScript), use the constant vbCrLF to add line breaks in your string variables: strString = “Hello”

DevX - Software Development Resource

Reading Hotmail in Outlook

Question: Can I use Outlook 98 to read my hotmail messages like I can with Outlook Express? Answer: Not like you do with Outlook Express, no. With Outlook 2000, you

DevX - Software Development Resource

Viewing Resource in Public Folder

Question: I have set up conference rooms as mailboxes in Outlook 2000, which is working well but I have a few questions: Currently, we have to schedule the room as

DevX - Software Development Resource

Delete Files from SQL Server Local Machine

Ever wanted to delete files from the local machine that your SQL Server database is running? You can do it using the extended stored procedure xp_cmdshell like this: EXEC master..xp_cmdshell

DevX - Software Development Resource

Workaround for SendKeys

Sendkeys “{TAB}” can lockup the keyboard in Windows 2000. Here’s how toexecute a tab in the keydown event using the Win32 API to get around thisWindows 2000 bug: Private Sub

DevX - Software Development Resource

Synchronize Public Folders

Question: How do I set up offline public folders that are synchronized on a laptop that runs Outlook 98 connecting to Exchange 5.5? Answer: Have the users who want to

DevX - Software Development Resource

Maintenance of Sent Item Folder

Question: Can I run a program/process/rule to prune the sent items and/or deleted items folder for users? Answer: You could use either ExMerge or Mailbox Manager to do that. ExMerge

DevX - Software Development Resource

Palm POSE Not Opening

Question: Why do I get the error message “Could not create a new session because the file wasn’t found” when I try to start a new emulator session? Answer: Be

DevX - Software Development Resource

Identifying the WAP Browser

Question: How do I know (with ASP) if the browser is a phone or a personal digital assistant? Answer: HTTP_USER_AGENT is really the only way that we have to identify

DevX - Software Development Resource

WML Permissions Settings

Question: I’m using the Nokia WAP toolkit in conjunction with MS Interdev to write dynamically generated WML. I’ve configured the IIS server to handle the new MIME types, but each

DevX - Software Development Resource

Removing Exchange

Question: How do I totally remove Exchange 5.5 from Windows 2000 Advance Server? Answer: Go to Start | Settings | Control Panel | Add/Remove Programs | Microsoft Exchange Server. Have

DevX - Software Development Resource

DNS Failure

Question: Why do I get DNS failure every time I go to a workstation and try to send out email through Outlook 2000? Answer: You need to go into the

DevX - Software Development Resource

Forward Declaring Classes

Question: I wrote: class Adjective { Sentence adjective_sentence; }; class Noun { Adjective a; }; class NounPhrase { Noun n; }; class Sentence { NounPhrase np; }; Of course it

DevX - Software Development Resource

Selecting Data from Views with Aliases

Question: If I have created a view from two tables that happen to have a similar column name (e.g., name) : CREATE VIEW team AS SELECT p.name, p.age, t.name, t.city

DevX - Software Development Resource

Autoforward Problem

Question: I have given the autoforward rule from Inbox Assistance to an internal ID (Say X) as well as two outside ID’s (Hotmail & usa.net). But the forwarding is not

DevX - Software Development Resource

AutoAttachment in Outlook 97

Question: Does AutoAttachment work only with certain versions of Outlook?I have Outlook 97 and it doesn’t have Tools/Macro. :-( Answer: Yes, the VBA capabilities were added in Outlook 2000. Sorry.

DevX - Software Development Resource

Sending Messages via Internet Account

Question: I have Outlook 2000 set up to talk to an Exchange Server, and have added my POP3 email account to Outlook’s profile. How can I compose a new message

DevX - Software Development Resource

Shut Down Exchange Server Automatically

Question: Can I automatically suspend the Exchange Server (i.e., programming it to shut down) so that I can take a backup? I am using ARCserver to back up the server.

DevX - Software Development Resource

Deleting Year-old Calendar Items

Question: How can I delete calendar items that are a year old? Answer: I assume you’re looking to delete calendar items older than a year. The easiest way to do

DevX - Software Development Resource

WML and HTML Forms

Question: How do I pass text that was entered into a text box on a WAP page/card to an ASP page? Answer: Be sure that you are declaring and passing

DevX - Software Development Resource

Setting Up Indivdidual Addresses

Question: I am running an ISP. Many of our clients want Web hosting along with their own email addresses. When setting up Exchange on one server that is hosting multiple