Launching pcAnywhere from Inside Access XP

Capilano

Registered User.
Local time
Today, 07:59
Joined
Feb 19, 2001
Messages
63
I have successfully launched an external application called pcAnywhere from within Access XP. I simply use the 'Shell' Function:

Dim X

X = Shell("C:\pcAnywhere.exe",1)

This works fine. My problem is that when I try to launch/start one of the Remote objects inside, I get a 'File not Found' error message. These Remote Objects are themselves files with a .CHF extention and reside in the main pcAnywhere folder. They can be directly launched/activated by 'double-clicking' on them using the Windows Explorer.

The Windows Explorer verifies that the file exists. I have verified the syntax to launch the Remote Object (.CHF file) I have even launched pcAnwhere first and then tried to launch the Remote Object in the same statement:

Shell("C:\pcAnyhere.exe C:\FileName.CHF",1)

but this only launched pcAnywhere... not the Remote Object. I have even used the DOS syntax, but it repeatedly comes up that the file is not found.

Aside from the Shell function, is their any other syntax which would directly launch this FileName.CHF file?

Any suggestions.

Pat
 
Last edited:
Big Hearty Thanks

Thanks very much Travis...

I used the sample code and the Remote Object opened perfectly. I just had to pass the file name correctly and it worked like a charm.

Thanks once again

Pat
 

Users who are viewing this thread

Back
Top Bottom