Click here to Skip to main content
15,917,859 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 7:27
Garth Geoghan7-Oct-09 7:27 
AnswerRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Dave Kreskowiak7-Oct-09 5:15
mveDave Kreskowiak7-Oct-09 5:15 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 5:29
Garth Geoghan7-Oct-09 5:29 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Dave Kreskowiak7-Oct-09 6:35
mveDave Kreskowiak7-Oct-09 6:35 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 6:38
Garth Geoghan7-Oct-09 6:38 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 6:42
Garth Geoghan7-Oct-09 6:42 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Dave Kreskowiak7-Oct-09 9:08
mveDave Kreskowiak7-Oct-09 9:08 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 9:23
Garth Geoghan7-Oct-09 9:23 
Dave,
Thanks for hanging in there with me.
I may not be looking in the right place for the connection string.
The one I sent you I found in a machine.config file. I've been messing with it and regardless what I set the file name or server instance to, the sql server management studio and the sql server connection manager connect to my db just fine. That tells me that I'm looking in the wrong place for the connection string.

I just found a connection string by going into Microsoft Visual Studio IDE. The properties for the connect there show this as the connection string: "Data Source=LENOVO\;Initial Catalog=GGTest;Integrated Security=True". This makes more sense to me as my server name is LENOVA and it references the correct database name.

The GGTEST.mdf file is in c:\Program Files\Microsoft SQL Server\MSSQL.10.MSSQLSERVER\MSSQL\DATA which is where it was created, by default, from within SQL Server. The program exe is in ...My Documents\Visual Studio 2008\Projects\WindowsApplication1\Bin\debug and in the same path ending with release.
Garth
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 9:28
Garth Geoghan7-Oct-09 9:28 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Dave Kreskowiak7-Oct-09 10:02
mveDave Kreskowiak7-Oct-09 10:02 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan7-Oct-09 10:09
Garth Geoghan7-Oct-09 10:09 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Dave Kreskowiak7-Oct-09 13:10
mveDave Kreskowiak7-Oct-09 13:10 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan8-Oct-09 6:48
Garth Geoghan8-Oct-09 6:48 
GeneralRe: Connecting VB2008 Express to SQL Server 2008 Developer Pin
Garth Geoghan15-Oct-09 4:49
Garth Geoghan15-Oct-09 4:49 
Question[SOLVED]Append .txt files within subfolders Pin
vijay24827-Oct-09 3:55
vijay24827-Oct-09 3:55 
AnswerRe: Append .txt files within subfolders Pin
EliottA7-Oct-09 4:04
EliottA7-Oct-09 4:04 
GeneralRe: Append .txt files within subfolders Pin
vijay24827-Oct-09 5:16
vijay24827-Oct-09 5:16 
AnswerRe: Append .txt files within subfolders Pin
dan!sh 7-Oct-09 5:22
professional dan!sh 7-Oct-09 5:22 
GeneralRe: Append .txt files within subfolders Pin
vijay24827-Oct-09 5:24
vijay24827-Oct-09 5:24 
GeneralRe: Append .txt files within subfolders Pin
vijay24828-Oct-09 0:40
vijay24828-Oct-09 0:40 
QuestionNeed Help Read Text File Line by Line Pin
Hawkster187-Oct-09 2:28
Hawkster187-Oct-09 2:28 
AnswerRe: Need Help Read Text File Line by Line Pin
Luc Pattyn7-Oct-09 3:23
sitebuilderLuc Pattyn7-Oct-09 3:23 
GeneralRe: Need Help Read Text File Line by Line Pin
Hawkster187-Oct-09 3:31
Hawkster187-Oct-09 3:31 
GeneralRe: Need Help Read Text File Line by Line Pin
EliottA7-Oct-09 3:36
EliottA7-Oct-09 3:36 
GeneralRe: Need Help Read Text File Line by Line Pin
Hawkster187-Oct-09 3:46
Hawkster187-Oct-09 3:46 

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.