Results 1 to 11 of 11

Thread: Are you kidding me!!!

  1. #1

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    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

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

    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++
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    You need to insert a new Dialog form in your workspace and follow by dragging a a Button into the dialog.

  4. #4

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    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

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

    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..

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

  6. #6
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    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.

  7. #7

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    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

  8. #8
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    yes, cost is one of the factor. but behind it could be having another reason to do so.

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

    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  10. #10
    Member
    Join Date
    Jan 2001
    Location
    Washington, USA
    Posts
    61

    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]

  11. #11

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444
    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
  •  



Click Here to Expand Forum to Full Width