Anyone know of a good HTML Rendering control? I need a control that will
render and display HTML in a Windows form. It doesn't need to pull down
HTML pages from the Web - I'll feed it all the HTML it needs to display.
I've already spent way too much time trying to get the Microsoft WebBrowser
control to work, and I have too many other things to work on to waste any
more time on it. If you know of any third-party HTML Renderers out there,
please let me know.
Thanks,
Michael C., MCDBA 27 8349
Michael,
I don't understand why you wouldn't use the webbrowser? How are you
trying to feed the HTML to it? It's pretty simple, you can do it through
memory, or through a file, or through a number of other mechanisms.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message
news:uF******** ******@TK2MSFTN GP09.phx.gbl... Anyone know of a good HTML Rendering control? I need a control that will render and display HTML in a Windows form. It doesn't need to pull down HTML pages from the Web - I'll feed it all the HTML it needs to display. I've already spent way too much time trying to get the Microsoft WebBrowser control to work, and I have too many other things to work on to waste any more time on it. If you know of any third-party HTML Renderers out there, please let me know.
Thanks, Michael C., MCDBA
There's nothing to understand. It generates an application error every time
I shut down the application. No one can explain why, no one has a solution,
several people have had similar (if not the exact same) issue. The
unstoppable error messagebox at shutdown is a deal-breaker. Plain and
simple.
So I ask again, does anyone know of a decent HTML Renderer?
Thanks,
Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Michael,
I don't understand why you wouldn't use the webbrowser? How are you trying to feed the HTML to it? It's pretty simple, you can do it through memory, or through a file, or through a number of other mechanisms.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:uF******** ******@TK2MSFTN GP09.phx.gbl... Anyone know of a good HTML Rendering control? I need a control that
will render and display HTML in a Windows form. It doesn't need to pull down HTML pages from the Web - I'll feed it all the HTML it needs to display. I've already spent way too much time trying to get the Microsoft WebBrowser control to work, and I have too many other things to work on to waste
any more time on it. If you know of any third-party HTML Renderers out
there, please let me know.
Thanks, Michael C., MCDBA
Michael,
Actually, I would disagree. Because I have not seen this behavior
myself, I can't really say that there is a reason to go with something else.
If you can post an example of where it gives this, then it's possible that
an error could be pointed out, or in the case that there is no error on the
part of the code, a workaround.
Can you post an example?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message
news:OU******** ******@TK2MSFTN GP09.phx.gbl... There's nothing to understand. It generates an application error every time I shut down the application. No one can explain why, no one has a solution, several people have had similar (if not the exact same) issue. The unstoppable error messagebox at shutdown is a deal-breaker. Plain and simple.
So I ask again, does anyone know of a decent HTML Renderer?
Thanks, Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Michael,
I don't understand why you wouldn't use the webbrowser? How are you trying to feed the HTML to it? It's pretty simple, you can do it through memory, or through a file, or through a number of other mechanisms.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:uF******** ******@TK2MSFTN GP09.phx.gbl... > Anyone know of a good HTML Rendering control? I need a control that will > render and display HTML in a Windows form. It doesn't need to pull > down > HTML pages from the Web - I'll feed it all the HTML it needs to > display. > I've already spent way too much time trying to get the Microsoft > WebBrowser > control to work, and I have too many other things to work on to waste any > more time on it. If you know of any third-party HTML Renderers out there, > please let me know. > > Thanks, > Michael C., MCDBA > >
Sure. My code works perfectly well, until I drop in the WebBrowser control.
I won't include all the Windows Generated WebBrowser code, because I don't
change any of it (I can copy and paste the Windows Generated code later if
you really feel it's necessary). Here's the code I add myself:
object novalue = System.Reflecti on.Missing.Valu e;
object url = "http://www.microsoft.c om";
axWebBrowser1.N avigate2(ref url, ref novalue, ref novalue, ref novalue, ref
novalue);
Here's the error I get after shutting down (but *only after adding this
code*):
..NET-BroadcastEventW indow.1.0.5000. 0.3: myApplication.e xe - Application
Error
The exception unknown software exception (0xc0020001) occurred in the
application at location 0x77e73887.
Click on OK to terminate the program
I've reproduced this error on 8 different machines now (have added one more
since the last time, this one with .NET 1.1 SP 1 installed). It gives this
error a few seconds *AFTER* the Windows Form shuts down. How do you work
around that?
Thanks,
Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Michael,
Actually, I would disagree. Because I have not seen this behavior myself, I can't really say that there is a reason to go with something
else. If you can post an example of where it gives this, then it's possible that an error could be pointed out, or in the case that there is no error on
the part of the code, a workaround.
Can you post an example?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:OU******** ******@TK2MSFTN GP09.phx.gbl... There's nothing to understand. It generates an application error every time I shut down the application. No one can explain why, no one has a solution, several people have had similar (if not the exact same) issue. The unstoppable error messagebox at shutdown is a deal-breaker. Plain and simple.
So I ask again, does anyone know of a decent HTML Renderer?
Thanks, Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Michael,
I don't understand why you wouldn't use the webbrowser? How are
you trying to feed the HTML to it? It's pretty simple, you can do it
through memory, or through a file, or through a number of other mechanisms.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:uF******** ******@TK2MSFTN GP09.phx.gbl... > Anyone know of a good HTML Rendering control? I need a control that will > render and display HTML in a Windows form. It doesn't need to pull > down > HTML pages from the Web - I'll feed it all the HTML it needs to > display. > I've already spent way too much time trying to get the Microsoft > WebBrowser > control to work, and I have too many other things to work on to waste any > more time on it. If you know of any third-party HTML Renderers out there, > please let me know. > > Thanks, > Michael C., MCDBA > >
Just a thought, is there a left over that should have been trashed? The left
over still running and missing the app or similar? Some compo thingy
perhaps?
Michael,
I did the exactly as you said in the email, and I did not get any errors
upon shutdown. Do you get this same error when you use the web browser
control in say, a VB6 application? If so, then it would suggest that it is
not .NET, but the web browser control itself.
Also, the eight machines, are they the same configuration (relatively)?
I only ask because if there is a plugin, a browser helper object, or
something of that nature in Internet Explorer which is causing the problem
(it definitely seems like an unmanaged code exception), then I wonder if it
is present in all of the machines where you have tried this on.
Also, the version of Internet Explorer that I am running is the latest,
with XP SP2 installed.
My guess is that this is in an enterprise, where the distributions are
very similar, and that there is a plug in, or a setting for IE that is
causing the error.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message
news:u6******** ******@TK2MSFTN GP15.phx.gbl... Sure. My code works perfectly well, until I drop in the WebBrowser control. I won't include all the Windows Generated WebBrowser code, because I don't change any of it (I can copy and paste the Windows Generated code later if you really feel it's necessary). Here's the code I add myself:
object novalue = System.Reflecti on.Missing.Valu e; object url = "http://www.microsoft.c om"; axWebBrowser1.N avigate2(ref url, ref novalue, ref novalue, ref novalue, ref novalue);
Here's the error I get after shutting down (but *only after adding this code*):
.NET-BroadcastEventW indow.1.0.5000. 0.3: myApplication.e xe - Application Error The exception unknown software exception (0xc0020001) occurred in the application at location 0x77e73887. Click on OK to terminate the program
I've reproduced this error on 8 different machines now (have added one more since the last time, this one with .NET 1.1 SP 1 installed). It gives this error a few seconds *AFTER* the Windows Form shuts down. How do you work around that?
Thanks, Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Michael,
Actually, I would disagree. Because I have not seen this behavior myself, I can't really say that there is a reason to go with something else. If you can post an example of where it gives this, then it's possible that an error could be pointed out, or in the case that there is no error on the part of the code, a workaround.
Can you post an example?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:OU******** ******@TK2MSFTN GP09.phx.gbl... > There's nothing to understand. It generates an application error every > time > I shut down the application. No one can explain why, no one has a > solution, > several people have had similar (if not the exact same) issue. The > unstoppable error messagebox at shutdown is a deal-breaker. Plain and > simple. > > So I ask again, does anyone know of a decent HTML Renderer? > > Thanks, > Michael C., MCDBA > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> > wrote > in > message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. >> Michael, >> >> I don't understand why you wouldn't use the webbrowser? How are you >> trying to feed the HTML to it? It's pretty simple, you can do it through >> memory, or through a file, or through a number of other mechanisms. >> >> >> -- >> - Nicholas Paldino [.NET/C# MVP] >> - mv*@spam.guard. caspershouse.co m >> >> "Michael C" <mi*******@opto nline.net> wrote in message >> news:uF******** ******@TK2MSFTN GP09.phx.gbl... >> > Anyone know of a good HTML Rendering control? I need a control that > will >> > render and display HTML in a Windows form. It doesn't need to pull >> > down >> > HTML pages from the Web - I'll feed it all the HTML it needs to >> > display. >> > I've already spent way too much time trying to get the Microsoft >> > WebBrowser >> > control to work, and I have too many other things to work on to >> > waste > any >> > more time on it. If you know of any third-party HTML Renderers out > there, >> > please let me know. >> > >> > Thanks, >> > Michael C., MCDBA >> > >> > >> >> > >
Does the WindowClosing event fire? Perhaps the following is relevant:
"http://www.kbcafe.com/iBLOGthere4iM/?guid=200405011 50250"?
Try it in a multithreaded app. and see if you get the same results.
I've investigated the heck out of this over the past 2 days, and I've found
some good leads. There are quite a few people who have posted similar
items, and I've e-mailed a guy at microsoft who blogs and claims he's aware
of 6 or 7 causes of this problem, although he seems to hold most of his info
pretty close to the vest.
I'm pretty certain I know why this is happening, and it has nothing to do
with configuration, settings, third-party tools, etc. I'm 99% sure I know
the cause of this problem; I'm 100% sure I don't know how to work around it.
So rather than wasting more time playing with code hoping I accidentally
stumble across a solution, I'd much rather just use a control that won't
error out when I shut down my app.
Thanks,
Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:eV******** ******@TK2MSFTN GP15.phx.gbl... Michael,
I did the exactly as you said in the email, and I did not get any
errors upon shutdown. Do you get this same error when you use the web browser control in say, a VB6 application? If so, then it would suggest that it
is not .NET, but the web browser control itself.
Also, the eight machines, are they the same configuration
(relatively)? I only ask because if there is a plugin, a browser helper object, or something of that nature in Internet Explorer which is causing the problem (it definitely seems like an unmanaged code exception), then I wonder if
it is present in all of the machines where you have tried this on.
Also, the version of Internet Explorer that I am running is the
latest, with XP SP2 installed.
My guess is that this is in an enterprise, where the distributions are very similar, and that there is a plug in, or a setting for IE that is causing the error.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:u6******** ******@TK2MSFTN GP15.phx.gbl... Sure. My code works perfectly well, until I drop in the WebBrowser control. I won't include all the Windows Generated WebBrowser code, because I
don't change any of it (I can copy and paste the Windows Generated code later
if you really feel it's necessary). Here's the code I add myself:
object novalue = System.Reflecti on.Missing.Valu e; object url = "http://www.microsoft.c om"; axWebBrowser1.N avigate2(ref url, ref novalue, ref novalue, ref novalue, ref novalue);
Here's the error I get after shutting down (but *only after adding this code*):
.NET-BroadcastEventW indow.1.0.5000. 0.3: myApplication.e xe - Application Error The exception unknown software exception (0xc0020001) occurred in the application at location 0x77e73887. Click on OK to terminate the program
I've reproduced this error on 8 different machines now (have added one more since the last time, this one with .NET 1.1 SP 1 installed). It gives this error a few seconds *AFTER* the Windows Form shuts down. How do you
work around that?
Thanks, Michael C., MCDBA
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. Michael,
Actually, I would disagree. Because I have not seen this behavior myself, I can't really say that there is a reason to go with something else. If you can post an example of where it gives this, then it's possible that an error could be pointed out, or in the case that there is no error on the part of the code, a workaround.
Can you post an example?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Michael C" <mi*******@opto nline.net> wrote in message news:OU******** ******@TK2MSFTN GP09.phx.gbl... > There's nothing to understand. It generates an application error
every > time > I shut down the application. No one can explain why, no one has a > solution, > several people have had similar (if not the exact same) issue. The > unstoppable error messagebox at shutdown is a deal-breaker. Plain
and > simple. > > So I ask again, does anyone know of a decent HTML Renderer? > > Thanks, > Michael C., MCDBA > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> > wrote > in > message news:%2******** ********@TK2MSF TNGP11.phx.gbl. .. >> Michael, >> >> I don't understand why you wouldn't use the webbrowser? How are you >> trying to feed the HTML to it? It's pretty simple, you can do it through >> memory, or through a file, or through a number of other mechanisms. >> >> >> -- >> - Nicholas Paldino [.NET/C# MVP] >> - mv*@spam.guard. caspershouse.co m >> >> "Michael C" <mi*******@opto nline.net> wrote in message >> news:uF******** ******@TK2MSFTN GP09.phx.gbl... >> > Anyone know of a good HTML Rendering control? I need a control
that > will >> > render and display HTML in a Windows form. It doesn't need to
pull >> > down >> > HTML pages from the Web - I'll feed it all the HTML it needs to >> > display. >> > I've already spent way too much time trying to get the Microsoft >> > WebBrowser >> > control to work, and I have too many other things to work on to >> > waste > any >> > more time on it. If you know of any third-party HTML Renderers
out > there, >> > please let me know. >> > >> > Thanks, >> > Michael C., MCDBA >> > >> > >> >> > >
Exactly.
Thanks,
Michael C., MCDBA
"Joep" <St***@DeStoep. nl> wrote in message
news:41******** *************** @news.xs4all.nl ... Just a thought, is there a left over that should have been trashed? The
left over still running and missing the app or similar? Some compo thingy perhaps?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michele Simionato |
last post by:
I am looking for a textual html renderer (such as lynx) to be
called from a Python program. The only needed functionality is
the following: passing to it a string it should show the html file at
the first match of the string (it does not seem obvious to do it with
lynx, please correct me if I am wrong). Essentially, I want to be able to
to browse rapidly over a bunch of html files. Fancy graphics is not
important, easy of use is very...
|
by: Ian Bicking |
last post by:
Does anyone know of a module that can render HTML to text? Just a
subset of HTML, really; I'd like to compose emails using <p> tags and
whatnot, fill in all the values in the email template, then apply word
wrapping and other formatting. Also, it'll make using Zope Page
Templates with email easier.
Even if all it supports is <p> and <br> that would be enough, but I'm
hoping there's something even more complete out there. I don't need...
|
by: Frank Ratzlow |
last post by:
Hi folks,
I have a list of entries where some entries contain the special
character (quotes) within in the string. If I try to save this
entry everything after the quotes is skipped. The reason for this is
quite obvious, since the resulting html tag looks like this:
<option value="go "again" selected="selected">nochmal
"go</option>
|
by: Michael C |
last post by:
Anyone know of a good HTML Rendering control? I need a control that will
render and display HTML in a Windows form. It doesn't need to pull down
HTML pages from the Web - I'll feed it all the HTML it needs to display.
I've already spent way too much time trying to get the Microsoft WebBrowser
control to work, and I have too many other things to work on to waste any
more time on it. If you know of any third-party HTML Renderers out there,...
|
by: Christopher Benson-Manica |
last post by:
I have the following document, at http://ataru.gomen.org/file/test.html:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
| |
by: ddd |
last post by:
I am trying to build a diff tool that allows me to compare two HTML files. I
am looking for resources on how to achive this. The main problem is that I do
not want to simply highlight the line of code where the change happened, but
rather the word/text that changed.
Example say the html file contains a table with three cells/one row, and all
that changes between the two HTML files that I want to compare is the value
on the second cell. I...
|
by: robert_marquardt |
last post by:
Is there am Open Source tool available for that?
I may need such a tool to create HTML files for eBooks.
eBook renderers may not understand CSS at all or at least have not
access to the CSS file because it is simply not included in the eBook.
|
by: rn5a |
last post by:
I have a HTML page named Index.html which is divided into 3 frames. The
URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP
page.
Now when I go to Windows Explorer, navigate to the folder in which the
all the 4 files (3 HTML + 1 ASP) reside & select Index.html (by
clicking with the mouse or by using the arrow keys on the keyboard),
strangely the Windows "File Download" dialog box (with 'Open', 'Save',
'Cancel', 'More...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |