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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Donald

    getting environment variables

    I found out. I can exec(cmd /c set) and capture the output. Use env for unix.
  2. Donald

    read a uinx link with java

    I need to read a unix link to find out what directory it's pointing to from a java app. Any ideas? thanks
  3. Donald

    Calling an executable

    here's an example. it prints the name of your computer. put any .exe into "cmd" but things like dir and set don't seem to work: try{ String cmd = "hostname"; Process pr = Runtime.getRuntime().exec(cmd); InputStream is = pr.getInputStream()...
  4. Donald

    getting environment variables

    System.getenv() is deprecated. How can I get at environment variables that don't appear on getProperties()?
  5. Donald

    how to produce the name of a machine (env doesn't help)

    I need to find the name of a machine programatically, but on hp-ux, there is no reference to it. Is there some secret hp method to get a machine to cough up it's name that doesn't use env?
  6. Donald

    open a self-extracting zip file AND provide the password from app

    Thanks for the reply. Hmm. The thing is that once I execute the zipped.exe file, it asks for the password. So if the first line of the batch file is: zipped.exe, it will never get to the second line. It will just sit and wait for the password at line 1.
  7. Donald

    open self-extracting zip AND provide the password

    Thanks for your reply. The execution of the self-extracting zip file is not the problem. The password cannot be fed to the file. I haven't been able to find an argument for it (ie. selfExtractFile.zip -pw=password) and I don't know how to communicate to the process once it's started.
  8. Donald

    open a self-extracting zip file AND provide the password from app

    Hi all, I'm writing an automation that includes unzipping a self-excecutable zip file which has password protection. I need to start the decompression and then feed in the password. I need to use java or perl to do this. The only things I've found so far use tcl/tk or assembler (for Pet's...
  9. Donald

    open self-extracting zip AND provide the password

    Hi all, I'm writing an automation that includes unzipping a self-excecutable zip file which has password protection. I need to start the decompression and then feed in the password. I need to use java or perl to do this. The only things I've found so far use tcl/tk or assembler (for Pet's...
  10. Donald

    Checking for the existence of other instances a project

    I am compiling for win 95 but I'm having trouble using WinMain. Where do I put it? How is it implemented? So far, it's been quietly ignored by the compiler.<br> <br> D
  11. Donald

    Checking for the existence of other instances a project

    How can I make sure that a c++ program is the only instance (of itself) running on the machine?<br> <br> thanks<br> <br> D
  12. Donald

    C++: Detecting mouse/keyb activity from off form-ie screensaver

    Thanks for the suggestion. I decided to use a small screensaver app to run my app, or even run the whole thing as a screensaver. Not secure but security isn't important for this thingy.<br> <br> thanks again<br> D
  13. Donald

    Issuing Novell netware commands from within a C++ program.

    Look up the shell command and see if that helps. Note that excecution carries on without waiting for it to terminate.<br> <br> Good Luck<br> <br> D
  14. Donald

    Basketball program

    This little box may make this hard to read but the code works. I used a form instead of cout...<br> Let me know how it goes.<br> <br> D<br> <br> {<br> int s;<br> s=StrToInt(Form1-&gt;txtScore-&gt;Text);<br> int a,b,c;<br> a= s;<br> b= s; //should be b=s...
  15. Donald

    C++: Detecting mouse/keyb activity from off form-ie screensaver

    I'm running some login forms that need to restart in case a user walks away from a terminal. Any ideas about detecting inactivity when the application is minimized or hidden?<br> <br> I'm flummoxed.<br> <br> D

Part and Inventory Search

Back
Top