Solved

list control to a word file

Posted on 2002-07-13
8
176 Views
Last Modified: 2013-11-20
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
Comment
Question by:talsp
8 Comments
 

Expert Comment

by:skibud2
Comment Utility
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
 

Author Comment

by:talsp
Comment Utility
i am using vs.net and there is no such option there
0
 

Author Comment

by:talsp
Comment Utility
ok i found the way how to automate this enviroment
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
I am interested to know how you did it.  Can you summarize?
-- Dan
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:talsp
Comment Utility
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
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
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
 

Author Comment

by:talsp
Comment Utility
thanks a lot Dan,
i did what u advised me.

talsp.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
Comment Utility
Points refunded and placed in PAQ

Computer101
E-E Moedrator
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now