Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 12th, 2007, 07:43 AM
Registered User
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default how do i make a boolean array. helppp

i have a problem sorting checkbox values .. i need to store checked values into a boolean array... and when combobox.selectedindex is changed, call the values stored within that array depending on which selectedindex is selected.how do i go about doing this.
any help would be appreciated..even if ur not sure...
thanks in advance.

hey there
 
Old June 12th, 2007, 08:52 AM
Authorized User
 
Join Date: Nov 2006
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ef1196
Default

'* A boolean array is being created below
'* with a maximum of 6 (zero based) values
dim blnYourBooleanValue(5) as boolean

'* Your checkbox can be set as follows
yourCheckBox.checked = blnYourBooleanValue(Combobox.SelectedIndex)




Best Regards,
Earl Francis
 
Old June 14th, 2007, 06:56 AM
Registered User
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i cant seem to call the checked values when the selectedindex is changed .. .. thx for helping

hey there





Similar Threads
Thread Thread Starter Forum Replies Last Post
HELPPP CustomEvents nichola_x_rose BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 8 April 24th, 2008 06:24 AM
help me with boolean array Un33k Pro Visual Basic 2005 1 June 12th, 2007 11:43 AM
Oracle boolean datatype?? schockp Oracle 13 March 1st, 2007 08:24 PM
boolean starlightt Java Basics 2 April 6th, 2006 05:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.