Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

list control to a word file

Posted on 2002-07-13
8
Medium Priority
?
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
LVL 49

Expert Comment

by:DanRollins
ID: 7152062
I am interested to know how you did it.  Can you summarize?
-- Dan
0
 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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