devxlogo

December 16, 1999

Display Date and Time of File Upload

Question: How can I display the date and time a file was uploaded to my Web server using ASP? Answer: If you can access the file from an ASP page,

Cross Platform Compilers

Question: Is there a C++ compiler that I can use to go cross-platform with development?I need to develop the same DLLs for AS400, Sun, and Windows. Answer: I’m not sure

Cannot Call API Functions From ASP

Question: Can I use Windows API calls in ASP? If so, do I have to declare functions? Answer: Unfortunately, at this time you cannot call API functions from ASP. The

Overloading istream operator >> for bool

Question: I am trying to overload the istream operator >> to work with type “bool”. From my point of view the code looks okay, except the VC++ 6.0 compiler tells

Updating a VB6 DLL on the Web Server

Question: We have Internet Information Server (IIS) 4.0 running Active Server Pages (ASP) with a Visual Basic 6.0 DLL serving data content to the ASP pages. The problem lies when

Open ODBC Connection Without Hardcoding Password

Question: In my ASP page, I open an ODBC connection with: Set Conn = Server.CreateObject(“ADODB.Connection”)Conn.CommandTimeout = 600Conn.open “Database_name”,”Username”,”password”. How can I avoid hardcoding the password in the ASP source? Answer:

Pointer Arithmetic

Question: I am a programmer beginning to learn C++. I wrote this chunk of code: /////////////////////////////////////////////////////////////// Get to do some pointer arithmetic!/////////////////////////////////////////////////////////////#include #include const char NL = ‘ ‘;const char