Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi,

I am using FMPro Dev 7, on Win XP and I am trying to write VBScript which will start FMScript in my file Tmob.fp7 ... but it does not work :

Any help?

Here is a VBScript:

Set objFM = CreateObject ("FMPRO.Application")

objFM.Visible = True

Set objFMfiles = objFM.Documents.Open("c:Tmob.fp7","")

objFMfiles.DoFMScript ("Novi")

Thx in advance

VJ

  • 2 months later...
Posted

objFM.Documents.Open("c:Tmob.fp7","")

This line is incorrect, it's the syntax for FM 5.5/6. FM7 requires 3 parameters here:

- name of the file

- account name

- password

FM 5.5/6 needed only file name and password.

  • 1 month later...
Posted

I tried the same thing that was listed above and it doesn't give me any errors. If I change the line to

08-28-05 10:34 AM - Post#173357

Hi,

I am using FMPro Dev 7, on Win XP and I am trying to write VBScript which will start FMScript in my file Tmob.fp7 ... but it does not work

Set objFM = CreateObject ("FMPRO.Application")

objFM.Visible = True

Set objFMfiles = objFM.Documents.Open("c:Tmob.fp7","Admin","")

It gives me a VB Error saying that the function has the incorrect number or parameters.

Of course, maybe I'm getting an issue by having FM5, FM7 and FM8 installed at the same time?

This topic is 6955 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.