Click here to Skip to main content
15,912,021 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCrystal Report Pin
msleem28-Sep-06 13:46
msleem28-Sep-06 13:46 
AnswerRe: Crystal Report Pin
Kschuler29-Sep-06 10:49
Kschuler29-Sep-06 10:49 
Questionneed info Pin
eekbokleek28-Sep-06 12:17
eekbokleek28-Sep-06 12:17 
AnswerRe: need info Pin
Christian Graus28-Sep-06 12:38
protectorChristian Graus28-Sep-06 12:38 
QuestionHow to get a Dataset Selected Index number? Pin
kayos59228-Sep-06 11:13
kayos59228-Sep-06 11:13 
QuestionMemory Function on a calculator Pin
aft3rm4rk3t28-Sep-06 10:31
aft3rm4rk3t28-Sep-06 10:31 
AnswerRe: Memory Function on a calculator Pin
Christian Graus28-Sep-06 12:39
protectorChristian Graus28-Sep-06 12:39 
Questioncreating and populating datasets programmatically... Pin
jon-8028-Sep-06 9:15
professionaljon-8028-Sep-06 9:15 
I would like to create a dataset that indicates whether co-ordinates on a grid are occupied. How do I set the composite primary key to be made up of xPosition and yPosition?

Then I need to populate the values with 'false' initially and mark them as true through a function. How do I populate the values?

Is the size of the dataset incremented automatically as I increment the values or do I have to do it explicitly?

Public Class Plateau

...

Private Sub initDataSource()

'Create PlateauPostions

'define attributes
With plateauPositions
.Columns.Add("xPosition", System.Type.GetType("system.int32"))
.Columns.Add("yPosition", System.Type.GetType("system.int32"))
.Columns.Add("occupied", System.Type.GetType("System.boolean"))
End With

'enforce composite primary key on xPosition and yPosition
... ??

End Sub

Jon
QuestionPicturebox problem Pin
ADY00728-Sep-06 7:55
ADY00728-Sep-06 7:55 
AnswerRe: Picturebox problem Pin
Christian Graus28-Sep-06 13:01
protectorChristian Graus28-Sep-06 13:01 
GeneralRe: Picturebox problem Pin
ADY00730-Sep-06 0:24
ADY00730-Sep-06 0:24 
GeneralRe: Picturebox problem Pin
Christian Graus30-Sep-06 11:41
protectorChristian Graus30-Sep-06 11:41 
QuestionListbox colors Pin
Silver-Grey28-Sep-06 5:44
Silver-Grey28-Sep-06 5:44 
AnswerRe: Listbox colors Pin
Dave Kreskowiak28-Sep-06 7:22
mveDave Kreskowiak28-Sep-06 7:22 
Questiondynamically adding controlelements Pin
Smithers-Jones28-Sep-06 3:57
Smithers-Jones28-Sep-06 3:57 
AnswerRe: dynamically adding controlelements Pin
Guffa28-Sep-06 4:13
Guffa28-Sep-06 4:13 
GeneralRe: dynamically adding controlelements Pin
Smithers-Jones28-Sep-06 4:36
Smithers-Jones28-Sep-06 4:36 
AnswerRe: dynamically adding controlelements Pin
Guffa28-Sep-06 5:05
Guffa28-Sep-06 5:05 
Questionservices running in a system Pin
jonniebigodes28-Sep-06 3:27
jonniebigodes28-Sep-06 3:27 
AnswerRe: services running in a system Pin
Dave Kreskowiak28-Sep-06 7:14
mveDave Kreskowiak28-Sep-06 7:14 
GeneralRe: services running in a system [modified] Pin
jonniebigodes28-Sep-06 19:24
jonniebigodes28-Sep-06 19:24 
QuestionHow to play a beep with a particular length Pin
re infecta28-Sep-06 1:10
re infecta28-Sep-06 1:10 
AnswerRe: How to play a beep with a particular length Pin
Dave Kreskowiak28-Sep-06 7:17
mveDave Kreskowiak28-Sep-06 7:17 
GeneralRe: How to play a beep with a particular length Pin
re infecta30-Sep-06 12:50
re infecta30-Sep-06 12:50 
GeneralRe: How to play a beep with a particular length Pin
Dave Kreskowiak1-Oct-06 5:27
mveDave Kreskowiak1-Oct-06 5:27 

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.