Important alert: (current site time 7/16/2013 12:34:17 AM EDT)
 

article

_A Great VB to C++ Tutorial! FINALLY!!

Email
Submitted on: 1/17/2003 9:03:18 AM
By: Jaime Muscatelli  
Level: Intermediate
User Rating: By 52 Users
Compatibility: VB 6.0
Views: 54559
author picture
(About the author)
 
     Ok, yes we all love vb. But didn't / don't you want to learn and harness the power of c++? THIS TUTORIAL INCLUES EVERYTHING for starting out from vb to c++. This is a great, authoritive, comprehensive tutorial that shows you C++ side by side using vb code. Six part tutorial that covers everything from syntax to the IDE to 2 types of Win32 window creation. Callback functions, and over 25 screenshots with the side by side code and tutorials. You should have a pretty good handle on vb, yet it is EXTREMELY EASY to FOLLOW! Comes with source and example code, duplicate programs written in vb and then in c++, shows how to use c++ (WITHOUT CHEEZY MFC) and the REAL Win32 way. Make your own windows with your own classnames, use DialogBox(); Declaring Variables, CALLBACK functions, Fully commented. You may say that you don't need c++, but how do you think the API Dlls are made? Not with VB's ActiveX Dll. You can integrate c++ with VB by writing complex dlls and simply calling them in VB! I Promise you success! ohhh it is so sweet.This will teach you a lot. PLEASE download and vote! Check it out! KEYWORDS: C++ TUTORIAL VBTOC++ WIN32 Win32 RegisterClass CreateWindow FindWindow CALLBACK Switching Jaime Muscatelli

 
winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.


Other 17 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
1/17/2003 10:20:32 AMRMD Software

Excellent tutorial ! The best !
(If this comment was disrespectful, please report it.)

 
1/17/2003 11:51:38 AMMartin

Good job, Jaime. May I suggest that you create a link on the html pages ie[Next]. Look forward to another one of your tutorials. You've got a good style mixing a little humour with simple instructions. Another minor suggestion would be to run a spell check on the docs. Tutorials are hard to write so keep up the good work.
(If this comment was disrespectful, please report it.)

 
1/17/2003 3:45:44 PM

Ditto Martin. A next link on each page would be a nice improvement. Also, check out the sizes for your images; many of them are stretched and look horrid.

Also a proofread would not be out of line.

All in all a good tutorial to get VB'ers into C++. I had both VB and C++ in college and the only thing we did in the C++ class was create console (aka DOS) apps. It really sucked, but I did learn quite a bit.
(If this comment was disrespectful, please report it.)

 
1/17/2003 4:07:46 PMJaime Muscatelli

Hey guys, thanks for voting and downloading. I wrote this only last night (till 3 in the morning). Forgive me for the errors and whatnot. I used large screenshots because I just got lazy lol. MAKE SURE you check out some of my other tutorials, and MAKE SURE you search in C++ for Win32, and download some of my c++ submissions (GEARED right from this tutorial!)
(If this comment was disrespectful, please report it.)

 
1/18/2003 12:59:00 PM

I am looking forward to read your tutorial. I have a piece of code written in VC++, which I need to translate to VB and your tutorial will be really helpful I am sure.
(If this comment was disrespectful, please report it.)

 
1/19/2003 6:42:38 AM

thank you
(If this comment was disrespectful, please report it.)

 
1/26/2003 3:53:43 AM

Very Good Article. Thank you.
(If this comment was disrespectful, please report it.)

 
3/11/2003 11:30:35 AMSäure

This article was great. Helped ease the transition from VB to VC++. Of course I used other stuff to learn the rest, but its a good "starter block."
(If this comment was disrespectful, please report it.)

 
3/22/2003 2:06:06 AMRichard L.

Well Done I love this tutorial!
(If this comment was disrespectful, please report it.)

 
3/28/2003 2:22:17 PMDuck Master

Exelent thanx for this tutorial !
(If this comment was disrespectful, please report it.)

 
4/28/2003 2:06:22 PM

You are a genius I have been looking for something like this for ages thank you soooooooooo much
(If this comment was disrespectful, please report it.)

 
5/15/2003 6:09:45 PMSarafraz Singh Johl

Well i haven't DOwnloaded the tut yet, but if all this is really true, im gona fain. ive been after such a thing from years. Those console c applications suck.
If it's good ull get 5 globes from me dude. -

cassamine
(If this comment was disrespectful, please report it.)

 
5/27/2003 5:38:46 PM

Very good, 5 globes. any chance of making some more tutorials like this for us.
(If this comment was disrespectful, please report it.)

 
7/22/2003 1:16:33 AM

