By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

Q: how to display HTML

P: n/a
hi,

what is the best way to display an html in windows application ?

and how can i get an xml via http ?

--
Best Regards ,

Tiraman :-)
Nov 20 '05 #1
Share this Question
Share on Google+
14 Replies


P: n/a
An HTML what? An XML what?

Please be more specific. You want to render HTML and XML in a Windows app?
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
hi,

what is the best way to display an html in windows application ?

and how can i get an xml via http ?

--
Best Regards ,

Tiraman :-)

Nov 20 '05 #2

P: n/a
Hi Tiraman,

Depends when you want to show it as real HTML a textbox when you want to
show it as page the Axwebbrowser is very good for it.

A little example of the AXwebbroswer

Open a new windows application project
In the toolbox rightclick and select add/Remove items
In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub

Some links to more complete samples

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default...b;EN-US;311284

mshtml is what you need when you start using the docs.
http://msdn.microsoft.com/library/de...ng/hosting.asp

I hope this helps a little bit?

Cor
Nov 20 '05 #3

P: n/a
* "Tiraman" <ti*****@netvision.net.il> scripsit:
what is the best way to display an html in windows application ?
311303 WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET
<URL:http://support.microsoft.com/?id=311303>
and how can i get an xml via http ?


'WebClient.DownloadFile'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #4

P: n/a
Hi Cor,

10x for your example and for the links.

they are good for my needs.

bye
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
Hi Tiraman,

Depends when you want to show it as real HTML a textbox when you want to
show it as page the Axwebbrowser is very good for it.

A little example of the AXwebbroswer

Open a new windows application project
In the toolbox rightclick and select add/Remove items
In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub

Some links to more complete samples

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default...b;EN-US;311284

mshtml is what you need when you start using the docs.
http://msdn.microsoft.com/library/de...owser/hosting/
hosting.asp
I hope this helps a little bit?

Cor

Nov 20 '05 #5

P: n/a
WTF is 10x?

I guess I'm getting old. :^)

Greg
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:Og**************@tk2msftngp13.phx.gbl...
Hi Cor,

10x for your example and for the links.

they are good for my needs.

bye
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
Hi Tiraman,

Depends when you want to show it as real HTML a textbox when you want to
show it as page the Axwebbrowser is very good for it.

A little example of the AXwebbroswer

Open a new windows application project
In the toolbox rightclick and select add/Remove items
In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub

Some links to more complete samples

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default...b;EN-US;311284

mshtml is what you need when you start using the docs.

http://msdn.microsoft.com/library/de...owser/hosting/ hosting.asp

I hope this helps a little bit?

Cor


Nov 20 '05 #6

P: n/a
hello Scott,
i would like to render an html and display it in windows app.

i also wanted to know how can i get an XML over http request. (i have an xml
in some server and i would like to read it to my app)
any way i got a good explanation from Cor Ligthert so 10x for your help.

bye

"Scott M." <s-***@nospam.nospam> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
An HTML what? An XML what?

Please be more specific. You want to render HTML and XML in a Windows app?

"Tiraman" <ti*****@netvision.net.il> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
hi,

what is the best way to display an html in windows application ?

and how can i get an xml via http ?

--
Best Regards ,

Tiraman :-)


Nov 20 '05 #7

P: n/a
Gr8
10x

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OP*************@tk2msftngp13.phx.gbl...
* "Tiraman" <ti*****@netvision.net.il> scripsit:
what is the best way to display an html in windows application ?


311303 WebOCHostVB.exe Hosts the WebBrowser Control in Visual Basic .NET
<URL:http://support.microsoft.com/?id=311303>
and how can i get an xml via http ?


'WebClient.DownloadFile'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 20 '05 #8

P: n/a
Hi Greg,
WTF is 10x?

I guess I'm getting old. :^)


I assume tenx (thanks)

Cor

Nov 20 '05 #9

P: n/a
IYSS

Greg

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eq**************@TK2MSFTNGP11.phx.gbl...
Hi Greg,
WTF is 10x?

I guess I'm getting old. :^)


I assume tenx (thanks)

Cor

Nov 20 '05 #10

P: n/a
:-)

10x - Thanks
Gr8 - Great
b4 - before
1st - first
2nd - second
and so on
:-)

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:e8**************@tk2msftngp13.phx.gbl...
WTF is 10x?

I guess I'm getting old. :^)

Greg
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:Og**************@tk2msftngp13.phx.gbl...
Hi Cor,

