No . I was talking abt only abt executing a vbs file
from .Net
--- Shyan Lam <[EMAIL PROTECTED]> wrote:
> Are you talking about writing macros/script in
> VS.NET?
>
> Shyan
>
>
> > -----Original Message-----
> > From: The DOTNET list will be retired 7/1/02
> > [mailto:[EMAIL PROTECTED]] On Behalf Of
> george antony
> > Sent: Wednesday, June 05, 2002 01:29
> > To: [EMAIL PROTECTED]
> > Subject: Re: [DOTNET] need very Urgently -
> scripting in .net
> >
> > Thanks..Ijust want this only..I need a vbs script
> to
> > be executed in .net...
> > Thanks a lot for this..
> >
> >
> > --- Mitch Denny <[EMAIL PROTECTED]> wrote:
> > > George,
> > >
> > > What sort of script? You can write out a WSH
> script
> > > and
> > > execute it like this in C#:
> > >
> > >         // Declare locals.
> > >         Process runner = null;
> > >         StreamWriter writer = null;
> > >
> > >         // Write out the script.
> > >         writer = new StreamWriter("runme.vbs");
> > >         writer.WriteLine("Call MsgBox(\"Hello
> > > World\")");
> > >         writer.Close();
> > >
> > >         // Execute the script and wait
> > >         // for it to exit.
> > >         runner = new Process();
> > >         runner.StartInfo = new
> > > ProcessStartInfo("runme.vbs");
> > >         runner.Start();
> > >         runner.WaitForExit();
> > >
> > > If you are looking to do this as an
> extensibility
> > > mechanism
> > > I would recommend that you look at VSA first:
> > >
> > >
> > >
> >
>
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfMicrosoftVsa.htm
> > >
> > > Hope this helps.
> > >
> > > ----------------------------------------
> > > - Mitch Denny
> > > - [EMAIL PROTECTED]
> > > - +61 (414) 610-141
> > > -
> > >
> > > -----Original Message-----
> > > From: The DOTNET list will be retired 7/1/02
> > > [mailto:[EMAIL PROTECTED]] On Behalf Of
> > > george antony
> > > Sent: Wednesday, 5 June 2002 15:19
> > > To: [EMAIL PROTECTED]
> > > Subject: [DOTNET] need very Urgently - scripting
> in
> > > .net
> > >
> > >
> > > hi all
> > > Can any one tell me how to write and execute a
> > > script
> > > in .net
> > >
> > > regards
> > > george
>
> You can read messages from the DOTNET archive,
> unsubscribe from DOTNET, or
> subscribe to other DevelopMentor lists at
http://discuss.develop.com.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to