Login | |
|
 |
RE: Shell/FSO issue.... - 12/3/2006 11:55:08 PM
|
|
 |
|
| |
gdewrance
Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
|
your example gives an error Cannot find path file://fullpath\main\blah.html shouldn't it look for file2.hta. by the way just a thought could you not create another shell.run to the relative path ../file2.hta I know that doesn't work but just an idea
< Message edited by gdewrance -- 12/3/2006 11:56:13 PM >
|
|
| |
|
|
|
 |
RE: Shell/FSO issue.... - 12/4/2006 12:12:37 AM
|
|
 |
|
| |
TNO
Posts: 1397
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
quote:
your example gives an error did you replace blah.html with my 2nd post? strange....I'm not getting an error at all, it just goes to the command prompt and displays this: C:\Documents and Settings\****\Desktop\Clerkster>
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Shell/FSO issue.... - 12/4/2006 12:21:34 AM
|
|
 |
|
| |
gdewrance
Posts: 587
Score: 3
Joined: 3/16/2006
Status: offline
|
came close with oShell.run("cmd.exe " + window.open(p))
|
|
| |
|
|
|
 |
RE: Shell/FSO issue.... - 12/4/2006 12:35:03 AM
|
|
 |
|
| |
TNO
Posts: 1397
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Even closer but it chokes on spaces: oShell.run("mshta.exe " + p)
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Shell/FSO issue.... - 12/4/2006 6:38:14 AM
|
|
 |
|
| |
TNO
Posts: 1397
Score: 16
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Thanks for all the help, I was trying to get a popup window that had file permission. Ironically I ended up not using this method (sorry, lol). I read up on MSDN and learned about window.showModelessDialog and window.showModalDialog These popup windows inherit the rights from the parent instead of becoming a new instance of an IE window. And even cooler is the fact that these are ALWAYS on top, and can hold user focus (showModalDialog)
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
|
|