Click here to Skip to main content
15,927,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to check a text box for a valid email address Pin
eshban28421-Mar-05 21:59
eshban28421-Mar-05 21:59 
AnswerRe: How to check a text box for a valid email address Pin
sumit2121-Mar-05 22:04
sumit2121-Mar-05 22:04 
GeneralRe: How to check a text box for a valid email address Pin
Dave Kreskowiak22-Mar-05 0:57
mveDave Kreskowiak22-Mar-05 0:57 
AnswerRe: How to check a text box for a valid email address Pin
Dave Kreskowiak22-Mar-05 1:04
mveDave Kreskowiak22-Mar-05 1:04 
Questionhow to compile web pages Pin
sumit2121-Mar-05 21:47
sumit2121-Mar-05 21:47 
AnswerRe: how to compile web pages Pin
User 25755221-Mar-05 22:11
User 25755221-Mar-05 22:11 
AnswerRe: how to compile web pages Pin
Dave Kreskowiak22-Mar-05 0:54
mveDave Kreskowiak22-Mar-05 0:54 
Questionhow to make oledb connection through code Pin
sumit2121-Mar-05 20:55
sumit2121-Mar-05 20:55 
i had a microsoft access file db1 which contains various tables "table1","tabl2"

now wheni try to make connection through code, it is sending exception

here is my code snippet("i had imported system.data.oledb)

dim con as oledbconnection=new oledbconnection("provider=microsoft.oledb.jet.4.0; data source=.;initial catalog=db1;user id=admin; password=")

dim com as oledbcommand=new oledbcommand("select * from table1",con)

dim ds as new dataset()

dim adap as new oledbdataadapter()
adap.selectCommand(com)
adap.fill(ds,"table1") (exception here)



plz help me
i m new to vb.net

thanks
AnswerRe: how to make oledb connection through code Pin
Colin Angus Mackay21-Mar-05 21:13
Colin Angus Mackay21-Mar-05 21:13 
GeneralRe: how to make oledb connection through code Pin
sumit2121-Mar-05 21:17
sumit2121-Mar-05 21:17 
GeneralRe: how to make oledb connection through code Pin
Colin Angus Mackay21-Mar-05 21:20
Colin Angus Mackay21-Mar-05 21:20 
GeneralRe: how to make oledb connection through code Pin
sumit2121-Mar-05 21:43
sumit2121-Mar-05 21:43 
GeneralRe: how to make oledb connection through code Pin
Dave Kreskowiak22-Mar-05 0:48
mveDave Kreskowiak22-Mar-05 0:48 
GeneralRe: how to make oledb connection through code Pin
sumit2122-Mar-05 1:27
sumit2122-Mar-05 1:27 
GeneralRe: how to make oledb connection through code Pin
Dave Kreskowiak22-Mar-05 1:58
mveDave Kreskowiak22-Mar-05 1:58 
Generalretrieving e-mails from outlook Pin
MagicGirL8321-Mar-05 19:43
MagicGirL8321-Mar-05 19:43 
GeneralExplorer Bars Pin
micromause21-Mar-05 19:36
micromause21-Mar-05 19:36 
GeneralRe: Explorer Bars Pin
sumit2121-Mar-05 22:08
sumit2121-Mar-05 22:08 
GeneralRe: Explorer Bars Pin
Dave Kreskowiak22-Mar-05 0:41
mveDave Kreskowiak22-Mar-05 0:41 
GeneralRegistryKey GetType() help Pin
badcredit21-Mar-05 17:25
badcredit21-Mar-05 17:25 
GeneralRe: RegistryKey GetType() help Pin
Christian Graus21-Mar-05 17:37
protectorChristian Graus21-Mar-05 17:37 
GeneralRe: RegistryKey GetType() help Pin
Dave Kreskowiak22-Mar-05 0:29
mveDave Kreskowiak22-Mar-05 0:29 
GeneralDeleting an entry in datagrid Pin
Chaos Machine21-Mar-05 16:48
Chaos Machine21-Mar-05 16:48 
GeneralRe: Deleting an entry in datagrid Pin
sumit2121-Mar-05 21:03
sumit2121-Mar-05 21:03 
GeneralSMART with VB.NET Pin
Chaos Machine21-Mar-05 15:46
Chaos Machine21-Mar-05 15:46 

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.