Click here to Skip to main content
15,886,530 members
Home / Discussions / C#
   

C#

 
AnswerRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Abhlu10-Oct-06 15:41
Abhlu10-Oct-06 15:41 
GeneralRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Anthony Mushrow10-Oct-06 15:53
professionalAnthony Mushrow10-Oct-06 15:53 
GeneralRe: ComboBox Drop down Forcolor change in disabled mode (Black color) Pin
Abhlu10-Oct-06 16:19
Abhlu10-Oct-06 16:19 
QuestionHow to solve this strong name issue? Pin
kolu narayan10-Oct-06 13:10
kolu narayan10-Oct-06 13:10 
AnswerRe: How to solve this strong name issue? Pin
led mike10-Oct-06 13:48
led mike10-Oct-06 13:48 
GeneralRe: How to solve this strong name issue? Pin
kolu narayan11-Oct-06 3:45
kolu narayan11-Oct-06 3:45 
GeneralRe: How to solve this strong name issue? Pin
kolu narayan11-Oct-06 5:21
kolu narayan11-Oct-06 5:21 
QuestionApp.Config and ConfigurationSection Pin
Jamie Nordmeyer10-Oct-06 13:07
Jamie Nordmeyer10-Oct-06 13:07 
Anybody have any good examples of how to do this with a complex structure? This is a breeze using just straight XML, along with a few classes to represent your data in code, but using .NET 2's ConfigurationSection class and the various related attributes appears to be a royal pain in the arse for anything but simple configs. I also heard that IConfigurationSectionHandler is being obsoleted, so I probably shouldn't go down that route, either. Here's a sample of the XML format I want as an example of what I'm trying to accomplish:

<?xml version="1.0" encoding="utf-8" ?>
<EventLogger>
	<Loggers>
		<DbErrorLogger Name="DbLogger" Type="Integra.Logging.DbErrorLogger">
			<ConnectionString>some connection string</ConnectionString>
			<CommandTimeout>60</CommandTimeout>
			<CommandType>StoredProcedure</CommandType>
			<CommandText>uspSomeProc</CommandText>
		</DbErrorLogger>
		<EmailLogger Name="EmailLogger1" Type="Integra.Logging.EmailLogger">
			<Recipients>
				<To>nordyj2001@yahoo.com</To>
				<!--<CC></CC>-->
				<!--<BCC></BCC>-->
			</Recipients>
			<InfoSubject>Information</InfoSubject>
			<WarningSubject>Warning</WarningSubject>
			<ErrorSubject>Error</ErrorSubject>
			<Server>mail</Server>
			<InfoBody/>
			<WarningBody/>
			<ErrorBody>
				<![CDATA[
An error occurred running the service.  Following is a description of the error:

Error Message: {!MESSAGE}
File:		   {!FILE}
Line Number:   {!LINENUMBER}
				]]>
			</ErrorBody>
			<Sender>sender@yahoo.com</Sender>
		</EmailLogger>
	</Loggers>
	<LoggerProfiles>
		< Profile Name="DBOnly">
			<Logger Name="DbLogger"/>
		</Profile>
		< Profile Name="EmailOnly">
			<Logger Name="EmailLogger1" />
		</Profile>
		< Profile Name="DbAndEmail">
			<Logger Name="DbLogger" />
			<Logger Name="EmailLogger1" />
		</Profile>
	</LoggerProfiles>
</EventLogger>


Kyosa Jamie Nordmeyer - Taekwondo Yi (2nd) Dan
Portland, Oregon, USA

AnswerRe: App.Config and ConfigurationSection Pin
led mike10-Oct-06 13:40
led mike10-Oct-06 13:40 
QuestionHow can I delete all files and subfolders within a directory ? Pin
Nadia Monalisa10-Oct-06 13:06
Nadia Monalisa10-Oct-06 13:06 
AnswerRe: How can I delete all files and subfolders within a directory ? Pin
led mike10-Oct-06 13:53
led mike10-Oct-06 13:53 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
Nadia Monalisa10-Oct-06 19:17
Nadia Monalisa10-Oct-06 19:17 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
Stefan Troschuetz10-Oct-06 21:52
Stefan Troschuetz10-Oct-06 21:52 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
led mike11-Oct-06 5:03
led mike11-Oct-06 5:03 
GeneralRe: How can I delete all files and subfolders within a directory ? Pin
hagarwal2-Mar-09 16:57
hagarwal2-Mar-09 16:57 
QuestionRe: How can I delete all files and subfolders within a directory ? Pin
led mike3-Mar-09 4:40
led mike3-Mar-09 4:40 
QuestionCD Product Key Pin
picasso210-Oct-06 12:18
picasso210-Oct-06 12:18 
AnswerRe: CD Product Key Pin
Guffa10-Oct-06 13:09
Guffa10-Oct-06 13:09 
GeneralRe: CD Product Key Pin
picasso210-Oct-06 17:59
picasso210-Oct-06 17:59 
QuestionUsing float.Parse(string) and language problems ! Pin
pe_chaut10-Oct-06 12:01
pe_chaut10-Oct-06 12:01 
AnswerRe: Using float.Parse(string) and language problems ! Pin
Guffa10-Oct-06 13:12
Guffa10-Oct-06 13:12 
QuestionSending commercial SMS Pin
Goalie3510-Oct-06 9:42
Goalie3510-Oct-06 9:42 
QuestionSensible way to scale and display large 1 bit Tiff G4!! Pin
abcxyz8210-Oct-06 8:36
abcxyz8210-Oct-06 8:36 
Questionplease HELLPPPP... Pin
nedimg10-Oct-06 8:16
nedimg10-Oct-06 8:16 
AnswerRe: please HELLPPPP... Pin
mikone10-Oct-06 9:40
mikone10-Oct-06 9:40 

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.