Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Open Hosted File Using ActiveX (VBScript)

Featured Replies

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?

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

  • Author

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.

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.