473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Nov 22 '05 #1
0 714

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: B Golash | last post by:
Hi I`m trying to install a third-party control. During the install I receive this error...see the url below. I have no idea as to the meaning of the error. ...
2
by: Mike Fisher | last post by:
I'm seeing an error when I try to run/debug a web service. Although it doesn't happen every time, it does occur more than half of the times I hit F5. It appears to be returned by the the JIT...
0
by: Galileo | last post by:
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...
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
0
by: Marlon | last post by:
I got the error message below when I try to open a connection with code: Dim connection As New OdbcConnection("Driver={Microsoft Text Driver (*.txt; *.csv)};DBQ=C:\Inetpub\aesd")...
1
by: Marlon | last post by:
I got the error message below when I try to open a connection with code: Dim connection As New OdbcConnection("Driver={Microsoft Text Driver (*.txt; *.csv)};DBQ=C:\Inetpub\aesd")...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
0
by: clever101 | last post by:
hi, I used mapobjects2.3 (ESRI product) to develop, In Application class a error occur: if (!ProcessShellCommand(cmdInfo)) // error occur when run at this line return FALSE; The tip as...
2
by: justmvb | last post by:
Error: EventType clr20r3, P1 redsmsservice.exe, P2 1.0.0.0, P3 48c0e7d0, P4 gsmcommunication, P5 1.10.0.0, P6 44d2c55f, P7 96, P8 3b, P9 system.nullreferenceexception, P10 NIL. System: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.