VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 307,100 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,034 people online right now. Registration is fast and FREE... Join Now!




Purchase Car

 

Purchase Car, how To add A Multiple image into a picturebox

Hucker666

2 Nov, 2009 - 10:58 PM
Post #1

New D.I.C Head
*

Joined: 2 Nov, 2009
Posts: 1

[font=Arial Black]Here's My project And I'm begging for your help I want to display multiple images into PictureBox i did this on my own and it works but the problem is when I want to have another type of car it doesn't exist anymore
Here's my code below:

CODE
Private Sub CmdSearch_Click()
Picture2.Picture = LoadPicture("G:\Nissan Navarra.jpg")
Text3 = "1210000"
Text4 = Val(Text2) * Val(Text3)
Text5 = "2007"
Picture2.Picture = LoadPicture("G:\Audi.jpg")

Private Sub CmdclCear_Click()
Picture2.Picture = LoadPicture("")
End Sub


User is offlineProfile CardPM
+Quote Post


theunborncoder

RE: Purchase Car

2 Nov, 2009 - 11:03 PM
Post #2

D.I.C Head
Group Icon

Joined: 15 Oct, 2009
Posts: 54



Thanked: 6 times
Dream Kudos: 100
My Contributions
QUOTE(Hucker666 @ 2 Nov, 2009 - 10:58 PM) *

[font=Arial Black]Insted of using Picture2.picture = LoadPicture("")
Try something like Picture2.picture = Nothing
CODE
Private Sub CmdclCear_Click()
Picture2.Picture = Nothing
End Sub





User is offlineProfile CardPM
+Quote Post

Nikhil_07n

RE: Purchase Car

3 Nov, 2009 - 12:42 AM
Post #3

Idiot of the year.
Group Icon

Joined: 9 Jan, 2009
Posts: 2,132



Thanked: 15 times
Dream Kudos: 1200
My Contributions
QUOTE(Hucker666 @ 3 Nov, 2009 - 11:28 AM) *

[font=Arial Black]Here's My project And I'm begging for your help I want to display multiple images into PictureBox i did this on my own and it works but the problem is when I want to have another type of car it doesn't exist anymore
Here's my code below:

CODE
Private Sub CmdSearch_Click()
Picture2.Picture = LoadPicture("G:\Nissan Navarra.jpg")
Text3 = "1210000"
Text4 = Val(Text2) * Val(Text3)
Text5 = "2007"
Picture2.Picture = LoadPicture("G:\Audi.jpg")

Private Sub CmdclCear_Click()
Picture2.Picture = LoadPicture("")
End Sub



More details, please. I'm not getting you.
User is offlineProfile CardPM
+Quote Post

NoBrain

RE: Purchase Car

3 Nov, 2009 - 08:11 AM
Post #4

D.I.C Lover
Group Icon

Joined: 25 Mar, 2009
Posts: 1,214



Thanked: 39 times
Dream Kudos: 125
My Contributions
QUOTE
I want to display multiple images into PictureBox


or you can make lots of PictureBox and add 1 picture in them smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 12:17PM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month