Click here to Skip to main content
15,888,733 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Entity framework : refreshing a single object from database. Pin
Dave Kreskowiak11-Mar-18 13:10
mveDave Kreskowiak11-Mar-18 13:10 
AnswerRe: Entity framework : refreshing a single object from database. Pin
Gerry Schmitz12-Mar-18 12:11
mveGerry Schmitz12-Mar-18 12:11 
QuestionI have a question about Visual Basic and Databases... Pin
D. Doulas10-Mar-18 10:29
D. Doulas10-Mar-18 10:29 
QuestionRe: I have a question about Visual Basic and Databases... Pin
Richard MacCutchan10-Mar-18 22:21
mveRichard MacCutchan10-Mar-18 22:21 
AnswerRe: I have a question about Visual Basic and Databases... Pin
D. Doulas11-Mar-18 10:35
D. Doulas11-Mar-18 10:35 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Richard MacCutchan11-Mar-18 22:20
mveRichard MacCutchan11-Mar-18 22:20 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen12-Mar-18 1:14
professionalEddy Vluggen12-Mar-18 1:14 
GeneralRe: I have a question about Visual Basic and Databases... Pin
D. Doulas12-Mar-18 9:06
D. Doulas12-Mar-18 9:06 
Yes, I'm using Visual Basic 6. Ill look up the "ItemData" object in the MSDN Library. I have some revised code that might be a little clear on this topic. I found out I was using the wrong database object to access the Database. How about this code...

Private Sub cmdLoadMasterSchedule_Click()
dlgCommonDialog.Filter = "Microsoft Access Database Applications(*.mdb)"
dlgCommonDialog.ShowOpen
Data1.Connect = dlgCommonDialog.InitDir

End Sub

Private Sub cmbListTablesInRecordSet_Click()
cmbListTablesInRecordSet.DataSource (Data1.RecordSource)
cmbListTablesInRecordSet.DataField ""

End Sub


I think this new code links to the database, but I'm still stumped on the second code part. I can access the data by clicking on the RecordSource property and choose a particular table to point too, but I still am not sure how to do it with the above code. .DataFeild and .DataSource properties still perplex me.

Any advice here with this new code?
AnswerRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen12-Mar-18 11:27
professionalEddy Vluggen12-Mar-18 11:27 
GeneralRe: I have a question about Visual Basic and Databases... Pin
D. Doulas19-Mar-18 10:13
D. Doulas19-Mar-18 10:13 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen19-Mar-18 10:42
professionalEddy Vluggen19-Mar-18 10:42 
AnswerRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen11-Mar-18 2:08
professionalEddy Vluggen11-Mar-18 2:08 
GeneralRe: I have a question about Visual Basic and Databases... Pin
D. Doulas11-Mar-18 10:43
D. Doulas11-Mar-18 10:43 
GeneralRe: I have a question about Visual Basic and Databases... Pin
Eddy Vluggen11-Mar-18 10:58
professionalEddy Vluggen11-Mar-18 10:58 
QuestionI am trying to change code from vb6 to vb.net but I am getting error Pin
Member 107545958-Mar-18 8:30
Member 107545958-Mar-18 8:30 
AnswerRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Maciej Los8-Mar-18 9:05
mveMaciej Los8-Mar-18 9:05 
GeneralRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Member 107545959-Mar-18 3:03
Member 107545959-Mar-18 3:03 
GeneralRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Dave Kreskowiak9-Mar-18 9:37
mveDave Kreskowiak9-Mar-18 9:37 
AnswerRe: I am trying to change code from vb6 to vb.net but I am getting error Pin
Eddy Vluggen9-Mar-18 4:11
professionalEddy Vluggen9-Mar-18 4:11 
QuestionHow to display an image in a center of a form Pin
desanti7-Mar-18 9:51
desanti7-Mar-18 9:51 
AnswerRe: How to display an image in a center of a form Pin
Gerry Schmitz7-Mar-18 10:56
mveGerry Schmitz7-Mar-18 10:56 
GeneralRe: How to display an image in a center of a form Pin
desanti7-Mar-18 11:07
desanti7-Mar-18 11:07 
AnswerRe: How to display an image in a center of a form Pin
Eddy Vluggen8-Mar-18 1:45
professionalEddy Vluggen8-Mar-18 1:45 
AnswerRe: How to display an image in a center of a form Pin
Eddy Vluggen9-Mar-18 5:41
professionalEddy Vluggen9-Mar-18 5:41 
QuestionForm topmost only within application Pin
desanti7-Mar-18 9:47
desanti7-Mar-18 9:47 

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.