Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I'm looking for some example code invoking FMP via Active X. I'm using Borland C++Builder, and have imported the FM Type LIB, which creates 3 objects - App, Document, and Documents. I've been able (by repeated trial and error) startup FMP via my application, and open an existing document. I have not been able to succesfully run a script within that opened document. Here is the section of relevant code:

WideString arg1(FileName), arg2("bullshit");

status=fmp_Documents->Open(&arg1, &arg2);

arg2="DummyScript";

fmp_Document->Connect();

fmp_Document->DoFMScript(&arg2);

Can someone point me to another site, or some boilerplate code invoking the obvious simple FileMaker functions?

Thanks in advance,

Alan in St. Louis

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