Is there is a way to use the VB SHELL in out.
i.e: x=SHELL("c:\winnt\system32\calc.exe").
This sentence gives an error if u put it on outlook
Printable View
Is there is a way to use the VB SHELL in out.
i.e: x=SHELL("c:\winnt\system32\calc.exe").
This sentence gives an error if u put it on outlook
Where in outlook are you putting it?
Is it a custom menu button.. or is it in a macrooooo...
Seahag
I have a commandbutton and on the script i type the shell. This button is on the task form ( a page on that form)
OOK.. I still dont know what u mean. ;)
But
Try this
VB Code:
SHELL "c:\winnt\system32\calc.exe"
Suppose you call the task form of outlook. You can change this form a make visible=true some pages where you can use as vb form. The problem is that you can only use VB SCRIPT CODE or macro (with vbe). If i used macro there is not problem; i can use the shell as vb does, but i need to use vb script code to run an .exe file.Quote:
Originally posted by SeaHag
OOK.. I still dont know what u mean. ;)
But
Try this
VB Code:
SHELL "c:\winnt\system32\calc.exe"
ooo vbscript, thats what confused me.
I dont know how vbscript works with outlook. sorry.
Seahag