Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by andyjdavis

  1. andyjdavis

    zip files

    im looking for a way to read zip files from a C++ application, preferably without using a third party library. Windows ships with two dlls (LzExpand.dll and lz32.dll) that apparently give the ability to read compressed files but not zips. Thanks in advance.
  2. andyjdavis

    zip files

    Im looking for information on extracting the contents of a text file contained within a zip file. All I need to do is read the contents out, no modifications will be made so the simpler the better. Thanks in advance.
  3. andyjdavis

    Optimize Java

    Java can perform at speeds that should be adequate for almost any application. I have written several Java applets and applications in Java for which execution time was a major concern and was always able to get sufficient speed out of Java. With careful optimization your performance needs can...
  4. andyjdavis

    Optimize Java

    When you create an instance of an object it does effectively create an instance of every class from which it inherents. This makes it a little slower to instantiate than simply instantiating one large class. However, do not completely avoid inheritence because of speed. Correctness is...
  5. andyjdavis

    Destroying Objects

    Java wont reclaim memory until you run out of it. You can manually kick start the garbage collector using System.gc() from memory. Be warned that this may cause the system to grind to a halt for a few seconds so be careful when you call it. Threads are far more likely to cause the kind of...
  6. andyjdavis

    input problem

    I have noticed that using the method for checking for user input used in most example code, ie IF INKEY()=whatever, only allows for one key to be pressed at a time. Although the special keys seem to be excempt from this if you use IF LEFTKEY()=1 it is still anoying that only one alphanumeric...
  7. andyjdavis

    Total newbie dingbat question - getParameter

    Try the code below. I think the problem might be the placement of the <% %>. Its my understanding that blocks of code like and if else must be contained in one block. Im not sure if the sytax of the println is correct. There is a command which prints a line to the html document, you'll have...
  8. andyjdavis

    Accessing JSP from network

    Try giving the server a name in its network settings and using that in place of localhost. That might work.
  9. andyjdavis

    X file editor

    Anyone got any good suggestions as to where I can get a decent free editor for X files?
  10. andyjdavis

    DarkEdit problem

    Thanks, yeah I just needed to set the location of db in the options. For some reason the readme contains lots on version bug fixes etc but no installation instructions.
  11. andyjdavis

    DarkEdit problem

    I consider myself to be a reasonably clever person but i cannot, for the life of me, get darkEdit to compile in any form. If you have opened a dba file and you click compile it brings up a msg box saying &quot;Error running Core&quot;. I assume this means it cannot find darkbasic. Dark basic...
  12. andyjdavis

    Dynamic VRML with JSP?

    The output of a JSP is simple text regardless of its content. Have the JSP selectively include VRML code to suit your needs. The simplest example I can think of is when you want the VRML to contain one of two objects but not both. Use an if statement in the JSP and have two branches which...
  13. andyjdavis

    Unicast Remote Object woes

    I am using a server object within an RMI application. It extends java.rmi.server.UnicastRemoteObject. Its function is to remain memory, servicing RMU method calls, until a particular signal from the client indicates that the communication is complete at which point the object should destroy...
  14. andyjdavis

    Security on the net

    I am writing and an applet/servlet which will communicate data via the Internet. Can anyone point out any good sites or books that deal with security in this contex?. Most books etc deal with protecting yourself from maliciouscode but have little coverage of securing data transmissions etc...
  15. andyjdavis

    Printing Problems with - Crystal ver. 6

    I once had a similar problem with field headers printing while NO data was displayed despite data being present. This seemed to be caused by the number of boolean fields present. Replacing them with text fields solved the problem. Far from an ideal solution but it worked. If anyone knows...

Part and Inventory Search

Back
Top