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 02-21-07   #1 (permalink)
Programmer
 
MTPAPA121's Avatar
 
intel ati

Join Date: Feb 2007
Posts: 154

Rep: 2 MTPAPA121 Unknown
Unique Rep: 1
Trader Rating: 0
Default How do I program buttons in Visual Basic?

Im New So If I Do Sumthin Wrong Tell Me

On Visual Basic How Do You program Buttons so they actucually work and go places?
__________________
Lovin My PS3
Playstation Network ID: MTPAPA121

System: 20" imac that isnt a lame PC
CPU
Intel Core 2 Duo
Motherboard
imac
Memory
3 GB
Graphics Card
Intel 945GM Express Chipset Controller
Hard Drive
250 GB
Sound Card
Built In
Power Supply
Wall
Case
imac
CPU cooling
stock
GPU cooling
ATI Radeon HD 2400
OS
Mac OS X 10.5.4
Monitor
20" LCD

Last edited by MTPAPA121 : 02-21-07 at 04:20 PM.
MTPAPA121 is offline   Reply With Quote
Old 02-21-07   #2 (permalink)
Turing Test is Overrated
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 24,173

Rep: 2802 DuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legend
Unique Rep: 1293
Folding Team Rank: 966
Trader Rating: 34
Default

Geez... lower your font size and use a better topic.

Have you taken any courses or have any manuals on VB?
__________________
WANTED: Socket M Core/Core 2 CPU, SUGO-02 Black, quality 802.11b/g PCI Card
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it will work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single/Non-Modular Rail PSUs are NOT better than Multi-Rail/Modular

Quote:
catmmm: no wifi? gay
e_dogg: I use both wired and wireless in my house. Does that make me bi?

System: My "DF-DIE" Replacement
CPU
Q6600 (3.7GHz)
Motherboard
Asus P5E X38 (MF1208 BIOS)
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
8800GT (729/1836/2088)
Hard Drive
PERC 5/i: 3xRAID0 Raptor 74GB + 7200.10 250GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
MCW60 + Iandh HS + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"
DuckieHo is online now I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 02-21-07   #3 (permalink)
Programmer
 
MTPAPA121's Avatar
 
intel ati

Join Date: Feb 2007
Posts: 154

Rep: 2 MTPAPA121 Unknown
Unique Rep: 1
Trader Rating: 0
Default

Better???
__________________
Lovin My PS3
Playstation Network ID: MTPAPA121

System: 20" imac that isnt a lame PC
CPU
Intel Core 2 Duo
Motherboard
imac
Memory
3 GB
Graphics Card
Intel 945GM Express Chipset Controller
Hard Drive
250 GB
Sound Card
Built In
Power Supply
Wall
Case
imac
CPU cooling
stock
GPU cooling
ATI Radeon HD 2400
OS
Mac OS X 10.5.4
Monitor
20" LCD
MTPAPA121 is offline   Reply With Quote
Old 02-21-07   #4 (permalink)
Turing Test is Overrated
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 24,173

Rep: 2802 DuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legend
Unique Rep: 1293
Folding Team Rank: 966
Trader Rating: 34
Default

Quote:
Originally Posted by MTPAPA121 View Post
Better???
Now, do you have any background in programming? Do you know how to use VB? What exactly did you want to do?
__________________
WANTED: Socket M Core/Core 2 CPU, SUGO-02 Black, quality 802.11b/g PCI Card
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it will work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single/Non-Modular Rail PSUs are NOT better than Multi-Rail/Modular

Quote:
catmmm: no wifi? gay
e_dogg: I use both wired and wireless in my house. Does that make me bi?

System: My "DF-DIE" Replacement
CPU
Q6600 (3.7GHz)
Motherboard
Asus P5E X38 (MF1208 BIOS)
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
8800GT (729/1836/2088)
Hard Drive
PERC 5/i: 3xRAID0 Raptor 74GB + 7200.10 250GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
MCW60 + Iandh HS + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"
DuckieHo is online now I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 02-21-07   #5 (permalink)
Programmer
 
MTPAPA121's Avatar
 
intel ati

Join Date: Feb 2007
Posts: 154

Rep: 2 MTPAPA121 Unknown
Unique Rep: 1
Trader Rating: 0
Default

i know qbasic and only how to make and name stuff in vb
__________________
Lovin My PS3
Playstation Network ID: MTPAPA121

System: 20" imac that isnt a lame PC
CPU
Intel Core 2 Duo
Motherboard
imac
Memory
3 GB
Graphics Card
Intel 945GM Express Chipset Controller
Hard Drive
250 GB
Sound Card
Built In
Power Supply
Wall
Case
imac
CPU cooling
stock
GPU cooling
ATI Radeon HD 2400
OS
Mac OS X 10.5.4
Monitor
20" LCD
MTPAPA121 is offline   Reply With Quote
Old 02-21-07   #6 (permalink)
Overclocker
 
charbs152's Avatar
 
amd nvidia

Join Date: Dec 2006
Location: upstate NY
Posts: 957

Rep: 101 charbs152 is acknowledged by manycharbs152 is acknowledged by many
Unique Rep: 44
Trader Rating: 0
Default

please fill in your system specs via the User CP so we can better assist you

thanks
__________________


money needed for new rig: $1000
money saved: $576
money left to save: $424

$0|||||||||||||||||||||||||||||||||||||||| $1000
576

Quote:
Originally Posted by startekee View Post
no i have a dual core pentium 4 not ht

System: THE ATHLON
CPU
AMD Athlon 1.2GHz (socket A)
Motherboard
pcchips M810LR
Memory
384mb pc133
Graphics Card
PNY FX5500 128MB
Hard Drive
320GB Western Digital
Sound Card
XiFi
Power Supply
400 Watt Ultra X-Connect
Case
cheapo
CPU cooling
TR2-M3
OS
dual boot Ubuntu 7.10 (gutsy) + Windows XP Pro SP3
Monitor
17" CRT/ Viewsonic NX1932w 19" lcd
charbs152 is offline charbs152's Gallery   Reply With Quote
Old 02-21-07   #7 (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

In visual studio, you drag a button onto a form and double click it. It will open the "event" triggered by the mouse click on the button. In that event (which is really a function or sub-routine) put your VB code.
__________________
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 02-21-07   #8 (permalink)
Security Sleuth
 
kc-tr's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: root@big-brother:/$
Posts: 1,849

Rep: 119 kc-tr is acknowledged by manykc-tr is acknowledged by many
Unique Rep: 96
Hardware Reviews: 1
Trader Rating: 8
Default

I think what duckie is trying to get at is that, there is more to making an application than opening up VB6 slapping buttons on it, changing a few colors, and then hoping that it is going to do what you have planned. First question is...

1. What do you want it to do?

Figure out what you first want the program to do because if not, you dont even know where to start.

2. Research.

See if anyone else has made an app. like what you want and see if it would be more of a waste of time to re-build one that is already done and useable.
If so, or if you just simply want to add your own touch to it. Start back at step 2 and research some more. Find out how you are going to make it work, look for examples, get ideas of things to add or remove.

3. Start coding.

Assuming you know how to code, start programming. Work out the bugs as you go, test, and test and test some more to make sure it works.

4. your done.


Quote:
Originally Posted by charbs152 View Post
please fill in your system specs via the User CP so we can better assist you

thanks
Worthless post. His hardware has nothing to do with the question he is asking. But for future reference it would be helpful.
__________________
IRC nick - tgalyean / normally found in #fedora-admin

System: █۩█
CPU
E6400 @ 3.4GHz
Motherboard
DFI INFINITY P965-S
Memory
2GB G.Skill HZ
Graphics Card
XFX 7900GS 659MHz/2000MHz
Hard Drive
Raptor 74GB
Sound Card
X-FI
Power Supply
600Watt Modular w/120mm Fan
Case
Cooler Master Centerion
CPU cooling
Stock
GPU cooling
Zalman Fatal1ty FC-ZV9
OS
XP Pro x64
Monitor
Acer AL17
kc-tr is offline kc-tr's Gallery   Reply With Quote
Old 02-21-07   #9 (permalink)
Turing Test is Overrated
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 24,173

Rep: 2802 DuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legendDuckieHo is a legend
Unique Rep: 1293
Folding Team Rank: 966
Trader Rating: 34
Default

Quote:
Originally Posted by MTPAPA121 View Post
i know qbasic and only how to make and name stuff in vb
So you can only do a text box?



Generally:
Create a form like a grey box.
Add a button to this form.
Add code to the button.

http://www.morrowland.com/apron/tuto...text/index.php

You need to learn what functions are avaliable for a class.
__________________
WANTED: Socket M Core/Core 2 CPU, SUGO-02 Black, quality 802.11b/g PCI Card
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it will work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single/Non-Modular Rail PSUs are NOT better than Multi-Rail/Modular

Quote:
catmmm: no wifi? gay
e_dogg: I use both wired and wireless in my house. Does that make me bi?

System: My "DF-DIE" Replacement
CPU
Q6600 (3.7GHz)
Motherboard
Asus P5E X38 (MF1208 BIOS)
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
8800GT (729/1836/2088)
Hard Drive
PERC 5/i: 3xRAID0 Raptor 74GB + 7200.10 250GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
MCW60 + Iandh HS + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"

Last edited by DuckieHo : 02-21-07 at 04:34 PM.
DuckieHo is online now I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 02-21-07   #10 (permalink)
Overclocker
 
charbs152's Avatar
 
amd nvidia

Join Date: Dec 2006
Location: upstate NY
Posts: 957

Rep: 101 charbs152 is acknowledged by manycharbs152 is acknowledged by many
Unique Rep: 44
Trader Rating: 0
Default

yes i know it doesnt matter but i said it for if he need something in the future
__________________


money needed for new rig: $1000
money saved: $576
money left to save: $424

$0|||||||||||||||||||||||||||||||||||||||| $1000
576

Quote:
Originally Posted by startekee View Post
no i have a dual core pentium 4 not ht

System: THE ATHLON
CPU
AMD Athlon 1.2GHz (socket A)
Motherboard
pcchips M810LR
Memory
384mb pc133
Graphics Card
PNY FX5500 128MB
Hard Drive
320GB Western Digital
Sound Card
XiFi
Power Supply
400 Watt Ultra X-Connect
Case
cheapo
CPU cooling
TR2-M3
OS
dual boot Ubuntu 7.10 (gutsy) + Windows XP Pro SP3
Monitor
17" CRT/ Viewsonic NX1932w 19" lcd
charbs152 is offline charbs152's Gallery   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 12:48 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 0.38947 seconds with 8 queries