If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Opening an RTF or DOC file from an Access Form command button
Shell "C:\Program Files\Windows NT\Accessories\wordpad.exe
c:\temp\document.rtf", vbNormalFocus This command opens an rtf with WordPad. In VB.NET Process.start "c:\temp\document.rtf" Opens the file in either Word or WordPad depending upon the mapping of the ..rtf extension. Is there a way to accomplish the same thing as Process.Start but from Access 2003. Shell "c:\temp\document.rtf" crashes |
#2
|
|||
|
|||
Opening an RTF or DOC file from an Access Form command button
genojoe wrote:
Shell "C:\Program Files\Windows NT\Accessories\wordpad.exe c:\temp\document.rtf", vbNormalFocus This command opens an rtf with WordPad. In VB.NET Process.start "c:\temp\document.rtf" Opens the file in either Word or WordPad depending upon the mapping of the .rtf extension. Is there a way to accomplish the same thing as Process.Start but from Access 2003. Shell "c:\temp\document.rtf" crashes Application.FollowHyperlink "c:\temp\document.rtf" -- Rick Brandt, Microsoft Access MVP Email (as appropriate) to... RBrandt at Hunter dot com |
Thread Tools | |
Display Modes | |
|
|