10x for your example and for the links.

they are good for my needs.

bye
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
Hi Tiraman,

Depends when you want to show it as real HTML a textbox when you want to show it as page the Axwebbrowser is very good for it.

A little example of the AXwebbroswer

Open a new windows application project
In the toolbox rightclick and select add/Remove items
In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub

Some links to more complete samples

webbrowser
http://support.microsoft.com/?kbid=311303

some faqs
http://support.microsoft.com/default...b;EN-US;311284

mshtml is what you need when you start using the docs.

http://msdn.microsoft.com/library/de...owser/hosting/
hosting.asp

I hope this helps a little bit?

Cor



Nov 20 '05 #11

P: n/a
* "Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> scripsit:
IYSS


Mhm...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #12

P: n/a
IOOTATNIEGTG {:-)

Charles
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:eD**************@tk2msftngp13.phx.gbl...
:-)

10x - Thanks
Gr8 - Great
b4 - before
1st - first
2nd - second
and so on
:-)

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:e8**************@tk2msftngp13.phx.gbl...
WTF is 10x?

I guess I'm getting old. :^)

Greg
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:Og**************@tk2msftngp13.phx.gbl...
Hi Cor,

10x for your example and for the links.

they are good for my needs.

bye
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:uM**************@TK2MSFTNGP09.phx.gbl...
> Hi Tiraman,
>
> Depends when you want to show it as real HTML a textbox when you want
to
> show it as page the Axwebbrowser is very good for it.
>
> A little example of the AXwebbroswer
>
> Open a new windows application project
> In the toolbox rightclick and select add/Remove items
> In the customize toolbox select Com and in that Microsoft Webbrowser
>
> When that is in the toolbox drag it to your form
> Drag also a button to your form.
>
> Then this code and you have a mini Webbrowser.
>
> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
> System.EventArgs) Handles Button1.Click
> Me.AxWebBrowser1.Navigate2("www.google.com")
> End Sub
>
> Some links to more complete samples
>
> webbrowser
> http://support.microsoft.com/?kbid=311303
>
> some faqs
> http://support.microsoft.com/default...b;EN-US;311284
>
> mshtml is what you need when you start using the docs.
>

http://msdn.microsoft.com/library/de...owser/hosting/ hosting.asp
>
> I hope this helps a little bit?
>
> Cor
>
>



Nov 20 '05 #13

P: n/a
Just so you can be clearer in the future... you don't refer to it as "an"
HTML or "an" XML". The use of the word "an" in your original post was what
was confusing. It's just HTML and/or XML.

Good luck!
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:O0*************@TK2MSFTNGP10.phx.gbl...
hello Scott,
i would like to render an html and display it in windows app.

i also wanted to know how can i get an XML over http request. (i have an xml in some server and i would like to read it to my app)
any way i got a good explanation from Cor Ligthert so 10x for your help.

bye

"Scott M." <s-***@nospam.nospam> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
An HTML what? An XML what?

Please be more specific. You want to render HTML and XML in a Windows

app?


"Tiraman" <ti*****@netvision.net.il> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
hi,

what is the best way to display an html in windows application ?

and how can i get an xml via http ?

--
Best Regards ,

Tiraman :-)



Nov 20 '05 #14

P: n/a
:-)

"Scott M." <s-***@nospam.nospam> wrote in message
news:Oz**************@tk2msftngp13.phx.gbl...
Just so you can be clearer in the future... you don't refer to it as "an"
HTML or "an" XML". The use of the word "an" in your original post was what was confusing. It's just HTML and/or XML.

Good luck!
"Tiraman" <ti*****@netvision.net.il> wrote in message
news:O0*************@TK2MSFTNGP10.phx.gbl...
hello Scott,
i would like to render an html and display it in windows app.

i also wanted to know how can i get an XML over http request. (i have an

xml
in some server and i would like to read it to my app)
any way i got a good explanation from Cor Ligthert so 10x for your help.

bye

"Scott M." <s-***@nospam.nospam> wrote in message
news:#F**************@TK2MSFTNGP09.phx.gbl...
An HTML what? An XML what?

Please be more specific. You want to render HTML and XML in a Windows

app?


"Tiraman" <ti*****@netvision.net.il> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
> hi,
>
> what is the best way to display an html in windows application ?
>
> and how can i get an xml via http ?
>
> --
> Best Regards ,
>
> Tiraman :-)
>
>



Nov 20 '05 #15

This discussion thread is closed

Replies have been disabled for this discussion.