Jump to content

Using the Web Viewer as a vehicle to return a VBscript result to FM


Wim Decorte

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

Recommended Posts

Based on an exchange in the "Windows Automation" forum, I've created a demo file that shows how the web viewer can be used to return the result of a vbscript to filemaker.

You can download it from the downloads section of my website: www.connectingdata.com

The demo shows a "browse for file" dialog and returns the chosen path & file name back to a FM field.

Enjoy,

Wim

Link to comment
Share on other sites

Hi Wim

that was for "browse for file"...

Set objDialog = CreateObject("UserAccounts.CommonDialog")

objDialog.Filter = "FileMaker Files|*.fp7|All Files|*.*"

objDialog.FilterIndex = 2

objDialog.InitialDir = "C:"

intResult = objDialog.ShowOpen

...

which statmenth have I to modify for "browse for folder" ?

Link to comment
Share on other sites

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