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 10-06-09   #1 (permalink)
ATI Enthusiast
 
badreligion156's Avatar
 
intel ati

Join Date: Aug 2006
Location: Long Island,New york
Posts: 1,166

Rep: 44 badreligion156 is acknowledged by some
Unique Rep: 43
Trader Rating: 4
Default How to make a Picture appeard after button click in vb??

Im doing a Home work project for my VB class and i need to make a fake login screen for a pretend game. I want to make the login button after clicked to make a picture appear with sound if its possible.

the attachment is what i have so far.

EDIT: Im Pretty much a noob, its about my third week working with VB
Attached Thumbnails
How to make a Picture appeard after button click in vb??-demo.jpg  
__________________
OSAMT: "Member of OCN Songwriter and Musician Thread"

System: Amanda Prime
CPU
e6600 @ 2.6ghz
Motherboard
Asus P5B-E
Memory
4gb gSkill
Graphics Card
XFX HD 4830
Hard Drive
500gb Samsung
Sound Card
Intergrated
Power Supply
Corsair 450w
CPU cooling
Stock
GPU cooling
Stock
OS
Windows 7 Beta 64bit
Monitor
Samsung Syncmaster 731b

Last edited by badreligion156 : 10-06-09 at 10:02 PM
badreligion156 is offline   Reply With Quote
Old 10-07-09   #2 (permalink)
nVidia Enthusiast
 
intel nvidia

Join Date: Nov 2008
Posts: 70

Rep: 3 kiekstje Unknown
Unique Rep: 3
Trader Rating: 0
Default

have you tried:

put picturebox in form with picture

code:

frm.... load

pic(namehere).visible = false



btn(namehere) click

pic(namehere).visible = true
__________________
proof of cpuz!!

http://valid.x86-secret.com/show_oc.php?id=450097

System: The undertaker
CPU
q6600
Motherboard
xfx 780i
Memory
4gigs of ocz sli ready memory
Graphics Card
xfx 9800 gtx+ in sli
Hard Drive
1.4T
Power Supply
1200w tt
Case
armor lcs
CPU cooling
lcs of thermaltake :(
OS
vista ultimate x64
Monitor
22' Qforce 1650*1080
kiekstje is offline   Reply With Quote
Old 10-07-09   #3 (permalink)
WaterCooler
 
LemonSlice's Avatar
 
intel ati

Join Date: Sep 2009
Location: The Interwebz, NJ
Posts: 446

Rep: 45 LemonSlice is acknowledged by some
Unique Rep: 31
Trader Rating: 4
Default

What if you have it open a new form with a picture pre-inserted into the form and have the sound start playing when the form opens?
__________________

Planning/Working: Project Aquarius - Tiny Watercooled Computer.. with a 4870x2

Quote:
Originally Posted by SLeeZeY View Post
Haha this reminds me of a mate that said their 8800GT was a POS. I went round and it turns out he'd been running on his onboard gfx for 6 months and the card was idle, I actually did a piss drip with laughter XD
Quote:
We're gonna make MW2 a PC game again, one line of code at a time!

System: 75% Post Consumer Parts
CPU
Pentium Dual E2200
Motherboard
GA-X48-DS5
Memory
8GB Corsair XMS2
Graphics Card
ATI Radeon 4870x2
Hard Drive
Seagate 120GB Notebook Drive :(
Sound Card
ALC889a Integrated
Power Supply
Inwin Commander 850w
Case
NZXT Beta
CPU cooling
DD MC-TDX
GPU cooling
EK-FC4870x2
OS
Windows 7 x64
Monitor
2x Asus 19" VW192+
LemonSlice is online now   Reply With Quote
Old 10-07-09   #4 (permalink)
ATI Enthusiast
 
badreligion156's Avatar
 
intel ati

Join Date: Aug 2006
Location: Long Island,New york
Posts: 1,166

Rep: 44 badreligion156 is acknowledged by some
Unique Rep: 43
Trader Rating: 4
Default

Quote:
Originally Posted by LemonSlice View Post
What if you have it open a new form with a picture pre-inserted into the form and have the sound start playing when the form opens?
that is actually a much better idea.. ill give that a try

Quote:
Originally Posted by kiekstje View Post
have you tried:

put picturebox in form with picture

code:

frm.... load

pic(namehere).visible = false



btn(namehere) click

pic(namehere).visible = true
Im pretty sure your giving me the same idea as the other guy above mentioned. I was not aware i could have two forms in one program...
__________________
OSAMT: "Member of OCN Songwriter and Musician Thread"

System: Amanda Prime
CPU
e6600 @ 2.6ghz
Motherboard
Asus P5B-E
Memory
4gb gSkill
Graphics Card
XFX HD 4830
Hard Drive
500gb Samsung
Sound Card
Intergrated
Power Supply
Corsair 450w
CPU cooling
Stock
GPU cooling
Stock
OS
Windows 7 Beta 64bit
Monitor
Samsung Syncmaster 731b
badreligion156 is offline   Reply With Quote
Old 10-07-09   #5 (permalink)
PC Gamer
 
Nhb93's Avatar
 
amd nvidia

Join Date: Aug 2009
Posts: 311

Rep: 18 Nhb93 Unknown
Unique Rep: 17
Trader Rating: 0
Default

You can have as many forms in a single program as you want/need.

The "click button, make picture visible" method is the best way to go, IMO.

Us Islanders have to stick together.

System: HAFaestus (Alienware ported into HAF 932)
CPU
AMD Athlon 64 X2 6000+
Motherboard
Foxconn nForce 590 SLI
Memory
4GB
Graphics Card
GeForce 8800 GTX
Hard Drive
250GB Seagate + 750GB WD
Sound Card
Onboard
Power Supply
HIPRO HP-W700WC3 LF 700W
Case
Cooler Master HAF 932
CPU cooling
TRUE + Ceramique + San Ace 120
GPU cooling
Stock
OS
Windows 7 Professional 64-bit/Windows XP 32-bit
Monitor
Samsung SyncMaster 930B
Nhb93 is offline   Reply With Quote
Old 10-08-09   #6 (permalink)
ATI Enthusiast
 
badreligion156's Avatar
 
intel ati

Join Date: Aug 2006
Location: Long Island,New york
Posts: 1,166

Rep: 44 badreligion156 is acknowledged by some
Unique Rep: 43
Trader Rating: 4
Default

Quote:
Originally Posted by Nhb93 View Post
You can have as many forms in a single program as you want/need.

The "click button, make picture visible" method is the best way to go, IMO.

Us Islanders have to stick together.
thanks man, The program worked out great. Its really dumb but its just a hw project to show the teacher what i know so far.

thanks guys!
__________________
OSAMT: "Member of OCN Songwriter and Musician Thread"

System: Amanda Prime
CPU
e6600 @ 2.6ghz
Motherboard
Asus P5B-E
Memory
4gb gSkill
Graphics Card
XFX HD 4830
Hard Drive
500gb Samsung
Sound Card
Intergrated
Power Supply
Corsair 450w
CPU cooling
Stock
GPU cooling
Stock
OS
Windows 7 Beta 64bit
Monitor
Samsung Syncmaster 731b
badreligion156 is offline   Reply With Quote
Reply


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



All times are GMT -5. The time now is 07:29 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

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