Solved

how display xml file using Visual C++

Posted on 2004-08-16
5
216 Views
Last Modified: 2013-11-20
Hi,
Does anybody have idea abt how display xml file using MFC.
I want this view as an html based means it should look like as being diaplyed defaulty in internet explorer.Better if it is based on some stylesheet so that i can play around with other available spreadsheet.

Any help/clues will be highly appriciated.

Thanks in advance,
Amit Agrawal
0
Comment
Question by:agri_amit
[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
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
mrwad99 earned 50 total points
ID: 11809157
What you could do is create a doc/view app that is derived from CHtmlView, then simply set the view to display the file.  See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vcrefchtmlview.asp

Or you could use the ActiveX browser control if you have a dialogue based application...
0
 

Author Comment

by:agri_amit
ID: 12196460
Hi ,

mrwad99 : Thanks for the response.It works.
At this point , i also ned to apply external style sheet to this Xml File.Does anybody have idea?

Thanks,
Amit
0
 
LVL 19

Expert Comment

by:mrwad99
ID: 12202137
Sorry I cannot see how to do that.
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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…
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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 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