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.
talspAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Computer101Connect With a Mentor Commented:
Points refunded and placed in PAQ

Computer101
E-E Moedrator
0
 
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
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.

 
talspAuthor Commented:
ok i found the way how to automate this enviroment
0
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.