LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2000, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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.


Back to: Top of message | Previous page | Main SAS-L page