Click here to Skip to main content
15,909,652 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to clear picturebox in vb.net Pin
Dave Kreskowiak30-Apr-05 3:26
mveDave Kreskowiak30-Apr-05 3:26 
GeneralRe: How to clear picturebox in vb.net Pin
GuruPandian30-Apr-05 3:31
GuruPandian30-Apr-05 3:31 
GeneralRe: How to clear picturebox in vb.net Pin
Dave Kreskowiak30-Apr-05 4:14
mveDave Kreskowiak30-Apr-05 4:14 
QuestionHow can we customize the crystal report design at run time? Pin
Madni Abbasi29-Apr-05 23:35
Madni Abbasi29-Apr-05 23:35 
Generalif Pin
Yulianto.29-Apr-05 17:46
Yulianto.29-Apr-05 17:46 
GeneralRe: if Pin
Fernando Soto29-Apr-05 19:06
Fernando Soto29-Apr-05 19:06 
GeneralGetSchemeTable problem - IsKeyColumn Pin
Len Miller29-Apr-05 16:06
Len Miller29-Apr-05 16:06 
GeneralRe: GetSchemeTable problem - IsKeyColumn Pin
Len Miller29-Apr-05 16:36
Len Miller29-Apr-05 16:36 
As it turns out - I dumped the schematable to see the column names

CONTRARY to my documentation, the column is named "IsKey" not "IsKeyColumn"

grrrmph....

If anyone cares, I attached code that dumps the schematable:

reader = cmdSel.ExecuteReader(CommandBehavior.KeyInfo)
Dim dt As DataTable = reader.GetSchemaTable
Dim schemaTable As DataTable
Dim myProperty As DataColumn
Dim str As String = ""
Dim myField As DataRow
schemaTable = reader.GetSchemaTable()
For Each myField In schemaTable.Rows
'For each property of the field...
For Each myProperty In schemaTable.Columns
'Display the field name and value.
str = String.Concat(str, _
String.Format("[{0}]=[{1}]{2}" _
, myProperty.ColumnName _
, myField(myProperty).ToString() _
, Microsoft.VisualBasic.ControlChars.CrLf) _
)
Next
Next
MessageBox.Show(str)


Thanks,
-Len Miller

"If I had eight hours to chop down a tree, I'd spend six sharpening my axe."
-Abraham Lincoln
General0xFFFFB0FF Pin
John Shaw29-Apr-05 11:03
John Shaw29-Apr-05 11:03 
GeneralRe: 0xFFFFB0FF Pin
Scott Page24-May-05 4:07
professionalScott Page24-May-05 4:07 
GeneralShutdown in VB.NET Pin
Snaker29-Apr-05 10:34
Snaker29-Apr-05 10:34 
GeneralRe: Shutdown in VB.NET Pin
Fernando Soto29-Apr-05 12:43
Fernando Soto29-Apr-05 12:43 
GeneralRe: Shutdown in VB.NET Pin
vertig073029-Apr-05 16:11
vertig073029-Apr-05 16:11 
Generalparsing a multi-line text box Pin
zasskarMtnBiker29-Apr-05 8:49
zasskarMtnBiker29-Apr-05 8:49 
GeneralRe: parsing a multi-line text box Pin
zasskarMtnBiker29-Apr-05 9:26
zasskarMtnBiker29-Apr-05 9:26 
General.net framework Pin
Lisana29-Apr-05 8:44
Lisana29-Apr-05 8:44 
GeneralRe: .net framework Pin
Fernando Soto29-Apr-05 9:36
Fernando Soto29-Apr-05 9:36 
GeneralTransparent Form Pin
Joey Picerno29-Apr-05 8:27
Joey Picerno29-Apr-05 8:27 
GeneralRe: Transparent Form Pin
Suman Singh5-May-05 3:57
professionalSuman Singh5-May-05 3:57 
GeneralRe: Transparent Form Pin
Joey Picerno5-May-05 6:37
Joey Picerno5-May-05 6:37 
GeneralData call using Nokia PC Connectivity SDK 3.0 Pin
alexbetro29-Apr-05 5:35
alexbetro29-Apr-05 5:35 
GeneralSubclassing ListBox Pin
Andy H29-Apr-05 5:05
Andy H29-Apr-05 5:05 
GeneralBuild a cumbersome SQL String Pin
Joe Contreras29-Apr-05 3:25
sussJoe Contreras29-Apr-05 3:25 
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 

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.