Click here to Skip to main content
16,006,475 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Disable remove/repair dialog Pin
Colin Angus Mackay16-Jan-09 15:19
Colin Angus Mackay16-Jan-09 15:19 
GeneralRe: Disable remove/repair dialog Pin
stardust161116-Jan-09 20:40
stardust161116-Jan-09 20:40 
GeneralRe: Disable remove/repair dialog Pin
stardust161117-Jan-09 2:25
stardust161117-Jan-09 2:25 
QuestionAutomatic Scaling Container Control Pin
Cory Kimble16-Jan-09 7:09
Cory Kimble16-Jan-09 7:09 
AnswerRe: Automatic Scaling Container Control Pin
Jon Rista16-Jan-09 15:45
Jon Rista16-Jan-09 15:45 
QuestionCreateKey returned 6 Pin
subramanyeswari15-Jan-09 21:09
subramanyeswari15-Jan-09 21:09 
AnswerRe: CreateKey returned 6 Pin
Dave Kreskowiak16-Jan-09 0:53
mveDave Kreskowiak16-Jan-09 0:53 
QuestionConnecting to SQL Server Compact using VB.Net Pin
carrigart15-Jan-09 19:45
carrigart15-Jan-09 19:45 
Hi,

I have a little problem. I'm trying to connect to a SQL Server Compact database that I have created called RunningDB.sdf. I'm having real problems with the connection string. I have search the internet and used numerous connection strings and still I Get the same error which is

SQL Exception
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Is there a problem with my sql server or is it just my connection string. Heres the connection string that Im using

Dim cn As New SqlConnection("Persist Security Info=True;Initial Catalog=RunningDB;Data Source=(local);Packet Size=4096;)
cn.Open()


Thanks for your time Confused | :confused:
AnswerRe: Connecting to SQL Server Compact using VB.Net Pin
Colin Angus Mackay15-Jan-09 21:36
Colin Angus Mackay15-Jan-09 21:36 
AnswerRe: Connecting to SQL Server Compact using VB.Net Pin
Kizza00715-Jan-09 23:29
Kizza00715-Jan-09 23:29 
GeneralRe: Connecting to SQL Server Compact using VB.Net Pin
carrigart16-Jan-09 16:42
carrigart16-Jan-09 16:42 
QuestionVB.NET strange behaviour with Show/ShowDialog on Windows Application vs Class Library Pin
Livinit15-Jan-09 15:22
Livinit15-Jan-09 15:22 
AnswerRe: VB.NET strange behaviour with Show/ShowDialog on Windows Application vs Class Library Pin
ColinM12315-Jan-09 16:30
ColinM12315-Jan-09 16:30 
QuestionBindingsource Filter help please? Pin
Chrispie12315-Jan-09 8:34
Chrispie12315-Jan-09 8:34 
AnswerRe: Bindingsource Filter help please? Pin
Wendelius15-Jan-09 9:12
mentorWendelius15-Jan-09 9:12 
GeneralRe: Bindingsource Filter help please? Pin
Chrispie12315-Jan-09 17:40
Chrispie12315-Jan-09 17:40 
GeneralRe: Bindingsource Filter help please? Pin
Wendelius15-Jan-09 18:38
mentorWendelius15-Jan-09 18:38 
AnswerRe: Bindingsource Filter help please? Pin
Chrispie12321-Jan-09 18:18
Chrispie12321-Jan-09 18:18 
QuestionVB.net Clipboard Pin
Van aerden15-Jan-09 5:58
Van aerden15-Jan-09 5:58 
AnswerRe: VB.net Clipboard Pin
Dave Kreskowiak15-Jan-09 7:28
mveDave Kreskowiak15-Jan-09 7:28 
QuestionDesign Question Pin
programmervb.netc++15-Jan-09 5:41
programmervb.netc++15-Jan-09 5:41 
AnswerRe: Design Question Pin
EliottA15-Jan-09 5:44
EliottA15-Jan-09 5:44 
GeneralRe: Design Question Pin
programmervb.netc++15-Jan-09 5:49
programmervb.netc++15-Jan-09 5:49 
GeneralRe: Design Question Pin
EliottA15-Jan-09 5:53
EliottA15-Jan-09 5:53 
GeneralRe: Design Question Pin
programmervb.netc++15-Jan-09 5:55
programmervb.netc++15-Jan-09 5:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.