Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
Questiondynamic Connectivity Pin
shimjith.shimu18-Sep-07 19:59
shimjith.shimu18-Sep-07 19:59 
QuestionUsage of app.config Pin
M. J. Jaya Chitra18-Sep-07 19:42
M. J. Jaya Chitra18-Sep-07 19:42 
AnswerRe: Usage of app.config Pin
Eduard Keilholz18-Sep-07 20:34
Eduard Keilholz18-Sep-07 20:34 
GeneralRe: Usage of app.config Pin
M. J. Jaya Chitra18-Sep-07 20:44
M. J. Jaya Chitra18-Sep-07 20:44 
GeneralRe: Usage of app.config Pin
Eduard Keilholz18-Sep-07 20:49
Eduard Keilholz18-Sep-07 20:49 
QuestionRe: Usage of app.config [modified] Pin
M. J. Jaya Chitra18-Sep-07 20:56
M. J. Jaya Chitra18-Sep-07 20:56 
QuestionRe: Usage of app.config Pin
M. J. Jaya Chitra18-Sep-07 23:21
M. J. Jaya Chitra18-Sep-07 23:21 
AnswerRe: Usage of app.config Pin
Dave Kreskowiak19-Sep-07 5:03
mveDave Kreskowiak19-Sep-07 5:03 
You completely ignored the advice you got.

The config section you added isn't valid. You should have paid attention to the sqiggly line under your RemoteConnectionSettings tag. That means what you typed isn't valid.

The code you posted won't work for retrieving your config section because you didn't add the section to the app.config properly.

Go back to the advice you were given and just add the port number to the applicationSettings section.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="PortNumber" value="1011" />
    </appSettings>
</configuration>



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionPDF conversion of Webform Data(.aspx Page) Pin
That's Aragon18-Sep-07 19:26
That's Aragon18-Sep-07 19:26 
AnswerRe: PDF conversion of Webform Data(.aspx Page) Pin
Dave Kreskowiak19-Sep-07 4:49
mveDave Kreskowiak19-Sep-07 4:49 
AnswerRe: directshow filters Pin
Eduard Keilholz18-Sep-07 20:41
Eduard Keilholz18-Sep-07 20:41 
QuestionTo read current path of xml file Pin
P_Elza18-Sep-07 17:57
P_Elza18-Sep-07 17:57 
AnswerRe: To read current path of xml file Pin
Vikram A Punathambekar18-Sep-07 18:17
Vikram A Punathambekar18-Sep-07 18:17 
QuestionControl content in one webBrowser control from another... Pin
simplicitylabs18-Sep-07 16:59
simplicitylabs18-Sep-07 16:59 
QuestionCSV File at tempory folder Pin
C#Coudou18-Sep-07 16:49
C#Coudou18-Sep-07 16:49 
AnswerRe: CSV File at tempory folder Pin
Stathread18-Sep-07 18:34
Stathread18-Sep-07 18:34 
GeneralRe: CSV File at tempory folder Pin
C#Coudou18-Sep-07 19:35
C#Coudou18-Sep-07 19:35 
QuestionHow to Control Devices with USB ? Pin
hdv21218-Sep-07 15:02
hdv21218-Sep-07 15:02 
AnswerRe: How to Control Devices with USB ? Pin
Dave Kreskowiak18-Sep-07 16:21
mveDave Kreskowiak18-Sep-07 16:21 
QuestionHelp Timer Not Accurate Pin
laura131618-Sep-07 11:22
laura131618-Sep-07 11:22 
AnswerRe: Help Timer Not Accurate Pin
Pete O'Hanlon18-Sep-07 11:26
mvePete O'Hanlon18-Sep-07 11:26 
AnswerRe: Help Timer Not Accurate Pin
Giorgi Dalakishvili18-Sep-07 20:30
mentorGiorgi Dalakishvili18-Sep-07 20:30 
QuestionReading an MDB with that read a directory and move files. Pin
gmelkhunter18-Sep-07 11:14
gmelkhunter18-Sep-07 11:14 
AnswerRe: Reading an MDB with that read a directory and move files. Pin
ChrisKo18-Sep-07 11:27
ChrisKo18-Sep-07 11:27 
GeneralRe: Reading an MDB with that read a directory and move files. Pin
gmelkhunter18-Sep-07 13:12
gmelkhunter18-Sep-07 13:12 

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.