Jump to content
Sign in to follow this  
MSPJ

Using VB or VBS to interact w runtime

Recommended Posts

Hi - I've seen several topics related to this, but none quite answered my questions - hoping someone won't mind taking the time.

I have a runtime that will be distributed protected by Software Passport (armadillo). However, I'd like a way to make sure someone didn't just re-create the runtime from the database file.

The way to do this seems to be to check for environment strings set by Software passport. These can be retrieved by some simple basic code. The question then is now to a) run this simple code from a FM Runtime, and :B trigger a script in the runtime depending on whether the correct environment strings are found.

It sounds like I can use the Send Events command to run the compiled basic program, but it sounds like I may not be able to run a script from an external basic program because of the runtime limitations. Is that correct? If so, can anyone suggest a way I could communicate between this environment-checking app and the FM runtime? Maybe by creating some kind of file dependent on the result? But then how do I check for the existence of that file from the runtime?

There must be a way to do this, but I can't quite get my way there.

Thanks much,

Michael

Share this post


Link to post
Share on other sites

:B trigger a script in the runtime depending on whether the correct environment strings are found.

Yeah, not going to happen. The FileMaker runtime doesn't support ActiveX so there's no way to interact with it through VBScript.

On a different note, you could either a) Take a look at this plugin: www.grokittools.com which lets you execute vbscript directly from FM and get the result back (fairly cheap too)...

Or, you can use import to check the existance and contents of your file...

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.