Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~788 People Reached
Favorite Forums
Member Avatar for nitin2010

[COLOR="Red"]I am unable to save modification of ' app.config ' file.[/COLOR] Here is the code. [COLOR="Green"]Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); config.AppSettings.Settings["MDI"].Value= "1"; config.Save( ConfigurationSaveMode.Full ); ConfigurationManager.RefreshSection("appSettings");[/COLOR] There is no issue of reading app.config file. I am reading proper values .But if changed it ,it is not updating the file. And I …

Member Avatar for PierlucSS
0
102
Member Avatar for nitin2010

I have a static function that write to a log file . In my project I am already using multithreading , hense I m getting exception that 'process can't access file because it is being used by another process ' I want to mutex that code so that if one …

Member Avatar for powerbox
0
139
Member Avatar for nitin2010

I have added one [B]Status label[/B] and a [B]Progressbar [/B]in a [B]StatuStrip[/B]. But as soon as text length of Statuslabel increases/decreases the Progressbar changes it's position. I want to wrap text of Statuslabel in specified length of Statuslabel though text length is greater than it's length so that Progressbar will …

Member Avatar for kvprajapati
0
150
Member Avatar for nitin2010

When I am going to modify hashtable data it is giving me the exception.`"Collection was modified; enumeration operation may not execute"` Here is the code.. foreach (DictionaryEntry Item in hashtable) { switch(Item.key.ToString()) { case "Color": { hashtable["Color"]="ffffff"; break; } case "Width": { hashtable["Width"]="40"; break; } } } My qustion is …

Member Avatar for privatevoid
0
164
Member Avatar for nitin2010

In my program ,am using ThreadPool for threading. In which function creating progressbar is in one thread and function that changing visibility of progressbar is in another thread. then following exception occurring... [COLOR="Red"]Controls created on one thread cannot be parented to a control on a different thread[/COLOR]

0
66
Member Avatar for nitin2010

Hi, When I call a method(present in external DLL) through [B]reflection [/B]which having [B]no parameters[/B] and [B]void return[/B] ,it get called fine but in same DLL when I call a method which have [B]no parameters[/B] but [B]return type Datatable[/B] then I got the [B]'TargetInvocation'[/B] exception. Can anybody help me ?

Member Avatar for nitin2010
0
167