mitioke

mitioke

Joined Member # 1996897
0 Posts 0 Replies 279 Reputation

I found out the path variables like %objdir% work fine if you create an object and use the paht variable in the name of the file in the object dialog. You (I) cannot, however, use %objdir% in the ways attempted above. The alternative is to use the built in Object.diretory loaded to a variable e.g., wd = Object.directory and pass the path that way. Obviously the error noted above at line 63 indicated the path variable was not avai

4 Replies 4,333 Views

It did not. Now I am back to my original error: (null) Line: 63 Code: (not available) The code is: 60: Dim WshShell, strCommand 61: strCommand = Chr(34)& "%objectdir%\Techo.pdf" & Chr(34) 62: Set WshShell = CreateObject("WScript.Shell") 63: WshShell.Run(strCommand) 64: Set WshShell = Nothing I tried it the way you recommended too. No difference in the result. I g

4 Replies 4,333 Views

I need help using wshShell.Run or WshShell. Exec to load a pdf or other document from the custom files folder. This is for a standalone exe (a gadget). Basically, I've tried: Dim WshShell, oExec Set WshShell = CreateObject("WScript.Shell") Set oExec = WshShell.Exec("%exedir%\Readware Technologyo.pdf") Set WshShell = Nothing and several variations on oExec, e.g.: WshShell.Exec("%exedi

4 Replies 4,333 Views

I have had similar problems, but I have not gone as far to reinstall windows. I am using Windows 2000 and I am certain there are no viruses or hikackers. Usually I clear the problems (scripts disappearing, mouse pointer gone, widget disappearing, etc.) with a reboot.

7 Replies 2,558 Views