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 strongm 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: *

  • Users: pds
  • Order by date
  1. pds

    Self-containing an application

    My app runs the Shell function quite a few times and requires a number of files that are essential for the app's calculations. In Shell, I give the app the specific path to each file. RetVal = Shell("C:\program files\RequiredFile.exe", 0) But I want to be able to distribute this...
  2. pds

    Creating a Cancel Button

    I do have the cancel property set to True. I have set the Cancel button's click event to Unload the form, while the OK button's click event is to .hide the form. The textbox is initially blank. I type "blah", hit OK. Load the form, then I delete "blah" and type in its...
  3. pds

    Creating a Cancel Button

    I have two forms, a main one and a sub one. You click a button on the main to launch the sub. Now, on the sub is a textbox and two command buttons, OK and Cancel. When I type "blah" into the textbox and hit OK, the sub form closes. If I launch it again, the textbox displays...
  4. pds

    Shell problems

    JohnYingling: I've been trying to use your code. I put it into a bas module that's in the same project group as the form I'm using, and I've typed in the command just as your code says: --------------------------------------- Call ShellAndWait("C:\foo\bar.exe", 0)...
  5. pds

    Shell problems

    Hi, I've got a VB5 program that has a number of Shell functions that run a DOS program. Originally, I had problems with it because, as you probably know, the statements following the shell function are executed whether the shell function completed its calculations or not. As a result, I...
  6. pds

    Pausing VB

    A vb program starts. It runs through its calculations, and sometime at a certain arbitrary point the program pauses for a few seconds, say 2.5, and then continues until it finishes. Is there a way to do this?
  7. pds

    Select Case, reading lines in a document

    Thanks for your help, guys! pds
  8. pds

    Select Case, reading lines in a document

    I'm reading lines in a text file and using the values. I am reading one value on one line, and two values on another line. I'm a little confused on how the code should look. Should it look like this? ------------------------------------------------------------ Select Case LineNumber...
  9. pds

    VB Running Other Programs

    Hello, I'm new at coding, but in less than 3 weeks I converted a QuickBasic program to Visual Basic 5. So I guess I have the hang of it. Question: Is there a way to run a VB program, then have a command in the program that tells it to execute a completely different program, and then use the...

Part and Inventory Search

Back
Top