Re: Win2K3 and the OleDb 8.0 driver
From: Michael Drozdov (vfpdev_at_narod.ru)
Date: 08/20/04
- Previous message: Michael Drozdov: "Re: Win2K3 and the OleDb 8.0 driver"
- In reply to: SQLScott: "Re: Win2K3 and the OleDb 8.0 driver"
- Next in thread: Michael Drozdov: "Re: Win2K3 and the OleDb 8.0 driver"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 21 Aug 2004 04:16:31 +0600
Hi, Scott!
> Code:
> Dim tVFPConnstr As String
> Dim cVFPConn As OleDbConnection
>
>
> tVFPConnstr = "Provider=VFPOLEDB;Data
> Source=p:\csiwin\data\hr180.dbf;SourceType=DBF;UID=;PWD=;Exclusive=No"
>
> cVFPConn = New OleDbConnection(tVFPConnstr)
>
> cVFPConn.Open() -> ERRORS ON THIS LINE
> returns the error: "Referenced object has a value of 'Nothing'"
Hm... I am not the "jewelry programmer" in VB.NET :-) ...and I am not
sure... but
try to use code, something similarly to following:
...
Dim cVFPConn As New OleDbConnection()
Conn.ConnectionString = tVFPConnstr
cVFPConn.Open()
...
Best regards.
Michael Drozdov, ICS Soft, Perm, Russia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My Page: http://vfpdev.narod.ru/
ICS Page: http://www.ics.perm.ru/ [on Russian]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Previous message: Michael Drozdov: "Re: Win2K3 and the OleDb 8.0 driver"
- In reply to: SQLScott: "Re: Win2K3 and the OleDb 8.0 driver"
- Next in thread: Michael Drozdov: "Re: Win2K3 and the OleDb 8.0 driver"
- Messages sorted by: [ date ] [ thread ]