August 28, 200520 yr 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
November 12, 200520 yr 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.
December 21, 200520 yr 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?
Create an account or sign in to comment