1 Replies - 6855 Views - Last Post: 15 April 2009 - 06:20 PM Rate Topic: -----

#1 mher2ha  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 12-April 09

Can't Find PInvoke DLL "dbnetlib.dll"

Post icon  Posted 15 April 2009 - 03:43 AM

hi guys. im using vb.net windows mobile 5.0 and im trying to make a application and when i try to connect it to the SQL server 2000 i encounter this error Can't Find PInvoke DLL "dbnetlib.dll"

sample code:

import system.data
import system.data.sqlclient

public sub OpenConnection()
dim Connection as new sqlconnection("Data Source=(local);Initial Catalog=OrderDb;Integrated Security=SSPI")

Connection.open ' Here's the part that will error
msgbox("Connection Open")

end sub



This post has been edited by mher2ha: 15 April 2009 - 03:49 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Can't Find PInvoke DLL "dbnetlib.dll"

#2 markhazlett9  Icon User is offline

  • Coding is a lifestyle
  • member icon

Reputation: 60
  • View blog
  • Posts: 1,666
  • Joined: 12-July 08

Re: Can't Find PInvoke DLL "dbnetlib.dll"

Posted 15 April 2009 - 06:20 PM

This would probably go better in the VB.NET forum. I'll get one of the mods to move it...

Cheers
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1