Yep, the shell command for VB apparently only runs programs, not associated files.
Here's the solution though:
Declare this at top of form, or in .bas module:
Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As...
Congrats on finding it!
Now all you need to do is get it to shell & run.
btw: here's what I was writing when your new reply showed up.
-----
Pull up a CMD prompt, type SET. The ALLUSERSPROFILE environment var points to the folder where you can find Application Data\Symantec\PCAnywhere. The...
What is?
OS & Service Pack
PCA Version
User Level within OS (admin, basic user, whatever)
Did you install Host & Remote, or just one of the two? Have you tried dragging a BHF entry to the desktop from PCA? (or right click the BHF & copy/paste to desktop) (or paste as shortcut to see where it...
To find your test.bhf file, try clicking on the desktop and hitting F3. Search for *.bhf on local hard drives. It has to be there someplace. If that still doesn't find it, have you looked for TEST*.*? Maybe the file name was wrong when you saved it.
As for starting a host file, I don't remember...
If you want to avoid having to sign on to the remote host, add the Username/Password info the the .CHF properties. You can use the WINAWSVR.BEHOSTDATAMANAGER and add the info programatically, or you can edit the properties of the .CHF right in PCA.
As for the connection window (with host...
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.