Jump to content
Server Maintenance This Week. ×

VBScript


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

Recommended Posts

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

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...

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?

Link to comment
Share on other sites

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