Thanks for all the help. I once I followed your advice I got the thread working, then found out that I needed to add another set of double quotes to my parameters string because it will literally looking for 'pstrFilePath' instead of the value of of string pstrFilePath...
My working code...
I no longer get epiliptic (sp?) seizure inducing command windows flashes (yay!), but my 'no process associated with this object' error remains...
I changed prcLprInfo.Filename to "notepad" and successfully opened notepad.exe while running the code, but still get the error and the prcLpr.close(...
I tried the following code and have 2 questions: 1) I have a command line window popup despite using a hidden window stype, how to I get this process to occur invisibly? 2) I get the error message below, am I forgetting something setting up my process? Thanks.
PrivateFunction...
Can you run a command line program from shell without writing a .bat file disk and calling the .bat file with the Shell( ) method?
I would like to create my command string and run it without having to write any temporary files to disk if at all possible. Also, I would like to capture the...
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.