Results 1 to 34 of 34

Thread: DoEvents Sucks! No Wonder VB is so slow sometimes.

  1. #1

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    DoEvents Sucks! No Wonder VB is so slow sometimes.

    Click to view this thread. It's the solution to all VB programmers problems.

    DoEvents Sucks

    So what do ya think? I believe Microsuck did DoEvents on purpose to keep VB slow.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Yeah right. Microsoft purposly keeps VB slow to maintain their monopoly.

    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Jacob Roman
    Click to view this thread. It's the solution to all VB programmers problems.

    DoEvents Sucks

    So what do ya think? I believe Microsuck did DoEvents on purpose to keep VB slow.
    I think microsoft created visual basic for people who doesn't have a lot of background in computer science. Microsoft did a very good job of hiding many computer science concepts from visual basic programmers. This allows people who doesn't really know a lot about computer science to still be able to write programs that run on the windows operating system. In my opinion they did a very good job of that and that is the #1 reason why visual basic is as popular as it is today.

    Now if you want to create powerful high speed algorithms, you need to learn a language ment more for computer scientist. My best advice is to learn C++ and later on learn assembler. But know that it takes disipline to be able to program in C++. It probably takes about 2 to 3 years of learning before a person can really wield the power of C++.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  4. #4

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Cander
    Yeah right. Microsoft purposly keeps VB slow to maintain their monopoly.

    Then they came out with VB.NET and practically killed off VB's syntax. That syntax has been in BASIC since 1964! And VB.NET is slower too and too object oriented. I like it's new features and all but come on man.

  5. #5

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    I wonder what code they used for DoEvents. C++ always has used PeekMessage for their version of DoEvents. They could have at least stuck with PeekMessage and not use something slower.

  6. #6
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Jacob Roman
    Then they came out with VB.NET and practically killed off VB's syntax. That syntax has been in BASIC since 1964! And VB.NET is slower too and too object oriented. I like it's new features and all but come on man.
    Are you gonna complain about VB.NET being object-oriented? If so, you don't know what you're talking about. Because of OOP being implemented, VB now finally is being considered a 'real' programming language. And what about the syntax? Not much changed as far as I know.
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

  7. #7

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    I didn't say it's Object Oriented. I said it's way too Object Oriented.

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    A programming language either is or is not Object Orientated.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  9. #9
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Jamie, I think you should ban anyone that prefers VB6 to VB.Net, they are clearly dillusional.

    Just because they can't understand OOP doesn't mean .net is bad.
    I don't live here any more.

  10. #10
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by plenderj
    A programming language either is or is not Object Orientated.
    Some are what I call "Ojbect Based" and some are "Object Oriented". I mean you really couldn't call visual basic 6 oop when it didn't allow for polymorphism and inheritance.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  11. #11
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Jacob, you should've complained about this in 1996. Not 2004.

    Nowadays it is fashion to complain about .NET's insanely big framework size.

  12. #12
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Maven; totally agree. VB6 is object based, but definitely not object orientated.
    .NET on the other hand is just purely object orientated, which I like, because I also come from a Java background.


    Wossy; true. Its strange, but I actually feel dirty whenever I open up the VB6 IDE to do something
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  13. #13
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Merri
    Jacob, you should've complained about this in 1996. Not 2004.

    Nowadays it is fashion to complain about .NET's insanely big framework size.
    I'm not the largest fan of .net!

    One thing that annoys me is C#. I really don't understand the need for it. The way they did c++, it almost seems to me their trying to nudge C programmers into the "Microsoft Only" world.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  14. #14
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Well, that's why they've made a Linux compiler for C# - nope, not Microsoft, but other folks. Atleast I think they did one.

  15. #15

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    VB.NET should have been called B++ because it is nothing like VB6. And what I really hate is digging for functions buried thoughout all those classes.

  16. #16
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Jacob Roman
    VB.NET should have been called B++ because it is nothing like VB6. And what I really hate is digging for functions buried thoughout all those classes.
    Wait for the new vb.NET 2005! It brings back lots of the old VB6 features!
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

  17. #17
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Jacob Roman
    VB.NET should have been called B++ because it is nothing like VB6. And what I really hate is digging for functions buried thoughout all those classes.
    Yeah, it must be terrible to actually have to do some work.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  18. #18
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Merri
    Well, that's why they've made a Linux compiler for C# - nope, not Microsoft, but other folks. Atleast I think they did one.
    What I don't understand is why they need a different compiler. I thought .NET was to be like Java - compile once, run anywhere.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  19. #19
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Because people might want to create and compile .NET programs on Linux?

  20. #20
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Merri
    Because people might want to create and compile .NET programs on Linux?
    That's just crazy talk.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  21. #21
    Fanatic Member Slaine's Avatar
    Join Date
    Jul 2002
    Posts
    641

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    OOP is dead, long live AOP
    Martin J Wallace (Slaine)

  22. #22

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    I stopped using objects (Command Buttons, Textboxes, Labels, etc.) a long time ago. Long live DirectX and OpenGL! Now that's what I call OOP. Not that other crap.

  23. #23
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Slaine
    OOP is dead, long live AOP
    That's Aspect Oriented, right?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  24. #24
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    POP would be so great.




    People Orientated Programming.

  25. #25
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    I wasn't so keen on .NET at first, but by now, I'm not sure that I'd want to go back. I feel that I work more efficiently in .NET than I ever did in VB6. If you wanted speed, you shouldn't be in either one...but out on the street buying some.

    Where's I go with that? What I meant to say is that VB was for RAD, C++ for radICAL! .NET does a better job at RAD than VB6, but there is a small learning curve at the beginning.
    My usual boring signature: Nothing

  26. #26
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by crptcblade
    What I don't understand is why they need a different compiler. I thought .NET was to be like Java - compile once, run anywhere.

    run anywhere on windows lol
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  27. #27
    Hyperactive Member Maven's Avatar
    Join Date
    Feb 2003
    Location
    Greeneville, TN
    Posts
    322

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Shaggy Hiker
    I wasn't so keen on .NET at first, but by now, I'm not sure that I'd want to go back. I feel that I work more efficiently in .NET than I ever did in VB6. If you wanted speed, you shouldn't be in either one...but out on the street buying some.

    Where's I go with that? What I meant to say is that VB was for RAD, C++ for radICAL! .NET does a better job at RAD than VB6, but there is a small learning curve at the beginning.
    I'm personally holding out to 2005 comes out, there is suppose to be some C++ fixes.
    Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught. - Oscar Wilde

  28. #28
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by crptcblade
    What I don't understand is why they need a different compiler. I thought .NET was to be like Java - compile once, run anywhere.


    You can compile once and run anywhere. But you still need to have a port of the JIT and all that...just like Java. I have already written a couple VB.NET/C# apps that run on Windows and Linux.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  29. #29
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Maven
    run anywhere on windows lol
    Wrong!
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  30. #30
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by Cander
    You can compile once and run anywhere. But you still need to have a port of the JIT and all that...just like Java. I have already written a couple VB.NET/C# apps that run on Windows and Linux.
    Right, that's what I was getting at. As opposed to C\C++ which is write once, compile a bunch of times.

    I just didn't take into account that someone would be coding in .NET on Linux.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  31. #31

    Thread Starter
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    And I thought this thread was on slow functions like DoEvents. LOL! I blame myself for even bringing up VB.NET. Now it turned into a .NET discussion.

  32. #32
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Well, start complaining about all string handling, graphical commands (PSet, Line, Circle...)... what else... oh yes, automatical data type conversion...

  33. #33
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Angry Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    Quote Originally Posted by TheVader
    Are you gonna complain about VB.NET being object-oriented? If so, you don't know what you're talking about. Because of OOP being implemented, VB now finally is being considered a 'real' programming language. And what about the syntax? Not much changed as far as I know.
    I don't think that the syntax is really taht similar. VB has always been a lazy man's programming language. However this .NET thing scares me. Now that I am actually working on a project in it.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  34. #34
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: DoEvents Sucks! No Wonder VB is so slow sometimes.

    The syntax is EXACTLY the same. Those complaining about VB.NET being a whole new language are delusional and have been brainwashed by the VB6 purists that don't understand what syntax means.

    And if you complain about having to lookup the new functions, well, you shouldn't be programming.

    Sorry, but the constant bull **** surrounding .NET is getting old.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width