AWT Thread Interaction
Question: I have two threads in an application. Thread A displays a form andallows the user to interact with it, thread B executes a loop whichcontinually retrieves data and updates
Question: I have two threads in an application. Thread A displays a form andallows the user to interact with it, thread B executes a loop whichcontinually retrieves data and updates
Question: How do I right align numbers in a textfield? Answer: This is yet another example of why the Swing classes should be used inlieu of the AWT classes. Swing
Question: I am building a prototype but am trying to make the code as reuseableas possible. To test the prototype, I need to simulate a ResultSetbeing returned from a database.
Question: While trying to port some C code to a C++ implementation, I ran into this problem. The module this came out of was designed to “automate data handling used
Question: I need to know what languages are used in the implementation and programming of Windows 95 et al. (Windows 98, Windows NT, and Windows 2000). Any help or referrals
Question: How do I make an alert box pop up 10 seconds after the page loads? Answer: You can display an alert a certain length of time after the page
Question: If I use my mouse to highlight some text (it may not be in the nor in the ) displayed in the browser, and then click on any button
Question: We have someone using PPTP to connect to our Exchange server. He is able to use the intranet without problems. He can even get into Outlook, but the troubles
Question: Why is it necessary to typecast the return value of malloc() but not for the new operator? This question has been asked of many C++ experts but no one
Question: I need to remove the cc:Mail connector. How do I do this? Answer: Though it would seem intuitive to select the connector and click Delete but that actually won’t
Question: Because my work and home computers were accidentally set to different time zones when I imported Calendar info from one system to the other, I ended up with multiple
Question: I have a user who wants me to create a dynamic search view where the data retrieved is effective within the last six months using the system date. Is
Question: Is there a better way to scope constant values within a class other than by using “enum”? class Foo {public: enum { valueOne = 1, valueTwo = 2 }
Question: If I include a .js file using the src attribute of a script tag and then I need to change the content of the .js file (perhaps to correct
Question: How can I develop a report such that the user can choose what fields of a (single) table should be retrieved and printed? For example, a customer table with
Question: I am running Microsoft Exchange 5.5 Server with Microsoft Outlook 2000 as client software. For my remote users, they are using the offline folders. Every time a user dials
Question: How do you detect alphabetic data being entered into an integer field from a cin statement? Answer: The easiest way to do that is by having cin read a
Question: I have a series of strings that I wish to store in the program directory. I want to save them all to the same file and be able to
Question: Is it possible to keep someone from downloading an image from my Web site? Answer: It’s certainly possible to secure some of the files on your Web site. The
Question: I am currently running Informix Dynamic Server 2000 version 9.20 TC1 on an NT server, Service Pack 6a. I have existing Visual Basic 5 applications that are using ADO
Question: I need some help with the DATETIME data type conversion. I have an Informix database running in a UNIX environment and I need to insert the system hour into
Question: I would like to prevent users from deleting e-mail in Outlook 97 on a Windows 95 or Windows NT workstation in combination with Exchange Server on an NT server.
Question: How can I get the source code from EXE files? Does it matter if they are read-only? Answer: This question is asked very frequently. However, the answer is always
Question: What does the modulus (%) operator do? Answer: The modulus operator returns the remainder of a division operation. For example, 5%2 equals 1 because dividing 5 by 2 gives
Question: What is the proper method(s) to delete a column from a table or expand the size of a column in a table? Adding is easy. Deleting and changing obviously
Question: We have a requirement to send a report (a datawindow) to the users/vendors through e-mail. Can I send the Web page with the .psr file so that the user
Question: I’m trying to write a program that has a pointer to a private member function of a class. A public member function calls some of the private functions by
Question: What is a segmentation fault? I get it when I try to output an integer. (It’s a very basic program: it reads in an integer and spits it back
Question: I have IDS 7.31.UC2A and I want to register Informix OLE DB Provider on this database server. I need the %INFORMIXDIR%etccoledbp.sql script for running it against the sysmaster. Can
Question: I have encountered a problem as follows: void foo(const int& var){ foo2(var);}void foo2(int& var)… So what I did was void foo(const int& var){ foo2((int&)var); ^^^^^^} and it compiled *_*