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)...
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
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.