Current location: Hot Scripts Forums » Programming Languages » Windows .NET Programming » Construct OdbcConnection get unhandle error in Windows 2000


Construct OdbcConnection get unhandle error in Windows 2000

Reply
  #1 (permalink)  
Old 01-21-05, 08:36 AM
galileomak galileomak is offline
New Member
 
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000, IIS 5.0, PHP 4.3.8 net start problem wheatchris PHP 0 11-30-04 05:56 PM
Proven PHP Script not working on Windows 2000 server – any ideas? chimchim PHP 5 11-13-03 09:16 PM
Matrix Reseller - Windows 2003 and FreeBSD vortech General Advertisements 0 11-02-03 10:06 PM
Control Panel for Windows 2000 Damian The Lounge 10 06-16-03 01:00 PM
Windows 2000 Hosting with ASP.NET & MS SQL - $6.99/mo JodoHost General Advertisements 0 06-15-03 10:08 AM


All times are GMT -5. The time now is 02:15 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.