devxlogo

Tip Bank

Display a ‘Loading…’ Message in ASP

Question: How can I show a ‘Loading…’ message till my ASP page loads? Answer: Use the following code to create a “pgLoading.asp” page. Pass to it as a parameter the

Center Your Frames/Dialogs

You can find many tips on how to center a window within the screen, but howabout centering a window in its parent container? The following code showsyou how to do

Detect if Swing is Installed

Sometimes it is useful to know if Swing is installed in a Java environmentor not, especially if you are dealing with browsers. You can simply try tocreate a Swing component,

Who’s Who in Java Commerce

Java WalletThe Java Wallet is a family of Java products designed to enablesecure electronic commerce operations. It incorporates the Java CommerceClient, Commerce JavaBeans components, the Gateway Security Model, and JavaCommerce

Mathmatical Functions: Decimals

Question: How can I read only from one side of the decimal in VB6? I need to get .4286 from a value of 22.4286. I also need to know how

IIS – Manipulating the Metabase

Question: I have been trying to change settings for the IIS server in order that I can set the flag to allow an out-of-process Active X EXE Server to be

Templates

Question: I’m porting a UNIX app to NT; one of the class hierarchies includes something like this: template class base{ // stuff};template class derived : public base, public base{ //

Const & Efficiency

Question: Can you tell me which of these implementations is more efficient and why, assumming this function cannot be inlined and is called often? First option: int even( int &val){if