Click here to Skip to main content
15,889,335 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Updating AD Pin
Dave Kreskowiak8-Feb-07 5:01
mveDave Kreskowiak8-Feb-07 5:01 
GeneralRe: Updating AD Pin
waddie18-Feb-07 5:27
waddie18-Feb-07 5:27 
QuestionHow do i send email only using API Pin
DotNet548-Feb-07 3:09
DotNet548-Feb-07 3:09 
AnswerRe: How do i send email only using API Pin
Colin Angus Mackay8-Feb-07 3:19
Colin Angus Mackay8-Feb-07 3:19 
GeneralRe: How do i send email only using API Pin
DotNet548-Feb-07 3:23
DotNet548-Feb-07 3:23 
GeneralRe: How do i send email only using API Pin
coolestCoder8-Feb-07 3:28
coolestCoder8-Feb-07 3:28 
AnswerRe: How do i send email only using API Pin
Rizon4068-Feb-07 4:32
Rizon4068-Feb-07 4:32 
QuestionToken error Message Pin
Zamora Dias8-Feb-07 3:00
Zamora Dias8-Feb-07 3:00 
Hello Frends, I am creating a client server aplication with Vb.net and sql server 2000, which reads and writes cliente information to database. I want to store the database connection string in aplication configuration file(App.config), so that when the aplication is compiled and installed at the client site, users can go to the aplication directory files and change the connection information based on the actual server name, etc.
so for application configuration file I did:
<appSettings>
< add key= "strConetionSQl" value=="Data Source=A2-02;AttachDbFilename=|DataDirectory|\Databases\interdit.mdf;Integrated Security=True;User Instance=True"/>
</appSettings>

and on the users form login button I used:

Dim strConetionSQl As String = ConfigurationSettings.AppSettings("strConexaoBD")
conn.ConnectionString = strConetionSQl
conn.Open()

so, when I debug the aplication I get this error from the strConetionSQl:

An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll

Additional information: This is an unexpected token. The expected token is 'NAME'. Line 4, position 5.

AnswerRe: Token error Message Pin
Colin Angus Mackay8-Feb-07 3:21
Colin Angus Mackay8-Feb-07 3:21 
QuestionDeployment and Updates Pin
wildfire23238-Feb-07 2:49
wildfire23238-Feb-07 2:49 
QuestionThe disappearing datagrid (vertical) scrollbar Pin
Johan Hakkesteegt8-Feb-07 2:25
Johan Hakkesteegt8-Feb-07 2:25 
QuestionCopy file to network drive in VB6 [modified] Pin
jclito8-Feb-07 2:23
jclito8-Feb-07 2:23 
QuestionManipulating Excel Sheet through VB Pin
darkturtle8-Feb-07 2:23
darkturtle8-Feb-07 2:23 
QuestionManipulating Excel Sheet through VB Pin
darkturtle8-Feb-07 2:23
darkturtle8-Feb-07 2:23 
Questiontimer Pin
Sebastian T Xavier8-Feb-07 1:16
Sebastian T Xavier8-Feb-07 1:16 
AnswerRe: timer Pin
Johan Hakkesteegt8-Feb-07 2:11
Johan Hakkesteegt8-Feb-07 2:11 
GeneralRe: timer Pin
Sebastian T Xavier8-Feb-07 4:04
Sebastian T Xavier8-Feb-07 4:04 
GeneralRe: timer Pin
Johan Hakkesteegt8-Feb-07 20:27
Johan Hakkesteegt8-Feb-07 20:27 
GeneralRe: timer Pin
Ahmed El-Badry10-Feb-07 0:27
Ahmed El-Badry10-Feb-07 0:27 
QuestionCombobox in Datagridview ,Wnt Click Event Pin
priya_p2338-Feb-07 0:44
priya_p2338-Feb-07 0:44 
QuestionPlace application on top of all other application Pin
ravihd8-Feb-07 0:25
ravihd8-Feb-07 0:25 
AnswerRe: Place application on top of all other application Pin
Christian Graus8-Feb-07 0:32
protectorChristian Graus8-Feb-07 0:32 
Questionmail with embeded images Pin
safalmittal7-Feb-07 23:55
safalmittal7-Feb-07 23:55 
QuestionForm Minimize Event Pin
MatthysDT7-Feb-07 23:40
MatthysDT7-Feb-07 23:40 
AnswerRe: Form Minimize Event Pin
Johan Hakkesteegt7-Feb-07 23:43
Johan Hakkesteegt7-Feb-07 23:43 

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.