Click here to Skip to main content
16,005,316 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Changing Logon/Bootskin Pin
Dave Kreskowiak12-Oct-06 12:04
mveDave Kreskowiak12-Oct-06 12:04 
GeneralRe: Changing Logon/Bootskin Pin
UltraCoder12-Oct-06 12:16
UltraCoder12-Oct-06 12:16 
Questionget type of uninitialized object Pin
Jason18812-Oct-06 8:14
Jason18812-Oct-06 8:14 
AnswerRe: get type of uninitialized object Pin
Dave Kreskowiak12-Oct-06 10:32
mveDave Kreskowiak12-Oct-06 10:32 
GeneralRe: get type of uninitialized object Pin
Jason18813-Oct-06 3:48
Jason18813-Oct-06 3:48 
GeneralRe: get type of uninitialized object Pin
Dave Kreskowiak13-Oct-06 4:41
mveDave Kreskowiak13-Oct-06 4:41 
GeneralRe: get type of uninitialized object Pin
Jason18813-Oct-06 7:18
Jason18813-Oct-06 7:18 
QuestionHow to lick to list boxes to a database Pin
ranro200612-Oct-06 7:33
ranro200612-Oct-06 7:33 
If someone knows how to do this or knows of a link that shows how it would be appreciated.

I want to link two database tables to two list boxes. For example, I have two tables, one is named State and the other is named City. The column names in State are ‘StateID” and ‘StateName’. The column names in City are ‘CityID’, ‘CityName’, and ‘StateID’ (StateID being the reference between the two tables)

In ListBox1, I want to display the State Names and in ListBox2 I want to display the City Names. When I click on a State Name I want to see the City Names for only the cities in that state in ListBox2. For Example, if I clicked on California I would only see California cities (like San Francisco) in ListBox2.

I want to do this in code and not by using the ide tools in VB 2005. What I am hoping is to put this code into a procedure called ListBoxFill and call this procedure when the form loads. Then if I make any updates, insertions, or deletions to the databases, I can call that procedure again so the changes are reflected in the listboxes.

Does this sound remotely possible or is their a better way to do this.

Thanks.
QuestionMissing Items.... Pin
CCG312-Oct-06 7:31
CCG312-Oct-06 7:31 
AnswerRe: Missing Items.... Pin
UltraCoder12-Oct-06 8:00
UltraCoder12-Oct-06 8:00 
GeneralRe: Missing Items.... Pin
CCG312-Oct-06 8:33
CCG312-Oct-06 8:33 
Questioni dont remember anything!!! Pin
krystal.moodie12-Oct-06 7:09
krystal.moodie12-Oct-06 7:09 
AnswerRe: i dont remember anything!!! Pin
UltraCoder12-Oct-06 8:07
UltraCoder12-Oct-06 8:07 
AnswerRe: i dont remember anything!!! Pin
kartik tallapragada12-Oct-06 19:59
kartik tallapragada12-Oct-06 19:59 
QuestionUpdate Data in a Datagrid Pin
Larry White12-Oct-06 7:09
Larry White12-Oct-06 7:09 
QuestionReturn Original Value from ComboBox Pin
dptalt12-Oct-06 5:56
dptalt12-Oct-06 5:56 
AnswerRe: Return Original Value from ComboBox Pin
Christian Graus12-Oct-06 6:32
protectorChristian Graus12-Oct-06 6:32 
GeneralRe: Return Original Value from ComboBox Pin
dptalt12-Oct-06 6:40
dptalt12-Oct-06 6:40 
QuestionCalling .NET Assembly using COM DLL (CCW) Pin
Asim_Zia12-Oct-06 5:54
Asim_Zia12-Oct-06 5:54 
QuestionSound Pin
freefika12-Oct-06 5:10
freefika12-Oct-06 5:10 
AnswerRe: Sound Pin
UltraCoder12-Oct-06 7:54
UltraCoder12-Oct-06 7:54 
QuestionEmpty data in Image in Crystal Reports creates border Pin
bschandru12-Oct-06 3:31
bschandru12-Oct-06 3:31 
QuestionDrawing Curve,Polygon ... on mouse movements Pin
vijayalaya12-Oct-06 2:16
vijayalaya12-Oct-06 2:16 
AnswerRe: Drawing Curve,Polygon ... on mouse movements Pin
Christian Graus12-Oct-06 3:28
protectorChristian Graus12-Oct-06 3:28 
QuestionDisplay a database's field names Pin
directred12-Oct-06 1:39
directred12-Oct-06 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.