If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > C++ word document

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-06, 11:22
Scott_Higgins Scott_Higgins is offline
Registered User
 
Join Date: Aug 2006
Posts: 31
C++ word document

Hey experts,

has anyone ever used vc++ to command windows to open a word document?
If so could you advise me on how to do this... if its really complicated it doesnt matter.

Cheers!

Scott
Reply With Quote
  #2 (permalink)  
Old 08-30-06, 11:32
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,606
A lot depends on just what you want to do once you've opened the window... The Quick and Dirty way to simply open a .DOC file via Word is to simply launch the document.

Depending on which compiler you're using and what environment you're targeting, you've got lots of choices.

-PatP
Reply With Quote
  #3 (permalink)  
Old 09-01-06, 04:55
Scott_Higgins Scott_Higgins is offline
Registered User
 
Join Date: Aug 2006
Posts: 31
thanks for your help... i like having lots of choices

ill do some more research

scott
Reply With Quote
  #4 (permalink)  
Old 09-26-06, 04:39
Scott_Higgins Scott_Higgins is offline
Registered User
 
Join Date: Aug 2006
Posts: 31
Unhappy no luck

hmm i cant find it anywhere...

im using m$ vc++ 2005, with MFC forms.

i need to pass a variable (ie 1923.txt) to a line of code (or many?).

Any help on this matter would be very greatfully recieved

Scott
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On