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 wOOdy-Soft 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 moreCA

  1. moreCA

    Focus no longer on the correct form due to message box.

    OK button is on the message box that displays when you press the B TEST button. Thanks for checking out my thread, CA
  2. moreCA

    Focus no longer on the correct form due to message box.

    Create form1 and add frame1, command1 Command1.Caption = "WinSetParent" form1 code: Private Sub Command1_Click() Load Form2 End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Unload Form2 End Sub Create form2 and add frame2, command1(0), command1(1)...
  3. moreCA

    Focus no longer on the correct form due to message box.

    FYI: For anyone checking out this thread...I tested out zemp's suggestion of creating my own forms to act as message boxes. Whether modal or not it doesn't seem to affect it either way. Thanks
  4. moreCA

    Focus no longer on the correct form due to message box.

    Although I appreciate your suggestion, the msgbox function is tooo easy, plus there are too many of them currently in my code to change. I'm not even sure that that would solve it, being that I would want to use a modal message box form. Anyway thanks for the suggestion. Any other...
  5. moreCA

    Focus no longer on the correct form due to message box.

    I am trying to implement hot key access to my command buttons that are located within a frame. The frame is physically located on form2. Form1 is the only form showing. It contains frame1. I use WinSetParent to position frame2 within frame1. Seems that whenever a messagebox is displayed...
  6. moreCA

    Too many files in a directory

    I was able to resolve this issue.......
  7. moreCA

    Too many files in a directory

    Due to a script not doing its job I have run into the problem where I have over 40,000 files in a directory. Due to this I am unable to copy or mv anything over. Has any ever experienced this problem and if so how have you been able to resolve it w/o just getting rid of the directory the files...
  8. moreCA

    Cut question

    I have a file name that I need to cut the first 3 letters of it an put into a variable so I can compare it back to that filename and then do some manipulation from there. I am having issues with the cut command for that. For example: fname=paycheck42.txt I need newname to be pay Then I want...
  9. moreCA

    Case Statement Help

    I answered my own question.....thank you...
  10. moreCA

    Case Statement Help

    I have a case statement in place where at the beginning of the month if the file begins with the day "01" all of the files should revert to the previous day. For example....today is 050201. The files should then read 050131. For the first file, it is coming out 050131. The next file is...
  11. moreCA

    Shortcut to batch file won't honor the ? to allow me to key parameters

    You are correct eyec about accepting input in batch files with the %, although the original question is talking about the ? in the shortcut to the batch file. The ? is supposed to tell the shortcut to give a input box for the user to key in parameters. Guys...I'm a VB programmer so I have the...
  12. moreCA

    Shortcut to batch file won't honor the ? to allow me to key parameters

    Using WinXP Pro. I have a shortcut to a DOS batch file that I need to key in some parameters. A question mark at the end of the target command line should give me a parameter box and wait for me to enter them, but it does not. I used a shortcut in this way in Win98 and it never gave any...
  13. moreCA

    String Question

    I have figured out my problem.....thank you
  14. moreCA

    String Question

    This is the code: filename="${f}_${YEAR}${MONTH}${OLDDAY}.dly" Is is going past the underscore and only using the . Thank you.....
  15. moreCA

    String Question

    Is it possible to have two strings in a variable? As in ${f}_${year}${month}${day}.dly. My question is regarding the underscore and the . Can you have both in this and if so how? Right now when I have both, it negates the underscore and only uses the . Any help would be greatly...

Part and Inventory Search

Back
Top