Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

list control to a word file

hi,

i have a listcontrol showing a table.

how i can transfer the text in it to a word file?

i want to take the table in this list control and make the same table in a Word file and than save the file.

thanks.
0
talsp
Asked:
talsp
1 Solution
 
skibud2Commented:
You can use a combination of the List Control's GetItemText and use automation with Word.
Go to project->Add to project->Component and Controls->Microsoft Word (x.x)
0
 
talspAuthor Commented:
i am using vs.net and there is no such option there
0
 
talspAuthor Commented:
ok i found the way how to automate this enviroment
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
DanRollinsCommented:
I am interested to know how you did it.  Can you summarize?
-- Dan
0
 
talspAuthor Commented:
i've added an mfc class from typelib and than chose the msword library.
and than added all the header files for the function i wanted to use and made the automation.
0
 
DanRollinsCommented:
Thanks talsp,
This question and your solution have value for the EE PAQ database.  I suggest that you make a post to Community Support and say that you solved this problem yourself and request a refund of your points.  Ask that this be saved as a 0-pt PAQ.  Click here
      http://www.experts-exchange.com/jsp/qAskQuestion.jsp?ta=commspt
to post to CS.  Be sure to identify this question.  it is:  
      Q_20323039
-- Dan
0
 
talspAuthor Commented:
thanks a lot Dan,
i did what u advised me.

talsp.
0
 
Computer101Commented:
Points refunded and placed in PAQ

Computer101
E-E Moedrator
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now