| |
ursus
Posts: 1
Score: 0
Joined: 11/10/2006
Status: offline
|
I am a total newbe on vbs. Have a little Visual Basic experience, but that was a long time ago. So please be a little patient with me. I have a program (FileMaker Pro) that starts a vbs to retrieve a path. I have written the first part of the script (with a lot of help), Which grabs the path. Now I want to return this value into a field in a Filemaker. Filemaker is a database program. The field might be active in the current window, or I can make it appear if need to. I have no clue how to handle filemaker and vbs in such a way the path gets to be in the field. This is what I have come up with so far. Const WINDOW_HANDLE = 0 Const NO_OPTIONS = 0 Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.BrowseForFolder _ (WINDOW_HANDLE, "Select a folder:", NO_OPTIONS, "C:\") Set objFolderItem = objFolder.Self objPath = objFolderItem.Path objPath now holds the path I have selected, but now I want to transfer in into Filemaker. Any help much appreciated. Ursus
|
|