Runtime error for API SQLConfigDataSource

  • Thread starter Thread starter Jose C.
  • Start date Start date
J

Jose C.

I am trying to create a DSN at runtime in VB.NET. I am
able to do this in VB6, but when I try to do the same
thing in VB.NET I get the following exception:

Object reference not set to an instance of an object.

Can anyone give me an insight on this.
 
Jose C. said:
I am trying to create a DSN at runtime in VB.NET. I am
able to do this in VB6, but when I try to do the same
thing in VB.NET I get the following exception:

Object reference not set to an instance of an object.

Post your code (declaration of 'SQLConfigDataSource').
 
Back
Top