Click here to Skip to main content
15,908,115 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 5:53
newbjohny5-Aug-06 5:53 
GeneralRe: Specified cast is not valid Pin
Colin Angus Mackay5-Aug-06 5:59
Colin Angus Mackay5-Aug-06 5:59 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 6:16
newbjohny5-Aug-06 6:16 
AnswerRe: Specified cast is not valid [modified] Pin
Colin Angus Mackay5-Aug-06 6:03
Colin Angus Mackay5-Aug-06 6:03 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 6:19
newbjohny5-Aug-06 6:19 
GeneralRe: Specified cast is not valid Pin
Colin Angus Mackay5-Aug-06 10:05
Colin Angus Mackay5-Aug-06 10:05 
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 10:36
newbjohny5-Aug-06 10:36 
AnswerRe: Specified cast is not valid [modified] Pin
mtone5-Aug-06 18:32
mtone5-Aug-06 18:32 
What is this?

tblName = (cmbInsertData.Text)
setTableName(tblName)

I do not see a declaration of the Variable tblName ( Dim tblName as String ). I believe VB will create this as an Object type without the Dim statment, and then you are trying to us it as a string?

what is setTableName? are you expecting the variable tblName to change when it comes out of setTableName?

Step thru the code line for line in debug and you can see exactly what all your variables are and what might be missing.

Joe



-- modified at 0:37 Sunday 6th August, 2006
GeneralRe: Specified cast is not valid Pin
newbjohny5-Aug-06 23:41
newbjohny5-Aug-06 23:41 
AnswerRe: Specified cast is not valid Pin
newbjohny7-Aug-06 2:35
newbjohny7-Aug-06 2:35 
QuestionFind and replace Pin
Harold_Wishes5-Aug-06 4:21
Harold_Wishes5-Aug-06 4:21 
QuestionHow To make key events work within a datagrid Pin
rahulnair4-Aug-06 23:06
rahulnair4-Aug-06 23:06 
AnswerRe: How To make key events work within a datagrid Pin
Rey99995-Aug-06 1:08
Rey99995-Aug-06 1:08 
QuestionMulti Threading Pin
BorgPidgeon4-Aug-06 22:21
BorgPidgeon4-Aug-06 22:21 
QuestionConvert integer to time........ Pin
Nagraj Naik4-Aug-06 19:19
Nagraj Naik4-Aug-06 19:19 
AnswerRe: Convert integer to time........ Pin
militiaware5-Aug-06 1:36
militiaware5-Aug-06 1:36 
AnswerRe: Convert integer to time........ Pin
mtone7-Aug-06 17:46
mtone7-Aug-06 17:46 
Questionadding more than one table to a dataset Pin
dev dhoundiyal4-Aug-06 18:40
dev dhoundiyal4-Aug-06 18:40 
AnswerRe: adding more than one table to a dataset Pin
Stephen McGuire5-Aug-06 4:28
Stephen McGuire5-Aug-06 4:28 
QuestionHow to delete session cookie [modified] Pin
my_btr4-Aug-06 10:49
my_btr4-Aug-06 10:49 
AnswerRe: How to delete session cookie Pin
Guffa4-Aug-06 11:56
Guffa4-Aug-06 11:56 
QuestionDynamic ImageButton inside GridView Pin
joanecita4-Aug-06 7:14
joanecita4-Aug-06 7:14 
QuestionEdit XPs local security policy through code Pin
KevinSheedy4-Aug-06 7:06
KevinSheedy4-Aug-06 7:06 
QuestionAjax - Simple example Pin
ONeil Tomlinson4-Aug-06 6:31
ONeil Tomlinson4-Aug-06 6:31 
AnswerRe: Ajax - Simple example Pin
Rama Krishna Vavilala4-Aug-06 6:37
Rama Krishna Vavilala4-Aug-06 6:37 

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.