Re: ado connection fail on Vista
- From: "paolol" <paolol@xxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Mar 2007 11:05:48 +0200
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]" <pbromberg@xxxxxxxxxxxxxxxxxxxxxxx> ha scritto nel messaggio news:4DA5D358-4CA9-400D-865F-7C30001B10AD@xxxxxxxxxxxxxxxx
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
.
- References:
- ado connection fail on Vista
- From: paolol
- ado connection fail on Vista
- Prev by Date: Re: Fortran files in C#?
- Next by Date: Re: downloading a single file using multiple threads
- Previous by thread: Re: ado connection fail on Vista
- Next by thread: Why is the second element in this XML not being picked up?
- Index(es):
Relevant Pages
|