Click here to Skip to main content
15,890,282 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralSubscript out of range in vb6 Pin
husman29-Apr-05 2:49
husman29-Apr-05 2:49 
GeneralRe: Subscript out of range in vb6 Pin
Fernando Soto29-Apr-05 6:19
Fernando Soto29-Apr-05 6:19 
GeneralRe: Subscript out of range in vb6 Pin
Dave Kreskowiak29-Apr-05 6:26
mveDave Kreskowiak29-Apr-05 6:26 
GeneralRe: Subscript out of range in vb6 Pin
Fernando Soto29-Apr-05 6:41
Fernando Soto29-Apr-05 6:41 
GeneralRe: Subscript out of range in vb6 Pin
Dave Kreskowiak29-Apr-05 6:22
mveDave Kreskowiak29-Apr-05 6:22 
GeneralVbscript Quote Dilemma Pin
Anonymous29-Apr-05 2:38
Anonymous29-Apr-05 2:38 
GeneralRe: Vbscript Quote Dilemma Pin
Dave Kreskowiak29-Apr-05 6:10
mveDave Kreskowiak29-Apr-05 6:10 
QuestionHow to fetch primary key field Pin
Suman Singh29-Apr-05 0:40
professionalSuman Singh29-Apr-05 0:40 
Dim com As New OleDbCommand(ComStr + tabname, con1)
Dim OleDap As New OleDbDataAdapter()
OleDap.SelectCommand = com
Dim ds1 As New DataSet()
dim DT as datatble
DT = con1.GetOleDbSchemaTable(OleDbSchemaGuid.Primary_Keys, New Object() {Nothing, Nothing, tabname, "table"})
Label1.Text = DT.Rows(0).Item(0).ToString
con1.Close()

There is an error in this code.

Error: "Invalid Parameters"

Please help.

Thanks in advnce.



AnswerRe: How to fetch primary key field Pin
Colin Angus Mackay29-Apr-05 2:05
Colin Angus Mackay29-Apr-05 2:05 
GeneralRe: How to fetch primary key field Pin
Suman Singh5-May-05 3:55
professionalSuman Singh5-May-05 3:55 
GeneralRe: How to fetch primary key field Pin
Colin Angus Mackay5-May-05 4:14
Colin Angus Mackay5-May-05 4:14 
GeneralRe: How to fetch primary key field Pin
Suman Singh6-May-05 8:26
professionalSuman Singh6-May-05 8:26 
GeneralRefreshing graphics with GDI+ Pin
leoprex28-Apr-05 23:34
leoprex28-Apr-05 23:34 
GeneralSMS Pin
Anonymous28-Apr-05 17:16
Anonymous28-Apr-05 17:16 
GeneralRe: SMS Pin
Dave Kreskowiak29-Apr-05 2:05
mveDave Kreskowiak29-Apr-05 2:05 
GeneralIntegrate AppConfig file Pin
Joey Picerno28-Apr-05 16:55
Joey Picerno28-Apr-05 16:55 
GeneralRe: Integrate AppConfig file Pin
rudy.net28-Apr-05 18:13
rudy.net28-Apr-05 18:13 
GeneralRe: Integrate AppConfig file Pin
Len Miller28-Apr-05 19:56
Len Miller28-Apr-05 19:56 
GeneralRe: Integrate AppConfig file Pin
Het210928-Apr-05 20:45
Het210928-Apr-05 20:45 
GeneralStreaming Media using Windows Media PLayer Pin
vishalmishra28-Apr-05 14:32
vishalmishra28-Apr-05 14:32 
GeneralShell.Application not returning all windows Pin
Asad Hussain28-Apr-05 10:40
Asad Hussain28-Apr-05 10:40 
GeneralRe: Shell.Application not returning all windows Pin
Dave Kreskowiak29-Apr-05 6:04
mveDave Kreskowiak29-Apr-05 6:04 
Questionsite templating... how? Pin
cavall28-Apr-05 9:35
cavall28-Apr-05 9:35 
AnswerRe: site templating... how? Pin
Dave Kreskowiak29-Apr-05 2:02
mveDave Kreskowiak29-Apr-05 2:02 
GeneralTips of a class Pin
roberto1979es28-Apr-05 9:19
roberto1979es28-Apr-05 9:19 

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.