RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 4429 | Replies: 23 | Solved | Thread Tools  Display Modes
Reply
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

pictureBox problem.. please help me!

  #1  
Oct 17th, 2005
i have some problem here.
i dont know how to explain in words of wat i wan.
i have attach the file in

i dont know how to create new checkBox in picture Box by using coding? :rolleyes:

when ever i click. the button wont go over to the new pictureBox.

please help me..
need it asap
Attached Files
File Type: zip pictureBox.zip (2.1 KB, 8 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Solution Re: pictureBox problem.. please help me!

  #2  
Oct 17th, 2005
You will need to give a basic explanation of what the program is meant to do. Plain simple language will do fine.
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #3  
Oct 17th, 2005
Mm.. i wan to do something like a few page in a single form.

i using pictureBox to contain checkBox. when the 1st pictureBox is full wif 3 checkBox, it will auto create a new pictureBox and put the next checkBox into it. and so on.

now i dont know how to create a new checkBox in the new pictureBox.
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Solution Re: pictureBox problem.. please help me!

  #4  
Oct 18th, 2005
Hi, sorry for the delay - what you need is to use SetParent.

Here are tutorials that will help you:

http://www.vb-helper.com/howto_new_c..._scrolled.html

http://www.vb-helper.com/howto_add_c..._scrolled.html
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: pictureBox problem.. please help me!

  #5  
Oct 18th, 2005
Forget that last post - that code didn't work for me, instead download and run the attached zip file. The project uses textboxes, but you can just substitute whichever control you want.
You’ll just have to write code to position the controls where you want them.
Attached Files
File Type: zip CreateControls.zip (1.5 KB, 13 views)
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #6  
Oct 18th, 2005
hi w00dy,
sorry to trouble u again

i hav some problem here again
and i hav attach the file wif it

the check1.count > z, how can i keep changing the z?
cos i need everything to be some kind of auto

and the position of check1(x) in the new pictureBox can be change?

and lastly why it wont check for the count again.. Mm i think is about the z thing right?

sorry maybe i explain not clear..
hope u see the program will understand wat i mean
hope u can help me out.
thanks alot..
Attached Files
File Type: zip CreateControls2.zip (2.6 KB, 3 views)
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #7  
Oct 19th, 2005
sorry this is my lastest codes

ignore the last post..

now the last problem is i cannot position the checkBox correctly.

can help me check wats wrong wif it..?
Attached Files
File Type: zip CreateControls3.zip (2.7 KB, 3 views)
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: pictureBox problem.. please help me!

  #8  
Oct 19th, 2005
Do you need the first checkbox already in the first picturebox, or should it appear the first time you click Command1?

w00dy
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #9  
Oct 19th, 2005
Mm ya.. cos i need to call out the pic from database.. so it need to be there..
now is my position of the checkBox is wrong.. and i also need a back button to go back to the prev pictureBox. cos.. remember i did told u about, i need something like a page.. can go back and forward.. i still doing, but also got error..
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: pictureBox problem.. please help me!

  #10  
Oct 19th, 2005
Here's the latest effort.
Hope it gets you a bit farther.
Attached Files
File Type: zip CControls.zip (1.9 KB, 5 views)
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:57 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC