Click here to Skip to main content
15,922,894 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionASP Question Pin
alexfromto4-May-06 3:15
alexfromto4-May-06 3:15 
QuestionChange Scroll Bar Width? Pin
Kaditcher4-May-06 2:57
Kaditcher4-May-06 2:57 
Questioncrystal report help Pin
vipinpaliwal19804-May-06 1:28
vipinpaliwal19804-May-06 1:28 
Questionabout charts in powerpoint slides usig vb.net. Pin
jkrao4-May-06 1:25
jkrao4-May-06 1:25 
AnswerRe: about charts in powerpoint slides usig vb.net. Pin
Rabi@Dundas5-May-06 12:58
Rabi@Dundas5-May-06 12:58 
Questionserious problem in accessing data in datagrid in vb 6.0 Pin
sandeep_thakur4-May-06 0:46
sandeep_thakur4-May-06 0:46 
AnswerRe: serious problem in accessing data in datagrid in vb 6.0 Pin
Dave Kreskowiak4-May-06 2:06
mveDave Kreskowiak4-May-06 2:06 
AnswerRe: serious problem in accessing data in datagrid in vb 6.0 Pin
Dave Kreskowiak4-May-06 5:57
mveDave Kreskowiak4-May-06 5:57 
Try specifying the cursor location. Add this to your code:
Dim con As ADODB.Connection
Set con = New ADODB.Connection
Set rs = New ADODB.Recordset
con.Provider = "Microsoft.Jet.Oledb.4.0"
con.Open "C:\Documents and Settings\Administrator\Desktop\Sandy\db2.mdb"
rst.CursorLocation = adUseClient
rs.Open "select * from student", con
Set dg1.DataSource = rs

IIRC, Access databases don't support server-side cursors...


Dave Kreskowiak
Microsoft MVP - Visual Basic



-- modified at 11:58 Thursday 4th May, 2006
QuestionNeed help with VB.Net on splitting data grid windows Pin
Sithy4-May-06 0:22
Sithy4-May-06 0:22 
Questionirrgent help for Crystal Reports Pin
militiaware3-May-06 23:11
militiaware3-May-06 23:11 
AnswerRe: irrgent help for Crystal Reports Pin
J4amieC4-May-06 0:02
J4amieC4-May-06 0:02 
AnswerRe: irrgent help for Crystal Reports Pin
Dave Kreskowiak4-May-06 2:04
mveDave Kreskowiak4-May-06 2:04 
QuestionControl Menu on MDI? Pin
minhnguyen083-May-06 22:15
minhnguyen083-May-06 22:15 
AnswerRe: Control Menu on MDI? Pin
Rizwan Bashir3-May-06 23:18
Rizwan Bashir3-May-06 23:18 
QuestionNeed help on using Unicode with SQL Server Pin
Sithy3-May-06 21:04
Sithy3-May-06 21:04 
Questionmultiple forms Pin
viji]3-May-06 20:50
viji]3-May-06 20:50 
AnswerRe: multiple forms Pin
sathish s3-May-06 21:00
sathish s3-May-06 21:00 
AnswerRe: multiple forms Pin
Christian Graus3-May-06 21:39
protectorChristian Graus3-May-06 21:39 
QuestionHow to apply a new font over a label control on a windows form? Pin
Arunag3-May-06 19:46
Arunag3-May-06 19:46 
AnswerRe: How to apply a new font over a label control on a windows form? Pin
sathish s3-May-06 20:28
sathish s3-May-06 20:28 
AnswerRe: How to apply a new font over a label control on a windows form? Pin
Dave Kreskowiak4-May-06 2:01
mveDave Kreskowiak4-May-06 2:01 
Questionhow to arrage the xml data in tree view in vb.net? Pin
Ron.S3-May-06 19:12
Ron.S3-May-06 19:12 
QuestionSave Color in Access Database? Pin
Radiska3-May-06 12:24
Radiska3-May-06 12:24 
AnswerRe: Save Color in Access Database? Pin
Dave Kreskowiak4-May-06 1:59
mveDave Kreskowiak4-May-06 1:59 
Questionrichtextbox.savefile append? Pin
cj43313-May-06 10:08
cj43313-May-06 10:08 

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.