468,785 Members | 1,665 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,785 developers. It's quick & easy.

Construct OdbcConnection get unhandle error in Windows 2000

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.OdbcConnection
Sub main()
End Sub
End Module
But if I just declare without contructing the odbcconnection, it work fine
Dim a As Odbc.OdbcConnection

But once I contruct it, it can't
a=new odbc.odbcconnection
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
Jul 21 '05 #1
0 879

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mike Fisher | last post: by
6 posts views Thread by Peter Frost | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.