473,414 Members | 1,746 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,414 software developers and data experts.

Connecting to MSDE using VB.NET

Hello

What is the best way(Connection String) to connect to MSDE
using VB.NET ?

Any help appreciated ...
Thanks

Bobby
Nov 20 '05 #1
2 1061
Dim cnx As New SqlConnectionString("Data Source=mydatabase;
Server=localhost; uid=sa; pwd=mypass;")

"Bobby" <an*******@discussions.microsoft.com> a écrit dans le message de
news:01****************************@phx.gbl...
Hello

What is the best way(Connection String) to connect to MSDE
using VB.NET ?

Any help appreciated ...
Thanks

Bobby

Nov 20 '05 #2
* "Bobby" <an*******@discussions.microsoft.com> scripsit:
What is the best way(Connection String) to connect to MSDE
using VB.NET ?


Did you have a look at <http://www.connectionstrings.com>, especially at
the SQL Server connection strings?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

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

Similar topics

7
by: stefanPL | last post by:
Hello, well, I am still trying to connect to SQL Server 2000 (MSDE) form PHP I did the following: 1. enabled php_mssql.dll extension in php.ini (phpinfo() shows it) 2. every dll is in proper...
4
by: John Morgan | last post by:
I have Enterprise Manager on my local machine. For the last twelve months it has been connecting without problem to my online SQL Server database provided by my ISP. Three weeks ago the ISP...
1
by: Jason | last post by:
Hi, Does anyone know how I can connect to an MSDE db using VB with a read-only file? The file will be on a CD, and is actually just archived data off a SQL server. I would like to package my app...
1
by: lewi | last post by:
I am trying to connect to MSDE hosted DB on the same computer as my ASP.NET app. The DB was created using VS.NET Server Explorer window and here is my aspx.cs code in the Page_Load() for the main...
1
by: LIN | last post by:
I have read few articles on connecting to MSDE but haven't got i was looking for. I have an ASP.NET application which needs to connect to MSDE. I read the article about setting up SQL...
14
by: David Tilman | last post by:
I've gone throught the MSDN walkthrough "Creating a Web Application Using Visual C# or Visual Basic". When I run the sample I get "Login failed for user 'dbuser'" at the line with...
8
by: Gabor | last post by:
Hi, I have an app. that uses an MSDE database. I hardcoded the login and password in the application, but it is very simple to see with an ILDASM.exe tool. Is it any procedure to obscure the...
4
by: Jesus Carmona | last post by:
Good day everyone; I'm having a program for a PocketPC that was working great, this program connects to a database (MSDE) but when I updated the MSDE to SP3a everything blew-up... There is no way...
3
by: Charles A. Lackman | last post by:
Hello, I have MSDE Installed on a different computer (WIndows 2003) within my network. I also have MSDE Installed on my production computer for development. I have successfully created...
0
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I've my win32 application which connecting to my sql database. till now i used MSDE as my database and now i want to upgrade to sql express 2005. after the upgrade i tried to connect to the...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.