Click here to Skip to main content
15,897,187 members
Home / Discussions / C#
   

C#

 
GeneralRe: Reason for my vote of one: Pin
OriginalGriff19-Feb-11 3:32
mveOriginalGriff19-Feb-11 3:32 
AnswerRe: Reason for my vote of one: Pin
Luc Pattyn19-Feb-11 3:58
sitebuilderLuc Pattyn19-Feb-11 3:58 
Questionevent handler in c# Pin
aeman18-Feb-11 22:00
aeman18-Feb-11 22:00 
AnswerRe: event handler in c# Pin
Estys18-Feb-11 22:22
Estys18-Feb-11 22:22 
GeneralRe: event handler in c# Pin
aeman18-Feb-11 22:32
aeman18-Feb-11 22:32 
GeneralRe: event handler in c# Pin
I Believe In GOD18-Feb-11 22:56
I Believe In GOD18-Feb-11 22:56 
GeneralRe: event handler in c# Pin
aeman18-Feb-11 23:02
aeman18-Feb-11 23:02 
QuestionCopy Object Pin
Ramkumar_S18-Feb-11 16:29
Ramkumar_S18-Feb-11 16:29 
AnswerRe: Copy Object Pin
RobCroll18-Feb-11 18:46
RobCroll18-Feb-11 18:46 
AnswerRe: Copy Object Pin
dan!sh 18-Feb-11 23:47
professional dan!sh 18-Feb-11 23:47 
QuestionCan not open the designer. It gives error Pin
arkiboys18-Feb-11 14:24
arkiboys18-Feb-11 14:24 
AnswerRe: Can not open the designer. It gives error Pin
thatraja18-Feb-11 15:13
professionalthatraja18-Feb-11 15:13 
GeneralRe: Can not open the designer. It gives error Pin
arkiboys18-Feb-11 15:16
arkiboys18-Feb-11 15:16 
QuestionIBasicVideo GetCurrentImage displaced Pin
Marcus Vatterott18-Feb-11 3:15
Marcus Vatterott18-Feb-11 3:15 
AnswerRe: IBasicVideo GetCurrentImage displaced Pin
Luc Pattyn18-Feb-11 5:53
sitebuilderLuc Pattyn18-Feb-11 5:53 
AnswerRe: IBasicVideo GetCurrentImage displaced Pin
Sammy6615-Oct-21 0:45
Sammy6615-Oct-21 0:45 
QuestionConvert VB code snippet to C# Pin
Mc_Topaz18-Feb-11 2:28
Mc_Topaz18-Feb-11 2:28 
AnswerRe: Convert VB code snippet to C# Pin
#realJSOP18-Feb-11 2:44
professional#realJSOP18-Feb-11 2:44 
GeneralRe: Convert VB code snippet to C# Pin
Mc_Topaz18-Feb-11 3:06
Mc_Topaz18-Feb-11 3:06 
AnswerRe: Convert VB code snippet to C# Pin
Not Active18-Feb-11 2:45
mentorNot Active18-Feb-11 2:45 
AnswerRe: Convert VB code snippet to C# Pin
OriginalGriff18-Feb-11 5:55
mveOriginalGriff18-Feb-11 5:55 
QuestionLoading configuration file Pin
nitin_ion18-Feb-11 1:41
nitin_ion18-Feb-11 1:41 
I have a window application in which I am trying to load a web configuration
but i get is not a valid virtual path error.

I am trying to encrypt any web config file from window application

System.Configuration.Configuration config = WebConfigurationManager.OpenWebConfiguration(filepath);

            ConfigurationSection section = config.GetSection("connectionStrings");
            if (section != null)
            {
                if (!section.IsReadOnly())
                {

                    section.SectionInformation.ProtectSection("RsaProtectedConfigurationProvider");
                    section.SectionInformation.ForceSave = true;
                    config.Save(ConfigurationSaveMode.Full);
                }
            }


can anyone tell me how can i load a web config.
AnswerRe: Loading configuration file Pin
#realJSOP18-Feb-11 2:52
professional#realJSOP18-Feb-11 2:52 
GeneralRe: Loading configuration file Pin
nitin_ion18-Feb-11 2:54
nitin_ion18-Feb-11 2:54 
QuestionStop all threads in Threading.Timer in Callback method? Pin
xkrja18-Feb-11 0:42
xkrja18-Feb-11 0:42 

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.