RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 636 | 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: 118
Reputation: hkdani is an unknown quantity at this point 
Rep Power: 2
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: 71
Reputation: venkatramasamy is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 12
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 27th, 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.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:54 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC