Click here to Skip to main content
15,878,852 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: On Enter Button1 is clicked Pin
Christian Graus17-Jun-08 2:26
protectorChristian Graus17-Jun-08 2:26 
QuestionRuntime Problem Pin
monika_vasvani17-Jun-08 0:06
monika_vasvani17-Jun-08 0:06 
AnswerRe: Runtime Problem Pin
Ajay.k_Singh17-Jun-08 0:33
Ajay.k_Singh17-Jun-08 0:33 
AnswerRe: Runtime Problem Pin
~Khatri Mitesh~17-Jun-08 2:04
~Khatri Mitesh~17-Jun-08 2:04 
QuestionProblem Retrieving a Connection String from App.Config Pin
Vimalsoft(Pty) Ltd16-Jun-08 22:06
professionalVimalsoft(Pty) Ltd16-Jun-08 22:06 
AnswerRe: Problem Retrieving a Connection String from App.Config Pin
Andy_L_J17-Jun-08 2:05
Andy_L_J17-Jun-08 2:05 
GeneralRe: Problem Retrieving a Connection String from App.Config Pin
Vimalsoft(Pty) Ltd17-Jun-08 3:07
professionalVimalsoft(Pty) Ltd17-Jun-08 3:07 
GeneralRe: Problem Retrieving a Connection String from App.Config Pin
Vimalsoft(Pty) Ltd17-Jun-08 3:14
professionalVimalsoft(Pty) Ltd17-Jun-08 3:14 
At First i saw my e-mail with this Code from you

Public Sub initializeDataConnection()

        Dim strConn As String

        Dim settings As ConnectionStringSettings

        settings = ConfigurationManager.ConnectionStrings _
              (WindowsApplication1.My.MySettings.APPProdConnectionString")

        If Not settings Is Nothing Then
            strConn = settings.ConnectionString
            cn = New SqlConnection(strConn)
        End If

    End Sub


and when i click to go to CodeProject, i see a Different Answer, did you change it?

let us look at the above code, i understand what you are doing and in the Following line where you declare like this

Dim settings As ConnectionStringSettings


The ConnectionStringSetting is not recognised, am using VS2003 and VB(Windows App) is this Applicable to it?

Thanks

Vuyiswa Maseko,

Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding

VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za


AnswerRe: Problem Retrieving a Connection String from App.Config Pin
Mark Churchill17-Jun-08 3:14
Mark Churchill17-Jun-08 3:14 
GeneralRe: Problem Retrieving a Connection String from App.Config Pin
Vimalsoft(Pty) Ltd17-Jun-08 4:59
professionalVimalsoft(Pty) Ltd17-Jun-08 4:59 
AnswerRe: Problem Retrieving a Connection String from App.Config Pin
Noctris18-Jun-08 0:39
Noctris18-Jun-08 0:39 
Questioncombobox Problem.... Pin
soniasan16-Jun-08 21:25
soniasan16-Jun-08 21:25 
AnswerRe: combobox Problem.... Pin
Christian Graus17-Jun-08 2:09
protectorChristian Graus17-Jun-08 2:09 
AnswerRe: combobox Problem.... Pin
SamRST18-Jun-08 4:40
SamRST18-Jun-08 4:40 
Questioncreate temp file Pin
Milind Panchal16-Jun-08 20:45
Milind Panchal16-Jun-08 20:45 
AnswerRe: create temp file Pin
Ashfield16-Jun-08 21:08
Ashfield16-Jun-08 21:08 
AnswerRe: create temp file Pin
Christian Graus17-Jun-08 2:09
protectorChristian Graus17-Jun-08 2:09 
QuestionHow to Insert and Update DateTimePicker to SQL Database vai DSN with VB.NET Pin
Kosaly16-Jun-08 20:28
Kosaly16-Jun-08 20:28 
AnswerRe: How to Insert and Update DateTimePicker to SQL Database vai DSN with VB.NET Pin
Christian Graus17-Jun-08 2:10
protectorChristian Graus17-Jun-08 2:10 
QuestionHow to encrypt and decrypt MS-Access data using blowfish Pin
charanbura16-Jun-08 17:54
charanbura16-Jun-08 17:54 
AnswerRe: How to encrypt and decrypt MS-Access data using blowfish Pin
paas17-Jun-08 7:15
paas17-Jun-08 7:15 
Questionstup problem Pin
asha_s16-Jun-08 13:02
asha_s16-Jun-08 13:02 
AnswerRe: stup problem Pin
Christian Graus16-Jun-08 15:01
protectorChristian Graus16-Jun-08 15:01 
QuestionRun an exe program from my VB application Pin
Assaf8216-Jun-08 11:33
Assaf8216-Jun-08 11:33 
AnswerRe: Run an exe program from my VB application Pin
Christian Graus16-Jun-08 11:35
protectorChristian Graus16-Jun-08 11:35 

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.