Re: vb6 -v- Net!

Tech-Archive recommends: Fix windows errors by optimizing your registry



Which, as I understand it, comes back to the fact that .NET is unusably slow
unless you go the unmanaged code route.


Rob

"Robert Conley" <robertsconley@xxxxxxxxx> wrote in message
news:1175017692.370892.296740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 26, 4:01 pm, "Robert Morley"
<rmor...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Most VB.NET apps provide very slow performance. A case in point
involving
someone on the NG lately who was monitoring input from some kind of USB
electrocardiogram monitor that in VB6 he was monitoring up to 300 bpm.
In
VB.NET, with a LOT of tweaking, he managed to get it to 15 bpm. In other
words, if you're almost dead, this app might be of use; otherwise, it's
pretty useless in VB.NET.

Likely it is a crap Microsoft/Third Party implementation of accessing
the USB hardware. I deal with embedded control and motion control
through Classic VB and it was pretty crappy at first both for
Microsoft and Third Party Vendors. Mostly it had to do with writing
COM code that worked fast.

Now .NET is a whole new game and all that knowledge isn't really
applicable. Worse many .NET controls that vendors put in the first few
years are wrappers around COM control so now you going through two
layers instead of one.

My recommendation is use .NET Reflector and find out what the
libraries are doing. Then building a new implementation that ditches
the part that slows down direct access.

This may require using C++ to bridge between direct hardware access
and .NET. As C++ libraries has access to most of the nice embedded
libraries that allow quick access to hardware under XP.

If you use .NET reflector you will find a lot of the framework are
wrappers around different parts of the Win32 API. Y




.



Relevant Pages

  • Re: Back to VB6 and .NET
    ... the control boxen _don't_ have to run the latest Office. ... just switch easily where we buy computers from in order to keep up ... So we redesigned the software again in 2000 using VB6 to a object ... For VB.NET I have one of our smaller core libraries converted over, ...
    (microsoft.public.vb.general.discussion)
  • RDP Minimum config
    ... Common Control Libraries Version 5 ... Intel Protocol Network Address Translation ...
    (microsoft.public.windowsxp.embedded)
  • RE: Built in function errors.
    ... I've replaced UCase intrinsic function located in the Control ... ways of trying to match all the libraries but so far nothing has worked 100%. ... It is probably that these issues are not related to references. ... updating the software on the client computer and reselecting all ...
    (microsoft.public.access.modulesdaovba)
  • RE: Built in function errors.
    ... located on other tabs in a tab control. ... I had to find a way to use the reference. ... TLBs on the client computer. ... reselect libraries simply makes the application not worth building using ...
    (microsoft.public.access.modulesdaovba)
  • Looking for username password login component
    ... libraries required you to have control of the server because you have ... the server since I'm just using cheapo hosting for the time being. ... Does anyone have experience with either of these packages? ...
    (comp.lang.php)