Solved

list control to a word file

Posted on 2002-07-13
8
189 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
ID: 7151631
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
ID: 7151646
i am using vs.net and there is no such option there
0
 

Author Comment

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

Expert Comment

by:DanRollins
ID: 7152062
I am interested to know how you did it.  Can you summarize?
-- Dan
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:talsp
ID: 7152156
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
ID: 7152831
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
ID: 7152899
thanks a lot Dan,
i did what u advised me.

talsp.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 7153111
Points refunded and placed in PAQ

Computer101
E-E Moedrator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Show shut-down message as Windows 8 shuts down. 9 85
Installing Microsoft R server on REDHAT or SUSE Linux 4 131
sumDigits challenge 9 125
FizzBuzz challenge 9 76
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

18 Experts available now in Live!

Get 1:1 Help Now