My develop computer is windows XP.
My program is just five lines. I am using visual basic .net 2003. I
set
the start procedure to sub main. It works fine with my computer. But
when I
run the program in windows 2000 and windows 98 system. It goes up an
error
Application has generated an exception that could not be handle
Process id=0x300 (768), Thread id=0x410(1040)
Click OK to terminate the application
Click CANCEL to debug the application
The program is like that:
Module Module1
Dim a As New Odbc.OdbcConnec tion
Sub main()
End Sub
End Module
But if I just declare without contructing the odbcconnection, it work
fine
Dim a As Odbc.OdbcConnec tion
But once I contruct it, it can't
a=new odbc.odbcconnec tion
This suitation is the same when I use Csharp, surely the error message
is
different but still cannot guess the error.
I have install .net framework, mdac2.8 odbc_net but still cannot work
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*