Click here to Skip to main content
15,884,298 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do you think about delegate in c#? Pin
Colin Angus Mackay17-Jan-04 11:16
Colin Angus Mackay17-Jan-04 11:16 
GeneralRe: How do you think about delegate in c#? Pin
Heath Stewart17-Jan-04 11:19
protectorHeath Stewart17-Jan-04 11:19 
GeneralCheck if app is themed Pin
Roger Alsing17-Jan-04 8:56
Roger Alsing17-Jan-04 8:56 
GeneralRe: Check if app is themed Pin
Heath Stewart17-Jan-04 10:40
protectorHeath Stewart17-Jan-04 10:40 
GeneralA GDI+ Question Pin
muralidharck17-Jan-04 6:57
muralidharck17-Jan-04 6:57 
GeneralRe: A GDI+ Question Pin
Heath Stewart17-Jan-04 10:31
protectorHeath Stewart17-Jan-04 10:31 
GeneralRe: A GDI+ Question Pin
muralidharck17-Jan-04 14:40
muralidharck17-Jan-04 14:40 
GeneralExecutin Plugins Pin
CWIZO17-Jan-04 6:54
CWIZO17-Jan-04 6:54 
Hi all,

I have this code that loads-up some plugins(dll files), and I'm having trouble executing them.
Every plugin has a ExecutePlugin(string Commands) method defined.

So when I wan't to execute all of my plugins from my main program I have this code:

foreach ( Type DllType in Plugins )
{
ICowPlugin Plugin = (ICowPlugin) Activator.CreateInstance ( DllType );
Plugin.ExecutePlugin ( "Plugins rox" );
MessageBox.Show ( Plugin.PluginName );
}

and strange is that the MessageBox.Show(Plugin.PluginName); indeed shows the name of the plugin, but code inside of ExecutePlugin() is aparently not executed.
I have a simple MessageBox.Show() inside the plugin's ExecutePlugin and the message box is not shown

Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
GeneralRe: Executin Plugins Pin
Heath Stewart17-Jan-04 10:21
protectorHeath Stewart17-Jan-04 10:21 
GeneralRe: Executin Plugins Pin
CWIZO17-Jan-04 22:13
CWIZO17-Jan-04 22:13 
Questionwhat kind of project Pin
gordingin17-Jan-04 6:38
gordingin17-Jan-04 6:38 
AnswerRe: what kind of project Pin
Heath Stewart17-Jan-04 10:16
protectorHeath Stewart17-Jan-04 10:16 
Generalchanging report at runtime Pin
H r M17-Jan-04 4:17
H r M17-Jan-04 4:17 
GeneralRe: changing report at runtime Pin
Heath Stewart17-Jan-04 10:13
protectorHeath Stewart17-Jan-04 10:13 
GeneralLimiting MDI child location Pin
phimix17-Jan-04 3:00
phimix17-Jan-04 3:00 
GeneralRe: Limiting MDI child location Pin
Amalorpavanathan Yagulasamy(AMAL)17-Jan-04 9:28
Amalorpavanathan Yagulasamy(AMAL)17-Jan-04 9:28 
GeneralRe: Limiting MDI child location Pin
phimix18-Jan-04 19:52
phimix18-Jan-04 19:52 
GeneralRe: Limiting MDI child location Pin
Amalorpavanathan Yagulasamy(AMAL)20-Jan-04 8:17
Amalorpavanathan Yagulasamy(AMAL)20-Jan-04 8:17 
GeneralJava Applet/Servlet vs. .NET Pin
blue_angel17-Jan-04 2:42
blue_angel17-Jan-04 2:42 
GeneralRe: Java Applet/Servlet vs. .NET Pin
Amalorpavanathan Yagulasamy(AMAL)17-Jan-04 9:44
Amalorpavanathan Yagulasamy(AMAL)17-Jan-04 9:44 
GeneralRe: Java Applet/Servlet vs. .NET Pin
Heath Stewart17-Jan-04 10:03
protectorHeath Stewart17-Jan-04 10:03 
GeneralRe: Java Applet/Servlet vs. .NET Pin
Dmitriy Kostovetskiy17-Jan-04 12:44
Dmitriy Kostovetskiy17-Jan-04 12:44 
GeneralSelect Grid Cell value Pin
Ashraf Alsadiq17-Jan-04 2:23
Ashraf Alsadiq17-Jan-04 2:23 
GeneralRe: Select Grid Cell value Pin
Mazdak17-Jan-04 2:28
Mazdak17-Jan-04 2:28 
GeneralRe: Select Grid Cell value Pin
Ashraf Alsadiq17-Jan-04 2:42
Ashraf Alsadiq17-Jan-04 2: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.