User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 401,509 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,292 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Views: 479 | Replies: 2
Reply
Join Date: Dec 2007
Posts: 2
Reputation: tcr.biju is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tcr.biju tcr.biju is offline Offline
Newbie Poster

How to access MS Word in my VB application

  #1  
Dec 26th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Posts: 115
Reputation: hkdani is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 13
hkdani's Avatar
hkdani hkdani is offline Offline
Junior Poster

Re: How to access MS Word in my VB application

  #2  
Dec 26th, 2007
Dim strFileName as string

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

Shell "Winword.exe " & strFileName
Reply With Quote  
Join Date: Aug 2007
Posts: 59
Reputation: venkatramasamy is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
venkatramasamy's Avatar
venkatramasamy venkatramasamy is offline Offline
Junior Poster in Training

Question Re: How to access MS Word in my VB application

  #3  
Dec 26th, 2007
Hi,
What's your requirement exactly
want to open the Wordocument by launching word or opening the doc in the Form...?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 2:44 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC