VB vs. C

This is a discussion on VB vs. C within the A Brief History of Cprogramming.com forums, part of the Community Boards category; can u really do more with C than VB ? with vb you can take hold of any program and ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    83

    VB vs. C

    can u really do more with C than VB? with vb you can take hold of any program and run commands in it, like runing a menu option, but can u do this with c? if yes , than how?
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    SendMessage

  3. #3
    Registered User
    Join Date
    May 2002
    Posts
    83

    sendmessage?

    ?
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  4. #4
    Banned borko_b's Avatar
    Join Date
    Jun 2002
    Location
    Well... I live in Bulgaria :)
    Posts
    100
    >>can u really do more with C than VB?..

    There are many things you cannot do in VB
    one them is the fact that you cannot make executables...
    VB is interpreted language... and it is slow...

    >> with vb you can take hold of any program and run commands >> in it, like runing a menu

    What exactly do you mean to *take hold of *
    to hold what? the execution of a program?

  5. #5
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,136
    SendMessage is a function included in windows.h. With it (and other windows.h functions), you can simulate just about everything a user could possibly do.

  6. #6
    Registered User
    Join Date
    May 2002
    Posts
    83

    hey

    thanks, can you tell me were i can find out more about windows.h and sendmessage
    thx
    "What this country needs is more free speech worth listening to." - -Hansell B. Duckett

  7. #7
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802

  8. #8
    Registered User
    Join Date
    Apr 2002
    Posts
    133
    Wow, its sad that someone even needs to ask that question.
    flashdaddee.com rocks!!!

  9. #9
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    vb isn't just interpreted. it can be compiled too.

  10. #10
    TK
    Guest
    VB can not do as many things as C can do for the simple fact that the Microsoft operating system is built in C. Most of the major subsystems have C function interfaces. VB is a rapid application development language. The VB language is written in C, and it was designed to allow for easy construction of windows programs. The VB language does not exist anymore.

  11. #11
    Banned borko_b's Avatar
    Join Date
    Jun 2002
    Location
    Well... I live in Bulgaria :)
    Posts
    100
    >>...vb isn't just interpreted. it can be compiled too...

    May be but the exe comes with its interpreter i think...
    its some dll .. vb***.dll

    you cannot actually write a Win32 program in VB...
    Show me a way of using standart kernel32.dll functions in VB...

    They are all called into the vb***.dll one way or another
    and you're using the API provided by this vb***.dll

    So you're not making a Win32 program actually

    you're using the API provided by some Virtual machine...

  12. #12
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    >>one them is the fact that you cannot make executables...

    WHAT DID YOU SAY?? Have you ever programmed in VB? do you know what VB is? And I guarantee that you can make any VB program nearly as fast if not as fast as any C program.

    >>May be but the exe comes with its interpreter i think...
    its some dll .. vb***.dll

    you cannot actually write a Win32 program in VB...
    Show me a way of using standart kernel32.dll functions in VB...<<

    you're on crack...

    >>The VB language does not exist anymore.


    You people are living in a C bubble... wakeup...

  13. #13
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,786
    Originally posted by ober5861
    And I guarantee that you can make any VB program nearly as fast if not as fast as any C program.
    As far as I know, VB 6 cant make properly naitive system calls........the VB runtime dll thats loaded into the process does all that

    A well written SDK program using a decent compiler should trounce anything written in VB

    And I'm not saying this as a kneejerk C_KILLS_ANYTHING reaction (I fool with some VBA and VBScript myself )

  14. #14
    Me want cookie! Monster's Avatar
    Join Date
    Dec 2001
    Posts
    680
    Originally posted by borko_b
    you cannot actually write a Win32 program in VB...
    Show me a way of using standart kernel32.dll functions in VB...
    Code:
    Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
    
    Private Sub DoBeep()
        Beep 2000, 500
    End Sub

  15. #15
    Banned borko_b's Avatar
    Join Date
    Jun 2002
    Location
    Well... I live in Bulgaria :)
    Posts
    100
    >>... Have you ever programmed in VB? ...
    Not a single line in VB...
    only qbasic, basic and apple 2 8 bit BASIC when i was young

    >>...do you know what VB is?
    Yes i do.. its a crap...

    >> And I guarantee that you can make any VB program nearly as >>fast if not as fast as any C program.
    Prove it...

    >>you're on crack...
    No i am not...
    but i smoke Marijuana from time to time with friends on parties...


    >>You people are living in a C bubble... wakeup...
    VB is bubble , and it is going to pop...

Page 1 of 8 12345678 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing an Array of Strings from VB to a C DLL
    By mr_nice! in forum Windows Programming
    Replies: 9
    Last Post: 03-08-2005, 05:16 AM
  2. C with VB ?
    By khpuce in forum Windows Programming
    Replies: 2
    Last Post: 02-21-2005, 07:00 AM
  3. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 02:13 AM
  4. VB Calling Convention?!
    By minime6696 in forum Windows Programming
    Replies: 6
    Last Post: 03-27-2002, 03:39 PM
  5. Sending a string to C++ from VB 6.
    By VirtualAce in forum C++ Programming
    Replies: 4
    Last Post: 08-21-2001, 02:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21