|
-
Jan 17th, 2001, 10:26 AM
#1
Thread Starter
Hyperactive Member
I learned C when I was in school.
I have realized that VB has some limits that can't be overcome. I have VC ++ on this machine and I just started playing with it. A simple hello world msgbox is 168KB in size and it takes 4 files.
it is 16KB in VB (I know it needs the vb runtime dll)
Just the overhead in writting a simple program seems amazing to me.
How can a company afford all that design time? it must take three times as long to get simple things done.
I can't even find out how to draw a form that has a simple command button.
PS how do you make a form with a command button in VC++ 6.0?
Now I know why programs in C++ cost so much, it took them a day to make the message box....
I am so skeptical, I can hardly believe it!
PS I am not a 'hyperactive member' I am a cool, calm, and collected member 
-
Jan 17th, 2001, 10:34 AM
#2
re
Goto your REsources tab in your workspace viewer (on left). Insert a new dialog. Then you can draw a form with command button. Give it a name then you can call it from C++ with
DialogBox(Some other stuff I forget!) :P
Not hugely experienced with VC++
-
Jan 17th, 2001, 10:35 AM
#3
PowerPoster
You need to insert a new Dialog form in your workspace and follow by dragging a a Button into the dialog.
-
Jan 17th, 2001, 10:46 AM
#4
Thread Starter
Hyperactive Member
do most companies use VB for their programming, and just write little DLL's in C++ that can't be done in VB?
I have become so used to starting and finishing a program in a week, that I can not understand how anyone can invest the time to write an entire program in C++
I now appreciate DLL files much more. My VB programs appear to be much smaller then a C++ program of the same function.
I am so skeptical, I can hardly believe it!
PS I am not a 'hyperactive member' I am a cool, calm, and collected member 
-
Jan 17th, 2001, 10:56 AM
#5
re:
Depends. Software companies that write software for general public use generally go with C becuase speed and compatability becomes an issue. But companies that write software for internal use are starting to lean more towards VB becuase they KNOW what it will be isntalled on and how it will be used and they can get it done faster..
-
Jan 17th, 2001, 11:04 AM
#6
PowerPoster
Cander, I'm not really agree with your point. 'Coz I did work i one mpany which using Visual Basic 5.0
to write a the full Hospitality system for world wide hotel management use and also Call Center Application as well.
Not all the software company will use C/C++ to write application for public use and juz use VB
develop in house application.
'This becuase I feel that it hard to get a good C/C++ programmer as compare to hire a experience VB programmer.
-
Jan 17th, 2001, 11:48 AM
#7
Thread Starter
Hyperactive Member
I write apps for in house use only. My apps get put on a network drive and everyone runs from that one app. This makes it easier for maintaining and making updates.
The DLL files don't change as often as my programs so this system has worked well. In my limited example my VB app was 1/10th the size of the C++ app. I would think that for me VC may have a performance problem.
Why train someone in C++ when VB seems to have a shorter leaning curve. From a managers point of view, Programs take less time to develop and it takes less time to learn the language. It seems like a win/win. My programs save us hours per project so if a VB app takes an extra two seconds to run, so what.
It would seem that VC++ has an advantage at threading and writting device drivers.
I have not come into a situation where I HAD to use threading.
I guess there are time a person needs VC++ but it appears to me that it is few and far between.
Chris/cander.. (IMO)I would think if your company only makes software you would want to us VB because it is RAD there by reducing your companies costs and time to market.
I am so skeptical, I can hardly believe it!
PS I am not a 'hyperactive member' I am a cool, calm, and collected member 
-
Jan 17th, 2001, 11:54 AM
#8
PowerPoster
yes, cost is one of the factor. but behind it could be having another reason to do so.
-
Jan 17th, 2001, 11:59 AM
#9
re:
Well I didnt say all Chris. I said generally that is the case. You dont really see much (if any. Ive only seen 1 .) software written in VB on a shelf at Office Depot or other software stores. But in reference to your project, you were still in a fairly controlled environment which makes an app in VB more acceptable. But of course now with the .NET stuff and faster computers these days, what I said will eventually no longer be true.
-
Jan 17th, 2001, 02:45 PM
#10
Member
About the C++ program you wrote
Did you compile it as 'Win32 Debug'? If so, then the program would easily be 160K big.
Instead, switch to 'Win32 Retail'.
Book to check out, for a good introduction to Win32 API programming is
Programming Windows, The Definitive Guide to the Win32 API
Samwise Galenorn
[email protected]
-
Jan 17th, 2001, 02:47 PM
#11
Thread Starter
Hyperactive Member
how do I make the change to retail?
I am so skeptical, I can hardly believe it!
PS I am not a 'hyperactive member' I am a cool, calm, and collected member 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|