Re: Open File
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Fri, 1 Sep 2006 11:09:08 -0500
"george" <g@xxxxx> wrote in message
news:%23pfGq4dzGHA.2516@xxxxxxxxxxxxxxxxxxxxxxx
Hi,open
I have a textbox in an application that holds a file for specified record.
This file type could be .pdf, .doc, .dwg ... Is there generic code to
the file based on the registered program for the file type?
Thanks
Yes.
You can simply use Shell(), or you can use ShellExecuteEx(), which mimics
launching an app from Explorer and provides opportunities for more
attributes.
'To open Word with file - Shell( "MyWord.doc")
.
- Follow-Ups:
- Re: Open File
- From: Jeff Johnson
- Re: Open File
- References:
- Open File
- From: george
- Open File
- Prev by Date: Re: Can I store Date and Time in long integer?
- Next by Date: Re: Error 480 - can't create autoredraw image
- Previous by thread: Re: Open File
- Next by thread: Re: Open File
- Index(es):
Loading