![]() |
VB6 Project 1 - Calculate this. - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Programming (https://mirage-engine.uk/forums/forumdisplay.php?fid=24) +----- Forum: Visual Basic 6 (https://mirage-engine.uk/forums/forumdisplay.php?fid=32) +----- Thread: VB6 Project 1 - Calculate this. (/showthread.php?tid=2732) |
VB6 Project 1 - Calculate this. - Jacob - 11-04-2009 I'm going to try to write small projects users can build to help learn VB6. This will also help others by providing different methods / ideas on how to solve a solution. If you have any ideas for a project please PM me. I will give you full credit if I use it. Our first program will be a small calculator program. You must be able to input any 2 numbers and use all basic math operators (+,-,/,*). The user must be able to pick what mathematical operator to use. Overview
Notes
Re: VB6 Project 1 - Calculate this. - Rian - 11-04-2009 Your address is wrong. Htpp. Lol. But I tried it the right way, and it still doesn't work. Re: VB6 Project 1 - Calculate this. - Rian - 11-04-2009 You fixed it! Re: VB6 Project 1 - Calculate this. - Jacob - 11-04-2009 I did a brief look through and it looks great so far! Re: VB6 Project 1 - Calculate this. - KruSuPhy - 12-04-2009 Download mine; http://www.megaupload.com/?d=O14UO35P Textbox calculator. This was like, the second program I ever made. I've always liked it better than the command button calculator. Updated it a little today, too. (First being the Command1_Click() MsgBox "Hello World!" Shit, lol) Re: VB6 Project 1 - Calculate this. - Anarchy - 17-04-2009 :'( [spoiler] ![]() Re: VB6 Project 1 - Calculate this. - KruSuPhy - 19-04-2009 http://www.megaupload.com/?d=V4K3VJAK Eh. changed it a little bit. Fixed the Divide by zero error I'm pretty sure. I think Type mismatch is gone, too. Re: VB6 Project 1 - Calculate this. - Exadon - 16-05-2009 KruSuPhy Wrote:http://www.megaupload.com/?d=V4K3VJAK I still get the divide by zero error. Code: Case DIVISION it seems you could trap the error right in the case statement here. I looked at your code for a bit but did not see where you were trying to trap it before. Re: VB6 Project 1 - Calculate this. - Exadon - 16-05-2009 I am not sure if my calc has any errors...but here it is. |