473,320 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Any control that has same functionality as IE to display XML

Hi,

Is there any control (free) that has same functionality as IE to display the
XML document without having to create a physical file?

if using Webbrowser control (ActiveX control) I have to create a xml file
and then use .Navigate(url) ...

Thanks!

John
Nov 15 '05 #1
7 2464

Hi John,

Thank you for posting in the community!

Based on my understanding, you want to display xml in a control, and your
xml is maintained in memory not in the disk.

==============================================
Do you need a WinForm control or a webform control?

Actually, xml document structure is a hierarchical nodes collection. I
think you can display its in a tree structure, so I think you need a
extended treeview control.
The control below is a extended TreeView Web Control, which uses an XML
stream as its data source:
http://4guysfromrolla.411asp.net/fun...4guysfromrolla

Althrough, it is not a WinForm control, you can learn how to get content
from XML stream. Then you can easily create a WinFrom extended TreeView
control.

Also, the site below contains a lot of extended treeview controls, hope it
can help you:
http://4guysfromrolla.411asp.net/hom...iew?cob=4guysf
romrolla

=============================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #2

Hi John,

Does my reply make sense to you?

If you still have anything unclear, please feel free to tell me, I will
help you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #3

Hi John,

Does my reply make sense to you?

If you still have anything unclear, please feel free to tell me, I will
help you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #4
Thanks Jeffrey,

I understand you can display xml in a treeview but I really want to have the
same look and feel as the IE - or sometimes I even want to display a nice
html as some of microsoft setup program do - is there a way to use the
htmlite.dll in C# or VB.NET or do we have any .NET control to display
HTML/XHTML?

Thanks very much for your follow up!!! I really appreciate your efforts.

John

"""Jeffrey Tan[MSFT]""" <v-*****@online.microsoft.com> wrote in message
news:9R**************@cpmsftngxa07.phx.gbl...

Hi John,

Does my reply make sense to you?

If you still have anything unclear, please feel free to tell me, I will
help you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #5

Hi John,

I will spend some time to do some research on this issue. I will reply to
you ASAP.

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #6

Hi John,

Sorry for letting you wait for so long time.

htmlite.dll is a undocumented dll, which you are not recommanded to use it.

After doing a lot of research on this issue, I think the realistic way to
get what you want is using WebBrowser control.

I can think of three ways of accomplishing this customer's goal:
-- Transform the XML into something that displays it the way you like, then
write this using document.write(). This may actually be less work than the
other ideas!
-- Write a pluggable protocol handler so that you can navigate to a URL
that actually generates the desired XML in memory.
-- With a Dev. Support case and sufficient time, we might find a way for
your customer to leverage the mechanism that IE uses to render XML files in
this display format. However, it's more likely that we would find that
the mechanism is just not exposed in a way that a web browser host could
take advantage of.

You can parse the xml stream yourself, then write the xml through html tag
to the WebBrowser control.

For how to use Html to display in a XML view way, you may use css and
javascript, please refer to the attached 2 files.

Then, you can follow these 2 files sample, to show your xml stream to the
web browser control yourself(That is the first solution).

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #7
Thanks Jeffrey!

Could not see the attached files.

John

"""Jeffrey Tan[MSFT]""" <v-*****@online.microsoft.com> wrote in message
news:#T**************@cpmsftngxa06.phx.gbl...

Hi John,

Sorry for letting you wait for so long time.

htmlite.dll is a undocumented dll, which you are not recommanded to use it.
After doing a lot of research on this issue, I think the realistic way to
get what you want is using WebBrowser control.

I can think of three ways of accomplishing this customer's goal:
-- Transform the XML into something that displays it the way you like, then write this using document.write(). This may actually be less work than the other ideas!
-- Write a pluggable protocol handler so that you can navigate to a URL
that actually generates the desired XML in memory.
-- With a Dev. Support case and sufficient time, we might find a way for
your customer to leverage the mechanism that IE uses to render XML files in this display format. However, it's more likely that we would find that
the mechanism is just not exposed in a way that a web browser host could
take advantage of.

You can parse the xml stream yourself, then write the xml through html tag
to the WebBrowser control.

For how to use Html to display in a XML view way, you may use css and
javascript, please refer to the attached 2 files.

Then, you can follow these 2 files sample, to show your xml stream to the
web browser control yourself(That is the first solution).

Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ed | last post by:
Hi, Is there any control (free) that has same functionality as IE to display the XML document without having to create a physical file? if using Webbrowser control (ActiveX control) I have to...
11
by: trinitypete | last post by:
Hi all, I have a user control that uses control literal to build a heading with a link, and a div containing links below. As the link heading is hit, I want to change the style of the div,...
4
by: Imran Aziz | last post by:
Hello All, I display a list of entries with a checkbox against them using a repeater control bound to a database table. Based on the value of database table I want to either show the checkbox for...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
13
by: KMiller | last post by:
I would like to control entry into one or more of the tabs > I have set up on my Tab control based on set rules. Does > anyone know how to grey-out the text so that a user will > see that they do...
4
by: rushikesh.joshi | last post by:
Hi All, I want to create custom control by using Web.UI.WebControls.Calendar, in which I want to set few days with different color. I had created two property to set the color and storing in...
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
0
by: Paul_Madden via DotNetMonster.com | last post by:
I think this question could be answered in one word, either "No" or "Name-of- the-control". Am (still unfortunately :-)) having to use .NET 1.1 at work. Would like to display a simple text file...
24
by: tizi_de | last post by:
Hello all, I'm looking for a sample program in C to print out lines not to the standard MS Dos Box but into a different control e.g. text control. Has C the possibility to do printouts to a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.