11-03-2005 07:14 AM
11-04-2005 11:04 AM
Hi Martin,
I send a lot of applications to other folks, and this is what I always do. Inside the VBScript, whenever I need to reference a resource files, such as an STP file, TDR layout, VBScript with ScriptStart or ScriptInclude, SUDialog, etc. etc., I simply use the AutoActPath variable to point to the same directory as the running VBScript. I then put all those resource files in the same directory as the main VBScript. I then zip up all the files together into a ZIP file which, when expanded, places them all together in a new directory. Then all the customer has to do is unzip the ZIP file and run the main VBScript.
So to be explicit, I ALWAYS use FULL paths to any of these resource files, as in the following:
Call PicLoad(AutoActPath & "LayoutName.TDR")
Works for me,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-29-2008 04:09 AM
01-31-2008 02:17 AM
01-31-2008 04:35 AM