i want to create an activex control that loads a prog with a remote fila as an argument. How should i write the argument in the shell(the url form doesn't work) it only works for local files
Thanx
Printable View
i want to create an activex control that loads a prog with a remote fila as an argument. How should i write the argument in the shell(the url form doesn't work) it only works for local files
Thanx
could you clarify please? what exactly do you want to do? do you want to execute files on a remote machine?
i want the activex control to load a wap emulator(installed on the remote machine) but the file will be called from my machine using its url
for example to call notepad.exe to open the file
http://xxx.xxx.xxx.xxx/index.wml
the prob is that in the emulators screen i receive
file not found /http://xxx.xxx.xxx.xxx/index.wml
i believe the slash is the prob
thanx
did you try using a UNC (//compname/index.wml) instead of a URL. most software doesn't support TCP/IP for file trasfer over a network(not that i can think of)
in vb this goes like
shell("c:\...\program.exe //compname/index.wml")
could you give me an example?
thanx
Shell("\\computername\disk\directory\file.exe",vbHide)
or with a share
Shell("\\Jobs\file.exe",vbHide)
Assuming I understood what you want....