Re: WIN32LIB - shellExecute

new topic     » goto parent     » topic index » view thread      » older message » newer message

My fault, you'll need to change SW_HIDE to SW_NORMAL
near the bottom in OpenFile( )

Euman

----- Original Message ----- 
From: "Euman" <euman at bellsouth.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: WIN32LIB - shellExecute


> 
> 
> TRY the attached and tell me if it works..
> 
> Euman
> 
> ----- Original Message ----- 
> From: <michaelstee at yahoo.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Wednesday, May 02, 2001 14:46
> Subject: WIN32LIB - shellExecute
> 
> 
> > 
> > 
> > Hi all!
> > I've got a Win32Lib app that will be running on Win2000, and I want
> > to launch WordPad from my app. I'm trying shellExecute(), but it
> > doesn't seem to do anything. Here's the snippet of code:
> > 
> >    str = "C:\\program files\\windows NT\\accessories\\wordpad.exe "
> >    outfile = "C:\\rich.rtf"
> >    shellExecute(str,outfile, 0) 
> > 
> > The documentation says the 3 params are command,file,style. I'm sure 
> > I've got them wrong in my code, but there's no example. Can anyone help?
> > 
> > Thanks!
> > 
> > 
> > 
> > 
> > 
> > 
> 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu