Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 08-09-06   #1 (permalink)
4.0 GHz
 
guitar22891's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Florida
Posts: 997

Rep: 46 guitar22891 is acknowledged by some
Unique Rep: 38
FAQs Submitted: 4
Trader Rating: 0
Default Noob and Visual Basic

So I'm in this programming class this year and we are going to start with visual basic. I really am willing to learn but our teacher sucks and just gives us assignments without teaching. I don't even know the Basics! Well I have to make a simple calculator that can add, divide, multiply, and subtract as well as a timer that counts down our classes and how long we have left in each class.... PLEASE HELP... We are using Visual Studio 2005... I'm going to read so tutorials and figure some stuff out other then that could someone help or give me hints... What are the basic functions or operations?
__________________
Future Upgrades:
  • Another 1gb of GSKILL DDR500
  • Better Graphics Card
Jesus is my Savior

System: My System
CPU
3.0E E0 Presscott @ 3.85
Motherboard
P4P800 SE
Memory
1GB DDR500 Gskill HZ
Graphics Card
FX5500 256mb 128bit AGP
Hard Drive
200GB Sata1.5 Maxtor
Sound Card
Onboard
Power Supply
400w FSP-PN
Case
Xoxide 5 in 1 combo
OS
Windows XP Home & Ubuntu
Monitor
19in Flat Panel
guitar22891 is offline   Reply With Quote
Old 08-09-06   #2 (permalink)
<= Humanaut
 
FrankenPC's Avatar
 
intel nvidia

Join Date: Jun 2006
Location: Bay Area
Posts: 5,548

Rep: 372 FrankenPC is a proven memberFrankenPC is a proven memberFrankenPC is a proven memberFrankenPC is a proven member
Unique Rep: 243
FAQs Submitted: 1
Trader Rating: 4
Default

What do you want to know? I'm a MCSD.NET programmer specializing in VS2005 VB.
__________________
Previous Member of Team Owners - 1st to hit 200k and 250K

Previous member of Rough Riders - 1st to hit 300k!!!

Adios everyone! I've been proud to be a member of Owners and Riders.

System: TITAN-2
CPU
Q6600 G0 @ 3.4GHZ
Motherboard
ASUS P5K-E
Memory
4GB GSkill DDR2-1000 CAS5
Graphics Card
BFG 8800GT OC
Hard Drive
340GB Raptor SATA II
Sound Card
SB X-FI
Power Supply
SilverStone 750W 4-rail
Case
Lian Li Mid-tower
CPU cooling
OCZ Vindicator
GPU cooling
Stock
OS
Vista Home Premium 32bit
Monitor
Sceptre 24" LCD
FrankenPC is offline Overclocked Account   Reply With Quote
Old 08-09-06   #3 (permalink)
4.0 GHz
 
guitar22891's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Florida
Posts: 997

Rep: 46 guitar22891 is acknowledged by some
Unique Rep: 38
FAQs Submitted: 4
Trader Rating: 0
Default

Quote:
Originally Posted by FrankenPC
What do you want to know? I'm a MCSD.NET programmer specializing in VS2005 VB.
Wow really? uhm could you make a simple calculator for me and zip the project... the way I learn is seeing how others do it... I know your a pro and all but keep it simple...
__________________
Future Upgrades:
  • Another 1gb of GSKILL DDR500
  • Better Graphics Card
Jesus is my Savior

System: My System
CPU
3.0E E0 Presscott @ 3.85
Motherboard
P4P800 SE
Memory
1GB DDR500 Gskill HZ
Graphics Card
FX5500 256mb 128bit AGP
Hard Drive
200GB Sata1.5 Maxtor
Sound Card
Onboard
Power Supply
400w FSP-PN
Case
Xoxide 5 in 1 combo
OS
Windows XP Home & Ubuntu
Monitor
19in Flat Panel
guitar22891 is offline   Reply With Quote
Old 08-09-06   #4 (permalink)
<= Humanaut
 
FrankenPC's Avatar
 
intel nvidia

Join Date: Jun 2006
Location: Bay Area
Posts: 5,548

Rep: 372 FrankenPC is a proven memberFrankenPC is a proven memberFrankenPC is a proven memberFrankenPC is a proven member
Unique Rep: 243
FAQs Submitted: 1
Trader Rating: 4
Default

Quote:
Originally Posted by guitar22891
Wow really? uhm could you make a simple calculator for me and zip the project... the way I learn is seeing how others do it... I know your a pro and all but keep it simple...
K, here you go...now I'm not going to do your homework for ya . But this is a simple framework to introduce you to event driven GUI interfaces. It will allow you to add 1,2 or 3 together. It's up to you to add the remaining functionality.

