Click here to Skip to main content
15,899,754 members
Home / Discussions / C#
   

C#

 
QuestionHow can I pass an enumeration type? [modified] Pin
JoeRip20-Nov-07 14:52
JoeRip20-Nov-07 14:52 
AnswerRe: How can I pass an enumeration type? Pin
JoeRip20-Nov-07 15:42
JoeRip20-Nov-07 15:42 
GeneralRe: How can I pass an enumeration type? Pin
Luc Pattyn20-Nov-07 17:07
sitebuilderLuc Pattyn20-Nov-07 17:07 
QuestionLinking 2d shapes together Pin
Colm_L20-Nov-07 12:43
Colm_L20-Nov-07 12:43 
AnswerRe: Linking 2d shapes together Pin
Skippums20-Nov-07 13:09
Skippums20-Nov-07 13:09 
GeneralRe: Linking 2d shapes together Pin
Colm_L20-Nov-07 13:38
Colm_L20-Nov-07 13:38 
GeneralRe: Linking 2d shapes together Pin
Skippums20-Nov-07 13:50
Skippums20-Nov-07 13:50 
QuestionProblem with System.Configuration.GetSection Pin
KenD20-Nov-07 10:53
KenD20-Nov-07 10:53 
I'm in the process of writing a Visual Studio add-in. I wanted to have configuration information stored in a configuration file for my DLL. e.g. MyAddin.dll.config. I have created a custom section along with a section handler. I have tested the loading of the section handler from a test application and it works fine. When I do the same process in the VS addin I get the following error:
{"An error occurred creating the configuration section handler for copyright: Could not load file or assembly 'KLSoftware.VSEnhancer' or one of its dependencies. The system cannot find the file specified. (D:\\DotNET\\Solutions\\VSEnhancer\\VSEnhancer\\bin\\Debug\\KLSoftware.VSEnhancer.dll.config line 4)"} System.Configuration.ConfigurationErrorsException

I am loading the config using:
Configuration Myconfiguration = ConfigurationManager.OpenExeConfiguration ( Assembly.GetExecutingAssembly ( ).Location );

The configuration loads correctly and I can access Myconfiguration.AppSettings with no problem. The error occurs on the GetSection call listed below:

try
{
this.copyrightSection = Myconfiguration.GetSection ( "copyright" ) as CopyrightSection;
}

catch ( SystemConfig.ConfigurationErrorsException cex )
{

}


Any suggestions for handling this would be appreciated.



Ken
QuestionLog4net problem [modified] Pin
allanb2320-Nov-07 10:49
allanb2320-Nov-07 10:49 
AnswerRe: Log4net problem Pin
Skippums20-Nov-07 10:54
Skippums20-Nov-07 10:54 
Question.NET Windows Service + COM component - Freezing on ((System.ComponentModel.ISupportInitialize)(this.axMapPro1)).EndInit(); Pin
gixxersix8520-Nov-07 9:15
gixxersix8520-Nov-07 9:15 
QuestionC# How to create a Menu tab from a XML file Pin
ddubey20-Nov-07 8:05
ddubey20-Nov-07 8:05 
AnswerRe: C# How to create a Menu tab from a XML file Pin
Not Active20-Nov-07 11:40
mentorNot Active20-Nov-07 11:40 
GeneralRe: C# How to create a Menu tab from a XML file Pin
ddubey20-Nov-07 11:48
ddubey20-Nov-07 11:48 
GeneralRe: C# How to create a Menu tab from a XML file Pin
ddubey20-Nov-07 13:31
ddubey20-Nov-07 13:31 
GeneralRe: C# How to create a Menu tab from a XML file Pin
Not Active20-Nov-07 14:31
mentorNot Active20-Nov-07 14:31 
GeneralRe: C# How to create a Menu tab from a XML file Pin
ddubey20-Nov-07 14:39
ddubey20-Nov-07 14:39 
QuestionDistributed Processing Pin
DarrollWalsh20-Nov-07 7:40
DarrollWalsh20-Nov-07 7:40 
AnswerRe: Distributed Processing Pin
Skippums20-Nov-07 8:04
Skippums20-Nov-07 8:04 
QuestionRe: Distributed Processing [modified] Pin
DarrollWalsh20-Nov-07 8:16
DarrollWalsh20-Nov-07 8:16 
AnswerRe: Distributed Processing Pin
Skippums20-Nov-07 9:18
Skippums20-Nov-07 9:18 
Questionresizeing other windows in C# Pin
supr_k920-Nov-07 7:28
supr_k920-Nov-07 7:28 
AnswerRe: resizeing other windows in C# Pin
Judah Gabriel Himango20-Nov-07 7:47
sponsorJudah Gabriel Himango20-Nov-07 7:47 
GeneralRe: resizeing other windows in C# Pin
supr_k920-Nov-07 11:25
supr_k920-Nov-07 11:25 
GeneralRe: resizeing other windows in C# Pin
Anthony Mushrow20-Nov-07 12:10
professionalAnthony Mushrow20-Nov-07 12:10 

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.