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?
Printable View
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?
SendMessage
?
>>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?
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.
thanks, can you tell me were i can find out more about windows.h and sendmessage
thx
Wow, its sad that someone even needs to ask that question.
vb isn't just interpreted. it can be compiled too.
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.
>>...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...
>>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... :rolleyes:
>>The VB language does not exist anymore.
:eek:
You people are living in a C bubble... wakeup...
As far as I know, VB 6 cant make properly naitive system calls........the VB runtime dll thats loaded into the process does all thatQuote:
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.
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 :))
Quote:
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
>>... 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...