i would like to know how can i access MS Word file in my visual basic application form. Iam describing my logic below,
An VB application form with a command button; when i click on the command button, i need to open the already saved MS Word Document.
Would you please help me for that.

Dim strFileName as string

strFileName = "c:\Documents and Settings\User\My Documents\hello.doc"

Shell "Winword.exe " & strFileName

Hi,
What's your requirement exactly
want to open the Wordocument by launching word or opening the doc in the Form...?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.