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 / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Large images in comparison with VB6

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erik - 13 Aug 2005 13:11 GMT
Hi all,

Our software need to work with large bitmaps (approx. 3 to 6 megabytes). Our
previous versions were all build with VB6 and used the PictureBox control to
load, zoom and pan the bitmap. It all works without a problem, and it is
pretty fast. We are rebuilding our software in .Net and experiencing
performance problems when it comes to loading, displaying, panning and
zooming this large bitmaps. In other words: it is unacceptable slow. How
come that the same techniques works flawless in a prehistoric [ :-) ]
programminglanguage/environment and seem to fail completly in a modern one
like .Net?

I've already tried different approaches (like drawing directly on a graphics
surface etc.), but zooming and panning of a large images is realy slow.

Another thing is that those images consume lots more memory in .Net than it
did in VB6....

Am i missing something here? Should i use DirectX? I've googled my *ss of,
but i can't find 'the' solution.....

Hints, tips, URL..... anything is helpfull...

Greets,
Erik.
Cowboy (Gregory A. Beamer) - MVP - 15 Aug 2005 13:43 GMT
I would look at any open source gaming engines you can find in .NET. GDI+
sample apps are also nice. The reason is simple, both deal with graphics
rendering.

Larger? To be expected. Remember that COM and the VB Runtime are preloaded,
so you do not see the overhead footprint when you run a VB COM application.

Performance? Not sure. A C (or perhaps even COM) implementation that
directly contacts the APIs will be fastest. DirectX in C++ will also be very
fast. Neither has a managed environment, so there are trade offs. It is
possible VB COM will be faster. For .NET, the 2.0 framework will be faster
than 1.x.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************

> Hi all,
>
[quoted text clipped - 21 lines]
> Greets,
> Erik.

Rate this thread:







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.