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

Visual Basic

 
GeneralTCP client with integers Pin
Member 8079984-Apr-05 9:27
Member 8079984-Apr-05 9:27 
GeneralTrying to understand Data Access - Never Mind! Pin
frgood4-Apr-05 9:25
frgood4-Apr-05 9:25 
GeneralHelp me ASAP. Pin
abeyphier4-Apr-05 4:05
abeyphier4-Apr-05 4:05 
GeneralRe: Help me ASAP. Pin
Christian Graus4-Apr-05 10:34
protectorChristian Graus4-Apr-05 10:34 
GeneralRe: Help me ASAP. Pin
Dave Kreskowiak4-Apr-05 14:13
mveDave Kreskowiak4-Apr-05 14:13 
GeneralRe: Help me ASAP. Pin
Christian Graus4-Apr-05 14:23
protectorChristian Graus4-Apr-05 14:23 
GeneralRe: Help me ASAP. Pin
Dave Kreskowiak4-Apr-05 16:00
mveDave Kreskowiak4-Apr-05 16:00 
GeneralAccess-- Connection String Pin
Anonymous4-Apr-05 3:30
Anonymous4-Apr-05 3:30 
Hi All,

Am getting an error in getting connected to the Access Database.
But when i get connected to the access database thru database connection wizard (from design page itself),its working fine.
I tried copying the connection string from the design properties to the code also but its not working

Code:
con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\test.mdb;UID=admin"

Error:
An unhandled exception of type 'System.NullReferenceException' occurred in WindowsApplication2.exe

Additional information: Object reference not set to an instance of an object.

Any one can help me?

Thanks in advance


GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 4:47
Jim Matthews4-Apr-05 4:47 
GeneralRe: Access-- Connection String Pin
Anonymous4-Apr-05 5:10
Anonymous4-Apr-05 5:10 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 5:30
Jim Matthews4-Apr-05 5:30 
GeneralRe: Access-- Connection String Pin
Anonymous4-Apr-05 6:16
Anonymous4-Apr-05 6:16 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 6:50
Jim Matthews4-Apr-05 6:50 
Generalhello anybody can solve it Pin
Anonymous4-Apr-05 3:17
Anonymous4-Apr-05 3:17 
GeneralRe: hello anybody can solve it Pin
Jim Matthews4-Apr-05 4:52
Jim Matthews4-Apr-05 4:52 
GeneralRe: hello anybody can solve it Pin
Anonymous4-Apr-05 19:41
Anonymous4-Apr-05 19:41 
GeneralDataset Help Pin
nitin_ion4-Apr-05 1:56
nitin_ion4-Apr-05 1:56 
GeneralXML Didn't post Pin
Colin Angus Mackay4-Apr-05 2:32
Colin Angus Mackay4-Apr-05 2:32 
GeneralRe: XML Didn't post Pin
nitin_ion4-Apr-05 17:22
nitin_ion4-Apr-05 17:22 
GeneralCPU ID and Mac address Pin
Dile4-Apr-05 1:39
Dile4-Apr-05 1:39 
GeneralRe: CPU ID and Mac address Pin
Anonymous4-Apr-05 15:21
Anonymous4-Apr-05 15:21 
GeneralCustom button Pin
kurtvandoorne4-Apr-05 1:36
kurtvandoorne4-Apr-05 1:36 
GeneralRe: Custom button Pin
Mitch F.4-Apr-05 7:49
Mitch F.4-Apr-05 7:49 
GeneralVB vs C++ for COM Development Pin
Anonymous4-Apr-05 0:02
Anonymous4-Apr-05 0:02 
GeneralSimple VB Code Pin
firestar_3x3-Apr-05 23:41
firestar_3x3-Apr-05 23:41 

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.