Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / February 2004

Tip: Looking for answers? Try searching our database.

Embedding Shdocvw zaps performance.  Are there managed replacements?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason Thomas - 29 Jan 2004 15:51 GMT
I'm currently re-writing the GUI of my application to improve speed,
reduce memory consumption and startup time, and make it prettier.  I
currently embed msie to show a basic informational page.  But this
takes 9 meg of RAM and about 3 seconds to instantiate.  This is
unacceptable.  I need to dump shdocvw.

Does anyone know of a managed basic html / xhtml rendering engine?  It
don't need scripting, I wouldn't mind, but don't need CSS.  I don't
need to interact with the object model.

And yes, I'm also optimizing other components as well, but must get
over this hump too.

Thanks in advance.

-
Jason
Nat - 30 Jan 2004 03:20 GMT
Are you using mshtml.dll? If so, it might be worthwhile to use latebinding
instead.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q305622

If it doesn't help, try this instead
http://www.iol.ie/~locka/mozilla/mozilla.htm

Nat

> I'm currently re-writing the GUI of my application to improve speed,
> reduce memory consumption and startup time, and make it prettier.  I
[quoted text clipped - 13 lines]
> -
> Jason
Jason Thomas - 02 Feb 2004 04:44 GMT
No.  mshtml was way too big.  I implemented DWebBrowserEvents so that
I could get click events, but I don't even need that anymore.  I guess
that I could be open to an active-x component, but would definatly
prefer managed code and am looking for something small, say < 100k on
disk so that I don't bloat my install package.  I know 100K isn't that
much, but I don't need much functionality either.  And yes, as you can
see, I'm picky.

-
Jason

> Are you using mshtml.dll? If so, it might be worthwhile to use latebinding
> instead.
[quoted text clipped - 22 lines]
> > -
> > Jason
Joel Lucsy - 03 Feb 2004 15:46 GMT
Try http://terrainformatica.com/htmlayout/index.htm

> I'm currently re-writing the GUI of my application to improve speed,
> reduce memory consumption and startup time, and make it prettier.  I
> currently embed msie to show a basic informational page.  But this
> takes 9 meg of RAM and about 3 seconds to instantiate.  This is
> unacceptable.  I need to dump shdocvw.
Stefano \ - 04 Feb 2004 09:21 GMT
> Try http://terrainformatica.com/htmlayout/index.htm

Cool! Very nice. I think I am going to try this. The samples I downloaded
show only one problem (I haven't had time to investigate if it can be solved
with the SDK provided): one cannot use the arrow keys to scroll pages larger
than the window's area.
Signature

 WildHeart'2k4

Andrew Fedoniouk - 15 Feb 2004 23:49 GMT
> one cannot use the arrow keys to scroll pages.

Hi, Stefano!
You can send WM_VSCROLL(THUMBPOSITION) while handling e.g.
WM_KEYDOWN(PAGE UP/DOWN) to scroll it.

In the next version of HTMLayout (renamed to HTMEngine = HTMLayout +
HTMEditor) there is also function named ScrollToView(RECT) to scroll
e.g. to control gaining focus.

HTMEngine is also lightweight HTML WYSIWYG editor - replacement for
RichText. Formatted text, tables, images, CF_HTML support.

Andrew.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.