Jump to content
Server Maintenance This Week. ×

Retrieve data from VBS?


El_Pablo

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

Recommended Posts

No directly, no. You can run a script through so you can prepare a file to be imported and then run a script that will import your file...

If FMI updated the FM activeX model to allow passing a parameter to a script then we would be so much closer...

Link to comment
Share on other sites

  • 1 month later...

Keep in mind also, you can get data back into FM through the clipboard, I've used this mostly from DOS but it works from VBS also. You can use either the IE method, or any one of numerous ActiveX's for this purpose.

If the VBScript outputs to a file, you can also use CLIP.EXE to get the file into the clipboard.

Link to comment
Share on other sites

True, but using the clipboard is considered bad programming in every environment since it destroys whatever the user may have on their clipboard. You can get around that by going to extra lengths to save and restore the clipboard but the extra code is not worth it usually.

Using the import mechanism is a lot more reliable and allows for better error trapping.

Link to comment
Share on other sites

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