Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7174 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all,

I'm trying to run a script on a remotely hosted file (FMServer 7) by using the FileMaker's ActiveX functionality. I'm launching this from within a VBScript (Script.vbs). I'm open to using either native FileMaker authentication or external authentication.

I can get it to run locally but it can't find the file when its hosted.

Here's the pertinent section:

Set objFMfiles = objFM.Documents.Open("fmnet:/10.20.30.40/FileName.fp7","AccountName","Password")

Any idea where I'm going wrong?

Posted

How about using an opener file. Just use the vbscript to open the local opener file, which has a startup script that will open the remote file and close itself.

Dana

Posted

Yup, I could do that. In fact I was doing exactly that on v6 but the ActiveX route seems cleaner.

There is a note in the help section about not being able to OPEN remotely hosted files using ActiveX but strictly speaking, these files are already open.

Posted

I am just getting into v7, but I think this is a general situation, not just v7.

Your Document Open is probably trying to open the file using the File Sharing on the Network. In the process, it is attempting bypass the FileMaker Server.

If you are running the FM Server, I would suspect this to be the case. The Opener Script would be the answer.

This topic is 7174 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.