dbTalk Databases Forums  

using msmdarch.exe from vbscript

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss using msmdarch.exe from vbscript in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lydie
 
Posts: n/a

Default using msmdarch.exe from vbscript - 08-05-2003 , 04:13 AM






Hi,

i would like to call the msmdarch.exe command from a vbscript because
i have to set some of its parameters dynamically.

Can anyone tell me the object in vbscript I have to use to be able to
call the msmdarch.exe.

Thanks

Lydie

Reply With Quote
  #2  
Old   
Patrice Lamarche
 
Posts: n/a

Default Re: using msmdarch.exe from vbscript - 08-05-2003 , 08:10 AM






Hello,
here is a little code

dim objShell

set objShell = CreateObject("Shell.Application")

objShell.ShellExecute "msmdarch.exe", "[ARGUMENT]", "[DIR]", "", 1

set objShell = nothing


Here the doc on the ShellExecute

http://msdn.microsoft.com/library/de...ellexecute.asp

HTH

Patrice
"lydie" <lsoler (AT) caramail (DOT) com> wrote

Quote:
Hi,

i would like to call the msmdarch.exe command from a vbscript because
i have to set some of its parameters dynamically.

Can anyone tell me the object in vbscript I have to use to be able to
call the msmdarch.exe.

Thanks

Lydie



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.