Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how do u open a word file in VB??

 
   Database Help (Home) -> Visual Basic RSS
Next:  Cookie problem  
Author Message
user3614

External


Since: Jan 31, 2005
Posts: 30



(Msg. 1) Posted: Mon Feb 21, 2005 3:40 pm
Post subject: how do u open a word file in VB??
Archived from groups: comp>lang>basic>visual>database (more info?)

hi,

i want to open a word file in my c drive. how do i do that in VB? i want to
open it when i click a button.

thanx

devin

 >> Stay informed about: how do u open a word file in VB?? 
Back to top
Login to vote
Michael B. Johnson

External


Since: May 14, 2004
Posts: 16



(Msg. 2) Posted: Mon Feb 21, 2005 3:40 pm
Post subject: Re: how do u open a word file in VB?? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 21 Feb 2005 19:33:55 GMT, "Devin Panchal"
wrote:

 > i want to open a word file in my c drive. how do i do that in VB? i want to
 >open it when i click a button.

I recommend you post this question to "comp.lang.basic.visual.misc".
_______________________
Michael B. Johnson<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: how do u open a word file in VB?? 
Back to top
Login to vote
Sam86

External


Since: Sep 23, 2004
Posts: 1



(Msg. 3) Posted: Tue Feb 22, 2005 2:54 am
Post subject: Re: how do u open a word file in VB?? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Devin Panchal" wrote in message ...
 > hi,
 >
 > i want to open a word file in my c drive. how do i do that in VB? i want to
 > open it when i click a button.
 >
 > thanx
 >
 > devin

even though this might not be the correct group, here goes:

Dim WDObj As Word.Application
Set WDObj = CreateObject("Word.Application")

WDObj.Documents.Open "path to word document"

set WDObj = nothing<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: how do u open a word file in VB?? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Open form to add record with fielddata from an open form - How do I open a form to add a record and get the data for 1 field from a specific field in a open form. I have used the following code ; Private Sub Form_Open(Cancel As Integer) If IsOpen("FrmStam") Then DebNr.DefaultValue = _ ...

reading a text file? - Help! :( Is there a way to automate the importation of a text file in to VB, with out having to use the import text wizard every time? Below is a sample the the file and the inofrmation I need. ( the file is actually much larger then this) but this wil...

Cannot Delete Pocket Access File - I'm creating a Pocket Access file (via an EVB application) on a mobile device running PPC 2002. When the user logs off the EVB application, I want to delete the Access file (stored in the /Temp folder). However, I am unable to do this because the..

sql query returns in wrong format - Hi, Hope someone can help me with this. I have MS SQL 2000 database where i have Table "PriceList" and there a column "Pricemk" wich is data type "money". All data in this column is in form "10001,35". So why when...

arrays - is there a way to concatenate the contents of an array (looping through the array) and storing each item in a comma delimited string? Thanks!
   Database Help (Home) -> Visual Basic All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]