473,466 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ado connection fail on Vista

Hi,

I just finish to install VS2005 on vista and my proget is not working on

Connessione = new ADODB.ConnectionClass();

I get an error, so I went to the MS site and downloaded the MDAC_TYP version
2.8 , that is suppose to solve this error.

Bu I still get the error and I have no more clues on what to do to fix it,

Please help.

Paolol

Mar 27 '07 #1
3 1274
If you're doing .Net, why are you using ADODB instead of ADO.Net?

Robin S.
--------------------------
"paolol" <pa****@salsan.net.nospamwrote in message
news:B0**********************************@microsof t.com...
Hi,

I just finish to install VS2005 on vista and my proget is not working on

Connessione = new ADODB.ConnectionClass();

I get an error, so I went to the MS site and downloaded the MDAC_TYP
version 2.8 , that is suppose to solve this error.

Bu I still get the error and I have no more clues on what to do to fix
it,

Please help.

Paolol

Mar 27 '07 #2
If you are using Visual Studio 2005 you really ought to be using ADO.NET, not
classic ADO. You probably want SqlOleDb or SqlNClI provider.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"paolol" wrote:
Hi,

I just finish to install VS2005 on vista and my proget is not working on

Connessione = new ADODB.ConnectionClass();

I get an error, so I went to the MS site and downloaded the MDAC_TYP version
2.8 , that is suppose to solve this error.

Bu I still get the error and I have no more clues on what to do to fix it,

Please help.

Paolol
Mar 28 '07 #3
Hi,thanks to both of you,
But this is an old project I try to move on.
I need to show the connection menu to enable the user to set the connection
to a MSSQL db and to an Access 2000 db.
Any suggestion on how to change this code ?
Thanks ,
Paolol

this is the code
---------------------
Connessione = new ADODB.ConnectionClass();
Connessione.ConnectionString = textBox2.Text.Trim();
object oConnessione=Connessione;
if ((bool)dataLink.PromptEdit(ref oConnessione))
{ textBox2.Text = Connessione.ConnectionString; };
---------------------

"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comha scritto nel
messaggio news:4D**********************************@microsof t.com...
If you are using Visual Studio 2005 you really ought to be using ADO.NET,
not
classic ADO. You probably want SqlOleDb or SqlNClI provider.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"paolol" wrote:
>Hi,

I just finish to install VS2005 on vista and my proget is not working on

Connessione = new ADODB.ConnectionClass();

I get an error, so I went to the MS site and downloaded the MDAC_TYP
version
2.8 , that is suppose to solve this error.

Bu I still get the error and I have no more clues on what to do to fix
it,

Please help.

Paolol
Mar 28 '07 #4

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

Similar topics

1
by: Abby | last post by:
I'm writing a code to send/receive udp packet. I'll receive ip address from user (this is the starting ip), then I'll ask user how many ip he wants to connect to. For examples: Please enter 1st...
4
by: yop | last post by:
All I need to store a connection in the application object due to the need to use MYSQL and its very poor connection pooling. Would someone have an example as the code below is not working...
9
by: Scott Ribe | last post by:
OK, I'm using a pool of worker threads that each have a connection (from my own software, no PHP or anything like that involved), and a connection is in a state where all queries fail. Looking back...
16
by: crbd98 | last post by:
Hello All, Some time ago, I implemented a data access layer that included a simple connectin pool. At the time, I did it all by myself: I created N connections, each connection associated with...
1
by: Pradeep83 | last post by:
Hi All Problem : I am unable to retrieve the data from the table in postgres database using C application which i have written in solaris os. Query: How to check whether connection is there...
1
by: =?Utf-8?B?U3RlZmFuX04=?= | last post by:
I have tried everything i can think of, but nothing helps... Why does Vista block my internet connection but not my LAN ??? I don't understand it.... Maybe a bug ? nVidia built-in NIC and D-Link...
1
by: Flupke | last post by:
Hello everyone, I'm trying to make a OLEDB-connection between VB.Net (Visuel Studio 2005) and an Access-2003 database. This works smoothly and without a single problem on a Windows XP desktop...
1
by: Flupke | last post by:
I'm trying to set up an oledb connection between vb.net in visual studio 2005 and an access 2003 database. This works without a single problem under windows XP but not on a laptop configured with...
2
by: Martin | last post by:
I have the following code being used in several of my PHP scripts (it's in an include file). It opens a socket connection to a process that's running on the same computer that IIS/PHP is running...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.