Visual Interdev and ODBC errors
Question: I developed a very tiny project in Visual Interdev: * Made a connection in de 32-bit ODBC (Control panel) with the Access97 Database and DSN name. * Add data
Question: I developed a very tiny project in Visual Interdev: * Made a connection in de 32-bit ODBC (Control panel) with the Access97 Database and DSN name. * Add data
Question: Is there a way to ‘easily’ convert betweenHexadecimal and decimal with VB 5.0 Profesional.(ie. Without doing the long conversion from hex to ascii, then using the conversion factor, then
Question: How can I make shell level calls from a java program? For example, I want to execute the “ls -al” command from java and return its values back to
Question: How can we set icon images for the dialogs? Answer: There is currently (as of Java 1.1 and 1.2beta3) no way to set icon images for dialogs. On most
Question: A variable retrieves its contents in the byte form, since I require to convert into the string format . Which is the method used in java or rather how
Question: If i have a code like this in the while loop while (true){ java.util.date ldt_date = new java.util.Date() …} Will the ldt_date variable be initialized with new location in
Question: I want to make my Java program pause for a specified amount of time, but I don’t want to use a threading implementation. How can I do this? Answer:
Question: How can I convert an integer ascii representationof a number to its character equivalent in astring form. For example A= 72 What procedure will take in int 72 and
Question: I have a form that has three popup menus on it (among other things), and a hidden text box. A value is placed in the hidden text field based
It is bad programming practice to exit a subroutine or function at any point other than its end. If you want to bail out of a routine, and do not
When issuing SQL statements against SQL Server, consider fully equating all of your table or procedure names to include the database name, especially if you are using an existing data
Question: We have installed a Windows NT 4.0 server with remote access server service installed. I am able to connect to the NT server from home using a dial-up connection
Question: Is there a function that will format a string for number or, say, $$ display? For example: format 1000000 to 1,000,000? Answer: No, the C standard has no such
Question: I need to test for a certain char in a char array.For example, in BASIC I would have: if mid$(string,1,1) = “`” then blah blah blah…. How would I
Question: I would like to know how to program a Custom Sort procedure on a ListView in Borland’s C++ Builder. Answer: Normally, the ListView control will sort items automatically for
Question: I have seen that in many of the header files in C++ the return type is _Cdecl. For example, in complex.h, we have the following: friend complex _Cdecl acos(complex&)
Question: I have pseudocode for a quick sort. I know how to implement it in Pascal. Is there simple code for quick sort in C++? How can I find other
Question: How can I code a Visual C++ program that will execute a DOS bat file? Or any other executable file, for that matter? Answer: Use the system() function. This
Question: I know this may sound like a dorky question, but can you explain to me?as if I were a little kid?what are functions, and why and how are parameters
Question: I am having lots of trouble calling a class member function pointer that is declared within the same class. So far the following compiles: class testClass {public: void (testClass::*ptr)();
Question: What function gives the actual length of an integer or long integer? For instance, 8 is 1 long, 12345 is 5 long, etc. Answer: Use the sizeof() operator to
Question: What are the performance tradeoffs of using C++ instead of C? Are there any ways of overcoming these tradeoffs? Answer: In general, C++ is every bit as efficient as
Question: I have to read in integers and be able to add them to the front of the array. How do I do this? Answer: You can either use the
Question: We use NT 4 WS as the client to our PeopleSoft (Oracle) application, and we need to pick off the information contained on the panel fields. We can easily
Question: How do I reboot (with an option to force) inside of Win NT? I know about the ExitWindowsEx API call, which works fine in Windows 95, but unfortunately this
Question: I am using the GetFileVersionInfoSize, GetFileVersionInfo, and VerQueryValue APIs to get the file version of third-party applications. In all cases, GetFileVersionInfoSize returns a large number, but when I query
Question: Please kindly advise how to output to a PC’s I/O port address: &H158 using Visual C++ under NT 40. For your information, we used to use outp() using C
Question: If I ftp to an AS400, I can run a program on it by typing quote rcmd call . Is it possible for me to do the same thing
Question: We are running a SCADA package on an NT 3.51 machine at a mine. Since we often have power failures, the PC reboots itself and then requires the operator
Question: I have a VB app that was running on Windows 95 and using the scheduler included with Microsoft Plus. All was well. Now our company is switching to an