Date: Thu, 29 Jun 2000 13:38:12 GMT
Reply-To: autretx@MY-DEJA.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: autretx@MY-DEJA.COM
Organization: Deja.com - Before you buy.
Subject: Re: API function equivalent to 'start' DOS command?
Well it s the first time that i can see the createprocess run!!
It works well with an executable but with a file:
c:\image.bmp it doesn't work
and if you want to open an *.xls file the executable can be:
excel.exe or msexcel or something else...
the command 'start' is so easy and so short...
> sInfo.cb = Len(sInfo)
> success& = CreateProcess(sNull, "Calc.exe", ByVal 0&, ByVal 0&, 1&,
> NORMAL_PRIORITY_CLASS, ByVal 0&, sNull, sInfo, pInfo)
>
> In article <8jeve4$qe4$1@nnrp1.deja.com>,
> autretx@my-deja.com wrote:
> > I'm looking for an API function equivalent to the 'start' MS-DOS
> > command:
> >
> > start c:\image.bmp
> >
> > WinExec is not appropriate,
> > CreateProcess is hard but appropiate???
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
|