Click here to Skip to main content
15,902,492 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VBA Doubt Pin
<color>Aljechin 9-Jan-06 20:14
<color>Aljechin 9-Jan-06 20:14 
QuestionVB.Net Naming Convention Pin
GaneshParam8-Jan-06 23:13
GaneshParam8-Jan-06 23:13 
AnswerRe: VB.Net Naming Convention Pin
Colin Angus Mackay9-Jan-06 1:25
Colin Angus Mackay9-Jan-06 1:25 
AnswerRe: VB.Net Naming Convention Pin
Ray Cassick9-Jan-06 10:52
Ray Cassick9-Jan-06 10:52 
QuestionFresher: Passing and accessing common variables Pin
mayhem_rules8-Jan-06 23:11
mayhem_rules8-Jan-06 23:11 
Questionplz send me a WINSOCK Example Pin
Paritos8-Jan-06 19:20
Paritos8-Jan-06 19:20 
AnswerRe: plz send me a WINSOCK Example Pin
Marc Soleda8-Jan-06 20:37
Marc Soleda8-Jan-06 20:37 
QuestionData Bindinig In Visual basic 6.0 Pin
tusar1238-Jan-06 19:02
tusar1238-Jan-06 19:02 
hi all,

i just Want To create a program with a datagrid, connectrion , and recordset object.
My problem is that data grid does not show the records in it.and gives no Error

please solve my Problem.

the Coding i use


Option Explicit
dim rec As new ADODB.Recordset
Dim con As New ADODB.Connection


Private Sub Command3_Click()
Unload Me
End Sub

Private Sub Form_Load()
Dim str As String
With con
.Open ("Provider=Microsoft.jet.oledb.4.0 ; data Source=C:\Documents and Settings\Administrator\Desktop\vc.mdb")
End With
'Set rec = New ADODB.Recordset
str = "select * from invtrans"
'If con.Open = adstaeopen Then con.Close
rec.Open str, con, adOpenStatic, adLockOptimistic
'MsgBox rec.RecordCount
'rec.MoveFirst
MsgBox rec.Fields(1)
Set DataGrid1.DataSource = rec
'Set DataGrid1.DataBindings = rec




End Sub



manoj
AnswerRe: Data Bindinig In Visual basic 6.0 Pin
Deepaish9-Jan-06 7:33
Deepaish9-Jan-06 7:33 
Questionhow to design tables & coding for multilevel Bill Of Material having Main products,assemblies & Sub - assemblies & items in it. ??? Pin
ashu7778-Jan-06 18:42
ashu7778-Jan-06 18:42 
Answer...How to ... ??? Pin
toxcct9-Jan-06 0:10
toxcct9-Jan-06 0:10 
AnswerRe: how to design tables & coding for multilevel Bill Of Material having Main products,assemblies & Sub - assemblies & items in it. ??? Pin
Dave Kreskowiak9-Jan-06 2:21
mveDave Kreskowiak9-Jan-06 2:21 
Question"MAPI" and "WINSOCK" Pin
Paritos8-Jan-06 18:25
Paritos8-Jan-06 18:25 
AnswerRe: "MAPI" and "WINSOCK" Pin
Marc Soleda8-Jan-06 20:44
Marc Soleda8-Jan-06 20:44 
GeneralRe: "MAPI" and "WINSOCK" Pin
Paritos8-Jan-06 21:41
Paritos8-Jan-06 21:41 
GeneralRe: "MAPI" and "WINSOCK" Pin
Marc Soleda9-Jan-06 0:18
Marc Soleda9-Jan-06 0:18 
AnswerRe: &quot;MAPI&quot; and &quot;WINSOCK&quot; Pin
Steve Pullan9-Jan-06 16:15
Steve Pullan9-Jan-06 16:15 
QuestionWhat is WINSOCK Pin
Paritos8-Jan-06 18:20
Paritos8-Jan-06 18:20 
QuestionNeed help with VB web form Pin
Derek G8-Jan-06 17:48
Derek G8-Jan-06 17:48 
AnswerRe: Need help with VB web form Pin
Christian Graus8-Jan-06 17:54
protectorChristian Graus8-Jan-06 17:54 
GeneralRe: Need help with VB web form Pin
Derek G8-Jan-06 19:22
Derek G8-Jan-06 19:22 
GeneralRe: Need help with VB web form Pin
Christian Graus9-Jan-06 10:59
protectorChristian Graus9-Jan-06 10:59 
GeneralRe: Need help with VB web form Pin
Derek G9-Jan-06 19:22
Derek G9-Jan-06 19:22 
GeneralRe: Need help with VB web form Pin
Derek G9-Jan-06 19:27
Derek G9-Jan-06 19:27 
GeneralRe: Need help with VB web form Pin
Christian Graus10-Jan-06 9:51
protectorChristian Graus10-Jan-06 9:51 

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.