How long does it take for the command (generator) to complete? If the shell command is still running then the .txt file won't be created until the command completes and thus would not be visible to the next line of code.
Dave, after reading through your messages, it sounds like the .exe file you are running is not running properly and therefore is not creating the .txt file.
I have a couple of questions
1. What is in frmMain.txtMachineName immediately before you execute the shell command?
2. if you capture...
Terry -
Have you tried opening each form in notepad. You will see at the top any references the form uses other than std controls included with the VB runtimme libraries. If you have a lot of forms you could write a quick app that would read all .frm files and consolidate the info into some...
No such thing as a 'simple question'
In VB Development environment,
CLick Project/Components
Scroll til you see 'Microsoft RichTextbox COntrol 6.0',
check it and it will add rtb control to your toolbox.
Then add it to a form like the standard textbox
Don
CTRL-A works in the richtextbox. I don't know if if is a 'feature' for it to not work in the standard textbox, but I can't get it to work.
I'm sure you could trap the CTRL-A char. sequence and build the code to select all. Let me know if this is the route you want to take and I will see if I...
Jo,
Also check out the Visual Studio Installer. It has worked for me in the past although I still prefer Installshield.
The VS Installer is included with VB (not sure which versions) and can be downloaded from MS at:
http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/download.aspx
Hope...
Matt/Chip
I too typically use the DTPicker with checkbox. However, when it is 'disabled' using the checkbox, the default date is still in there (ie if I create a dtpicker today, today's date is still there). Am I missing something or is there a way to make it blank when disabled?
Thanks,
Don
Depending on your database - try:
delete from staff where age = (select min (age) from staff)
or
delete from staff where age = (select minimum(age) from staff)
This will deleta ALL records with the minimum age
What database are you using?
Is your age field numerical - if it is you will only be abe to delete ALL records that have that age, unless you have another field that delineates one age from another
Thanks!!
I also found this on www.allapi.net - a great site I might add...
Pay particular attention to the bRevert parameter - a couple of simple lines...
Dim retVal As Long
retVal = GetSystemMenu(frm.hwnd, 1)
and the menu is set back to default which worked to solve my problem.
I...
rorubin - very impressive!
I there a way to enable the 'x' once it has been disabled?
I have some code running that I don't want the user to be able to 'close' out of while it's running, however I would like them to be able to close using the 'x' after my code finishes.
THanks for your help!!
WOW - great discussion
I have had the pleasure? of using the PDW and Installshield in most of my projects. I by far prefer Installshield when my employer would spring for the expense. I have had verrrry bad experiences with the PDW and had heard of the Visual Studio Installer and until now...
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.