Click here to Skip to main content
16,006,605 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralIm trying to return a datatable when using OleDbCommand Pin
Anonymous6-Apr-05 13:08
Anonymous6-Apr-05 13:08 
GeneralRe: Im trying to return a datatable when using OleDbCommand Pin
Christian Graus6-Apr-05 14:16
protectorChristian Graus6-Apr-05 14:16 
GeneralRe: Im trying to return a datatable when using OleDbCommand Pin
Martin@captivasystems7-Apr-05 2:57
Martin@captivasystems7-Apr-05 2:57 
GeneralRe: Im trying to return a datatable when using OleDbCommand Pin
j1webb7-Apr-05 11:10
j1webb7-Apr-05 11:10 
GeneralRe: Im trying to return a datatable when using OleDbCommand Pin
j1webb7-Apr-05 12:11
j1webb7-Apr-05 12:11 
GeneralRe: Im trying to return a datatable when using OleDbCommand Pin
j1webb7-Apr-05 12:16
j1webb7-Apr-05 12:16 
GeneralRe: Im trying to return a datatable when using OleDbCommand Pin
Martin@captivasystems7-Apr-05 14:12
Martin@captivasystems7-Apr-05 14:12 
GeneralProblem in Clearing Items of the Combo Box Pin
alizai6-Apr-05 10:02
alizai6-Apr-05 10:02 
I have a combo box in my form that take values from the other table in the database on form load.

On the Click Property of the Save Button i have put the code to clear the values of all text boxes and Combo Box after saving the data.

I used the following code to clear the combo box:
cboname.listindex = -1
The style of the combo box is set to 2-dropdown.

The data is saved to the database correctly but after that while clearing the text in the combo box it gives the Run Time Error No. 381 i.e. Invalid Property Array Index.

Can any body please tell me that what code should i do to clear those values in the combo box???


GeneralRe: Problem in Clearing Items of the Combo Box Pin
Mandar Patankar6-Apr-05 10:53
Mandar Patankar6-Apr-05 10:53 
GeneralRe: Problem in Clearing Items of the Combo Box Pin
alizai6-Apr-05 11:18
alizai6-Apr-05 11:18 
GeneralRe: Problem in Clearing Items of the Combo Box Pin
Dave Kreskowiak6-Apr-05 13:34
mveDave Kreskowiak6-Apr-05 13:34 
GeneralRe: Problem in Clearing Items of the Combo Box Pin
Anonymous7-Apr-05 21:44
Anonymous7-Apr-05 21:44 
GeneralFormatting numbers in a datagrid Pin
j1webb6-Apr-05 6:29
j1webb6-Apr-05 6:29 
GeneralRe: Formatting numbers in a datagrid Pin
Dave Kreskowiak7-Apr-05 4:41
mveDave Kreskowiak7-Apr-05 4:41 
GeneralRe: Formatting numbers in a datagrid Pin
j1webb7-Apr-05 10:28
j1webb7-Apr-05 10:28 
GeneralOptimisation Model Solution Routine(Linear Programming) Pin
karmond6-Apr-05 6:00
karmond6-Apr-05 6:00 
GeneralRe: Optimisation Model Solution Routine(Linear Programming) Pin
Dave Kreskowiak7-Apr-05 4:10
mveDave Kreskowiak7-Apr-05 4:10 
GeneralDatagrid Exporting to Excel Format Pin
Scttsmpsn6-Apr-05 4:53
Scttsmpsn6-Apr-05 4:53 
GeneralRe: Datagrid Exporting to Excel Format Pin
Scttsmpsn6-Apr-05 8:25
Scttsmpsn6-Apr-05 8:25 
QuestionSwitching language programmatically ? Pin
kil0byte^bandit6-Apr-05 4:30
kil0byte^bandit6-Apr-05 4:30 
GeneralMachine.Config Pin
Jason Weibel6-Apr-05 4:25
Jason Weibel6-Apr-05 4:25 
GeneralRe: Machine.Config Pin
Dave Kreskowiak6-Apr-05 4:59
mveDave Kreskowiak6-Apr-05 4:59 
GeneralConvert to(from) Julian Date Format from(to) Calendar Date Pin
Dile6-Apr-05 2:52
Dile6-Apr-05 2:52 
GeneralRe: Convert to(from) Julian Date Format from(to) Calendar Date Pin
kil0byte^bandit6-Apr-05 4:54
kil0byte^bandit6-Apr-05 4:54 
Generalvb Pin
royrana6-Apr-05 1:30
royrana6-Apr-05 1:30 

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.