Jump to content

ActiveX con Visual Basic


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

Recommended Posts

  • Newbies

I don't know anything about VB and have to adapt a script to use it with Filemaker 7... following details found of different sources and adapting what I had from version 6 I get the following in VB:

Dim FMDocs As FMPRO70Lib.Documents

Dim FMDoc As FMPRO70Lib.Document

Dim FMApp As FMPRO70Lib.Application

Set FMApp = CreateObject("FMPRO70Lib.Application")

Set FMDocs = FMApp.Documents

Set FMDoc = FMDoc.Open("C:AcredSysfoto.fp7", "", "")

Somehow I get an error at the line of CreateObject. I have tried with

Set FMApp = CreateObject("FMPRO.Application") but it won't work either.

Link to comment
Share on other sites

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