A
Al Repasky
I have tried to get this to work for weeks. When I run my program on
my development computer, I find my Access DB file fine. When I
install the framework with dotnetfx.exe on another computer, when I
open the DB, it can not find the file or in other words it will not
work. It has got to be the dotnetfx.exe file and install. Because
when I run it on my development computer, where I did not us
dotnetfx.exe it works.
I have tried this install of dotnetfx.exe on now 2 different systems.
The first was a Win98. Thinking it was the operating system, I
installed it on a Win2000 computer. It does not work on either. So
Microsoft must have something wrong in dotnetfx.exe.
The code is:
Dim str As String
Dim int As Integer
Dim Adapt1 As OleDb.OleDbDataAdapter
'Create SQL Statement
str = "SELECT tYear FROM tAutos GROUP BY tYear ORDER BY tYear"
'Load table
Adapt1 = New OleDb.OleDbDataAdapter(str, DBConn)
Try
DBConn.Open()
Catch
MessageBox.Show("Database file can not be found.")
MessageBox.Show(DBConn.DataSource)
Application.Exit()
End Try
Is there a fix for this?
Thanks,
riprip
my development computer, I find my Access DB file fine. When I
install the framework with dotnetfx.exe on another computer, when I
open the DB, it can not find the file or in other words it will not
work. It has got to be the dotnetfx.exe file and install. Because
when I run it on my development computer, where I did not us
dotnetfx.exe it works.
I have tried this install of dotnetfx.exe on now 2 different systems.
The first was a Win98. Thinking it was the operating system, I
installed it on a Win2000 computer. It does not work on either. So
Microsoft must have something wrong in dotnetfx.exe.
The code is:
Dim str As String
Dim int As Integer
Dim Adapt1 As OleDb.OleDbDataAdapter
'Create SQL Statement
str = "SELECT tYear FROM tAutos GROUP BY tYear ORDER BY tYear"
'Load table
Adapt1 = New OleDb.OleDbDataAdapter(str, DBConn)
Try
DBConn.Open()
Catch
MessageBox.Show("Database file can not be found.")
MessageBox.Show(DBConn.DataSource)
Application.Exit()
End Try
Is there a fix for this?
Thanks,
riprip