Unzip this and click on the CALC1.SLN file...it's called a solution file. The entire VS2005 application should come up when you do. You can ask me more detailed questions when you play with it.

Make note of the naming conventions I'm using. KEEP IT SIMPLE.
Attached Files
File Type: zip CALC1.zip (50.4 KB, 9 views)
__________________
Previous Member of Team Owners - 1st to hit 200k and 250K

Previous member of Rough Riders - 1st to hit 300k!!!

Adios everyone! I've been proud to be a member of Owners and Riders.

System: TITAN-2
CPU
Q6600 G0 @ 3.4GHZ
Motherboard
ASUS P5K-E
Memory
4GB GSkill DDR2-1000 CAS5
Graphics Card
BFG 8800GT OC
Hard Drive
340GB Raptor SATA II
Sound Card
SB X-FI
Power Supply
SilverStone 750W 4-rail
Case
Lian Li Mid-tower
CPU cooling
OCZ Vindicator
GPU cooling
Stock
OS
Vista Home Premium 32bit
Monitor
Sceptre 24" LCD
FrankenPC is offline Overclocked Account   Reply With Quote
Old 08-09-06   #5 (permalink)
4.0 GHz
 
guitar22891's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Florida
Posts: 997

Rep: 46 guitar22891 is acknowledged by some
Unique Rep: 38
FAQs Submitted: 4
Trader Rating: 0
Default

Quote:
Originally Posted by FrankenPC
K, here you go...now I'm not going to do your homework for ya . But this is a simple framework to introduce you to event driven GUI interfaces. It will allow you to add 1,2 or 3 together. It's up to you to add the remaining functionality.

Unzip this and click on the CALC1.SLN file...it's called a solution file. The entire VS2005 application should come up when you do. You can ask me more detailed questions when you play with it.

Make note of the naming conventions I'm using. KEEP IT SIMPLE.
Ok thanks alot..... I can really build on that... THIS REALLY HELPs.. if I run into problems then I'll ask... for now I'm gonna figure this out...
__________________
Future Upgrades:
  • Another 1gb of GSKILL DDR500
  • Better Graphics Card
Jesus is my Savior

System: My System
CPU
3.0E E0 Presscott @ 3.85
Motherboard
P4P800 SE
Memory
1GB DDR500 Gskill HZ
Graphics Card
FX5500 256mb 128bit AGP
Hard Drive
200GB Sata1.5 Maxtor
Sound Card
Onboard
Power Supply
400w FSP-PN
Case
Xoxide 5 in 1 combo
OS
Windows XP Home & Ubuntu
Monitor
19in Flat Panel
guitar22891 is offline   Reply With Quote
Old 08-09-06   #6 (permalink)
4.0 GHz
 
guitar22891's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Florida
Posts: 997

Rep: 46 guitar22891 is acknowledged by some
Unique Rep: 38
FAQs Submitted: 4
Trader Rating: 0
Default

uh I've run into a problem... I don't know whats wrong but it won't add.... I haven't set the division,sub,or multiply yet... please take a look at my project and help ... that would be awesome...
Attached Files
File Type: zip MySimpleCalculator.zip (60.6 KB, 4 views)
__________________
Future Upgrades:
  • Another 1gb of GSKILL DDR500
  • Better Graphics Card
Jesus is my Savior

System: My System
CPU
3.0E E0 Presscott @ 3.85
Motherboard
P4P800 SE
Memory
1GB DDR500 Gskill HZ
Graphics Card
FX5500 256mb 128bit AGP
Hard Drive
200GB Sata1.5 Maxtor
Sound Card
Onboard
Power Supply
400w FSP-PN
Case
Xoxide 5 in 1 combo
OS
Windows XP Home & Ubuntu
Monitor
19in Flat Panel
guitar22891 is offline   Reply With Quote
Old 08-10-06   #7 (permalink)
PC Gamer
 
mauguai's Avatar
 
intel ati

Join Date: Dec 2004
Posts: 895

Rep: 82 mauguai is acknowledged by some
Unique Rep: 70
FAQs Submitted: 1
Hardware Reviews: 1
Trader Rating: 0
Default

under cmdequal_Click

You've got "Total = txtbox.Text" the wrong way round

