H
Hinesh Ghelani
I am aware that there are many Outlook Profile
applications available.
However I am attempting to write my own application using
WMI to accomplish creating an outlook profile
automatically, in other words with out an administartors
assistance.
The bit of code that is causing errors when run:
-----------------------------------------------------
Set objfso = createobject("scripting.filesystemobject")
set wshshell = wscript.createobject("wscript.shell")
wshshell.run "c:\program files\common
files\system\mapi\1033\nt\mlcfg32.cpl"
-------------------------------------------------------
Error generated when this code is run
The system cannot find the file specified
Code 80070002
Null
{any suggestions or pointers}
I have also tried
wshshell.run "rundll32.exe shell32.dll,Control_RunDLL
mlcfg32.cpl"
Error generated when this code is run
Error in shell32.dll, missing entry:control_rundll
{any suggestions or pointers}
In essence, I need to open the Microsoft Exchange/Outlook
Properties (General): MAPI
and that is why I am using the above code.
If any one can advise me or inform me of where the code is
falling over please mail me
(e-mail address removed)
applications available.
However I am attempting to write my own application using
WMI to accomplish creating an outlook profile
automatically, in other words with out an administartors
assistance.
The bit of code that is causing errors when run:
-----------------------------------------------------
Set objfso = createobject("scripting.filesystemobject")
set wshshell = wscript.createobject("wscript.shell")
wshshell.run "c:\program files\common
files\system\mapi\1033\nt\mlcfg32.cpl"
-------------------------------------------------------
Error generated when this code is run
The system cannot find the file specified
Code 80070002
Null
{any suggestions or pointers}
I have also tried
wshshell.run "rundll32.exe shell32.dll,Control_RunDLL
mlcfg32.cpl"
Error generated when this code is run
Error in shell32.dll, missing entry:control_rundll
{any suggestions or pointers}
In essence, I need to open the Microsoft Exchange/Outlook
Properties (General): MAPI
and that is why I am using the above code.
If any one can advise me or inform me of where the code is
falling over please mail me
(e-mail address removed)