Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening files 2

Status
Not open for further replies.

Mutley123

Programmer
Dec 23, 2003
2
GB
I'd like to click on a button or a picture and open a file in MS Word. I've tried everything and it just wont work. It worked ok in VB6 but I just can't seem to make it work in .NET.
If anyone can help I'd be really grateful.
Thanks
Mutley123
 
This article should do what you need.




DotNetDoc
M.C.S.D.
---------------------------------------

Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb
-----------------------------------
If you can't explain it simply, you don't understand it well enough.
- A. Einstein
 
Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click
System.Diagnostics.Process.Start("c:\filename.doc")
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top