Total = num1+num2 (you correctly assign Total to the calculated total)
Total = txtbox.Text (but straight after you overwrite it by assigning Total with whatever is in the textbox)
__________________
System: My System
CPU
P4 prescott 3.0@4.0
Motherboard
Abit IS7-E2
Memory
1gb Corsair 2-2-2-5
Graphics Card
Sapphire X1950 pro 512mb
Hard Drive
3x 80gb
Sound Card
Creative X-Fi
Power Supply
Tagan 480W
Case
Thermaltake Soprano
OS
Windows XP SP2
Monitor
19&quot; LCD LG L1919S
mauguai is offline   Reply With Quote
Old 08-10-06   #8 (permalink)
4.0 GHz
 
guitar22891's Avatar
 
intel nvidia

Join Date: Feb 2006
Location: Florida
Posts: 997

Rep: 46 guitar22891 is acknowledged by some
Unique Rep: 38
FAQs Submitted: 4
Trader Rating: 0
Default

Quote:
Originally Posted by mauguai
under cmdequal_Click

You've got "Total = txtbox.Text" the wrong way round

Total = num1+num2 (you correctly assign Total to the calculated total)
Total = txtbox.Text (but straight after you overwrite it by assigning Total with whatever is in the textbox)
ok thanks a bunch... I see what I did...
__________________
Future Upgrades:
  • Another 1gb of GSKILL DDR500
  • Better Graphics Card
Jesus is my Savior

System: My System
CPU
3.0E E0 Presscott @ 3.85
Motherboard
P4P800 SE
Memory
1GB DDR500 Gskill HZ
Graphics Card
FX5500 256mb 128bit AGP
Hard Drive
200GB Sata1.5 Maxtor
Sound Card
Onboard
Power Supply
400w FSP-PN
Case
Xoxide 5 in 1 combo
OS
Windows XP Home & Ubuntu
Monitor
19in Flat Panel
guitar22891 is offline   Reply With Quote
Old 08-10-06   #9 (permalink)
Overclock it or Die!
 
Modki's Avatar
 
amd ati

Join Date: May 2006
Location: USA
Posts: 6,541
Blog Entries: 3

Rep: 502 Modki is becoming famousModki is becoming famousModki is becoming famousModki is becoming famousModki is becoming famousModki is becoming famous
Unique Rep: 304
FAQs Submitted: 1
Hardware Reviews: 4
Trader Rating: 6
Default

Flowcharts. Liek srsly. They help alot.
__________________
System: ZOHAR
CPU
AMD X2 5000+ Black Edition @ 3.2Ghz
Motherboard
Gigabyte GA-MA770-S3
Memory
2GB Crucial Ballistix DDR2 1066
Graphics Card
HIS Radeon HD4850
Hard Drive
250GB WD SATAII
Sound Card
Realtek HD Audio
Power Supply
Silverstone ST60F 600W
Case
Antec 300
CPU cooling
Arctic Cooling Freezer 64 Pro
GPU cooling
Stock Fans
Monitor
Sony Bravia 32"
Modki is offline Overclocked Account Modki's Gallery   Reply With Quote
Old 08-10-06   #10 (permalink)
<= Humanaut
 
FrankenPC's Avatar
 
intel nvidia

Join Date: Jun 2006
Location: Bay Area
Posts: 5,548

Rep: 372 FrankenPC is a proven memberFrankenPC is a proven memberFrankenPC is a proven memberFrankenPC is a proven member
Unique Rep: 243
FAQs Submitted: 1
Trader Rating: 4
Default

Quote:
Originally Posted by mauguai
under cmdequal_Click

You've got "Total = txtbox.Text" the wrong way round

Total = num1+num2 (you correctly assign Total to the calculated total)
Total = txtbox.Text (but straight after you overwrite it by assigning Total with whatever is in the textbox)

^^What he said
__________________
Previous Member of Team Owners - 1st to hit 200k and 250K

Previous member of Rough Riders - 1st to hit 300k!!!

Adios everyone! I've been proud to be a member of Owners and Riders.

System: TITAN-2
CPU
Q6600 G0 @ 3.4GHZ
Motherboard
ASUS P5K-E
Memory
4GB GSkill DDR2-1000 CAS5
Graphics Card
BFG 8800GT OC
Hard Drive
340GB Raptor SATA II
Sound Card
SB X-FI
Power Supply
SilverStone 750W 4-rail
Case
Lian Li Mid-tower
CPU cooling
OCZ Vindicator
GPU cooling
Stock
OS
Vista Home Premium 32bit
Monitor
Sceptre 24" LCD
FrankenPC is offline Overclocked Account   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:17 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 6.87310 seconds with 9 queries