thank you for your excellent tutorial!
(If this comment was disrespectful, please report it.)

 
8/14/2003 5:19:05 PMAndrew Vos

nice!
(If this comment was disrespectful, please report it.)

 
8/22/2003 11:20:50 PMNicholas Hirsch

Awsome dude, I have to learn some VB for a job, and I only know C++. Thanks.
(If this comment was disrespectful, please report it.)

 
8/27/2003 9:19:19 PMFilex

great job on the tutorial, a transition without help such as this is always harder
(If this comment was disrespectful, please report it.)

 
10/23/2003 5:53:14 PM

great tut mate. do u know where i can find a tuturial of how to translate c++ to vb? reply to crux_pt@yahoo.com please. thanks mate ;)
(If this comment was disrespectful, please report it.)

 
2/1/2004 9:31:19 AMMicheal Winger

Excellent! I've loved VB, and wanted to learn C++ a long time ago, but could never stop screwing up my syntaxes and such because I knew VB. Thanks for the great tutorial! I can now get beeter in C++ too!
(If this comment was disrespectful, please report it.)

 
2/1/2004 9:43:21 AMNorm Cook

Great job. I've dabbled in c++ but I hate the semicolons & case sensitivity. VB's intellisense makes you lazy. Thanks for sharing.
(If this comment was disrespectful, please report it.)

 
2/1/2004 12:53:38 PM

What else can I say! Thank you very much for this... 5 GLOBES!
(If this comment was disrespectful, please report it.)

 
2/2/2004 9:25:40 AMVisualcode

Have not downloaded yet, but just wanted to tell you, Jaime Muscatelli is an Auto keyword. You dont need to add that one.
(If this comment was disrespectful, please report it.)

 
2/14/2004 7:20:34 AMKStudio.Inc

Thanks man! Maybe you can make some tutorial for migration in DirectX8 from VB to VC++? :-)
(If this comment was disrespectful, please report it.)

 
6/20/2004 4:46:29 PMDaniel W Elkins

Great article! I wish you would write another one! Perhaps with basic file input/output, using some of the common controls, etc. I hope to see another article from you soon, you make it really easy to understand.
(If this comment was disrespectful, please report it.)

 
7/22/2004 4:39:22 AM

What should i say ? this is very great article. It helps me alot in converting an SDK created in c++ to VB ;)
(If this comment was disrespectful, please report it.)

 
8/26/2004 7:38:48 PM

Looks very promising! cant wait to finally learn c++!!
(If this comment was disrespectful, please report it.)

 
11/14/2004 1:18:48 AM110100100

This really is A Great VB to C++ Tutorial! Thanks!
(If this comment was disrespectful, please report it.)

 
1/10/2005 10:33:04 PM

Cool Dude,
That was an amazing tutorial on a true Win32 program. Thanks for the time taken and yes a five from me. Keep up the good work and i'll be waiting for any new tutorial from you.
(If this comment was disrespectful, please report it.)

 
1/14/2005 11:54:00 AMx2cube

thanks for the tutorial, it's great! 5 from me
(If this comment was disrespectful, please report it.)

 
1/24/2005 9:50:53 PM

Great Job man, I find very very usefull...
(If this comment was disrespectful, please report it.)

 
2/19/2005 11:49:56 PM

How many people on here actually learned/read the code. Not download some type of switch/cpnvert tutorial and it worked on your program?
(If this comment was disrespectful, please report it.)

 
4/3/2005 4:00:07 PM

i havnt read the article yet but it should help me ive only just started programming and later on i would like to program in c/c++ so thanks,it should prove very usefull for future reference.
(If this comment was disrespectful, please report it.)

 
9/3/2005 8:52:19 PMBrian Ail

Well good, but the end of part II really makes me lose the appetite
(If this comment was disrespectful, please report it.)

 
12/29/2006 7:00:23 AMMr.Intermediate

tnx for the info ^^
(If this comment was disrespectful, please report it.)

 
4/28/2007 12:01:26 PMAlex

An AMAZING tutorial, make some more :)


(If this comment was disrespectful, please report it.)

 
6/16/2007 11:09:36 PMManuel

hELlOW!!it was a nice tutorial.But there's another thing i want to know.It seems to be a "c++ to vb" super technique,please help.Please tell me how do vb programmers, use ".res" file in their programs and why do they use it.A posted tutorial is a great help.
Thankz....
(If this comment was disrespectful, please report it.)

 
11/21/2007 3:55:44 AMKen

Wow! This is a good tutorial for C++ and VB! Thanks!!!!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.