Click here to Skip to main content
16,005,178 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: sorting using IComparer in VB.NET Pin
smutukundu28-Aug-07 6:25
smutukundu28-Aug-07 6:25 
QuestionClosing ContextMenuStrip When Clicking on the Desktop Pin
Paul .27-Aug-07 10:38
Paul .27-Aug-07 10:38 
QuestionRemoting with Strong Names problem [modified] Pin
ramonb27-Aug-07 10:31
ramonb27-Aug-07 10:31 
QuestionSetting the IP address of the local computer (XP Pro) Pin
dhchicago27-Aug-07 9:10
dhchicago27-Aug-07 9:10 
AnswerRe: Setting the IP address of the local computer (XP Pro) Pin
Dave Kreskowiak27-Aug-07 9:51
mveDave Kreskowiak27-Aug-07 9:51 
GeneralRe: Setting the IP address of the local computer (XP Pro) Pin
dhchicago3-Sep-07 12:46
dhchicago3-Sep-07 12:46 
GeneralRe: Setting the IP address of the local computer (XP Pro) Pin
Dave Kreskowiak3-Sep-07 16:30
mveDave Kreskowiak3-Sep-07 16:30 
QuestionConnection String Pin
jds120727-Aug-07 5:29
jds120727-Aug-07 5:29 
I am trying to make my connection string variable using application settings under Project properties. Here is my connection string when it is hard coded:

Dim myConnString As String = "Provider=Microsoft.Jet.OleDB.4.0;Data Source=" & Application.StartupPath & "\File.mdb"

When I have it hard coded it works fine. But when I try to make it variable I keep getting the error: Format of the initialization string does not conform to specification starting at index 33.

For the connection string value, I have the same code as posted above and I placed the following in the code: Dim myConnstring As String = My.Settings.ConnectionString
ConnectionString is the name of the value in application settings.

Can anyone help me with this connection string please. I know it may seem easy but I can't get it to work.

jds1207
AnswerRe: Connection String Pin
Dave Kreskowiak27-Aug-07 5:52
mveDave Kreskowiak27-Aug-07 5:52 
GeneralRe: Connection String Pin
jds120727-Aug-07 7:30
jds120727-Aug-07 7:30 
QuestionPrepare Templates & Mail Pin
Trupti Mehta27-Aug-07 4:32
Trupti Mehta27-Aug-07 4:32 
AnswerRe: Prepare Templates & Mail Pin
Dave Kreskowiak27-Aug-07 5:45
mveDave Kreskowiak27-Aug-07 5:45 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta27-Aug-07 19:32
Trupti Mehta27-Aug-07 19:32 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak28-Aug-07 1:30
mveDave Kreskowiak28-Aug-07 1:30 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta28-Aug-07 1:55
Trupti Mehta28-Aug-07 1:55 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak28-Aug-07 3:31
mveDave Kreskowiak28-Aug-07 3:31 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta28-Aug-07 19:20
Trupti Mehta28-Aug-07 19:20 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak29-Aug-07 12:32
mveDave Kreskowiak29-Aug-07 12:32 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta4-Sep-07 23:14
Trupti Mehta4-Sep-07 23:14 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak5-Sep-07 2:20
mveDave Kreskowiak5-Sep-07 2:20 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta5-Sep-07 4:09
Trupti Mehta5-Sep-07 4:09 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak5-Sep-07 14:07
mveDave Kreskowiak5-Sep-07 14:07 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta5-Sep-07 17:36
Trupti Mehta5-Sep-07 17:36 
GeneralRe: Prepare Templates & Mail Pin
Dave Kreskowiak6-Sep-07 1:37
mveDave Kreskowiak6-Sep-07 1:37 
GeneralRe: Prepare Templates & Mail Pin
Trupti Mehta6-Sep-07 17:31
Trupti Mehta6-Sep-07 17:31 

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.