Click here to Skip to main content
15,915,791 members
Home / Discussions / WPF
   

WPF

 
QuestionWPF AutoIT/Flash question Pin
jayvee102225-Dec-09 0:16
jayvee102225-Dec-09 0:16 
AnswerRe: WPF AutoIT/Flash question Pin
ProtoBytes28-Dec-09 11:54
ProtoBytes28-Dec-09 11:54 
QuestionThe Webbrowser in WPF can’t display page unless mouse moving on. Pin
CooperWu23-Dec-09 17:18
CooperWu23-Dec-09 17:18 
QuestionWhere do you see Silverlight a few years from now? Pin
Goalie3523-Dec-09 4:52
Goalie3523-Dec-09 4:52 
AnswerRe: Where do you see Silverlight a few years from now? Pin
Ian Shlasko23-Dec-09 5:08
Ian Shlasko23-Dec-09 5:08 
AnswerRe: Where do you see Silverlight a few years from now? Pin
Mark Salsbery23-Dec-09 6:16
Mark Salsbery23-Dec-09 6:16 
AnswerRe: Where do you see Silverlight a few years from now? [modified] Pin
crystal915425-Dec-09 4:47
crystal915425-Dec-09 4:47 
GeneralRe: Where do you see Silverlight a few years from now? Pin
ProtoBytes28-Dec-09 11:09
ProtoBytes28-Dec-09 11:09 
AnswerRe: Where do you see Silverlight a few years from now? Pin
ProtoBytes28-Dec-09 11:24
ProtoBytes28-Dec-09 11:24 
QuestionText mouse selection while list binding.. Pin
koltaviy23-Dec-09 2:28
koltaviy23-Dec-09 2:28 
AnswerRe: Text mouse selection while list binding.. Pin
ProtoBytes29-Dec-09 11:30
ProtoBytes29-Dec-09 11:30 
GeneralRe: Text mouse selection while list binding.. Pin
koltaviy29-Dec-09 17:34
koltaviy29-Dec-09 17:34 
QuestionWPF: Starting Tutorials Pin
Abbas_here22-Dec-09 20:56
Abbas_here22-Dec-09 20:56 
AnswerRe: WPF: Starting Tutorials Pin
Mark Salsbery23-Dec-09 7:15
Mark Salsbery23-Dec-09 7:15 
GeneralRe: WPF: Starting Tutorials Pin
Abbas_here23-Dec-09 18:28
Abbas_here23-Dec-09 18:28 
QuestionLoad dll client side Pin
Adriaan Davel22-Dec-09 20:37
Adriaan Davel22-Dec-09 20:37 
AnswerRe: Load dll client side Pin
Mark Salsbery24-Dec-09 7:57
Mark Salsbery24-Dec-09 7:57 
Adriaan Davel wrote:
would like to load a dll on the client side and invoke methods based on an interface, can it be done?


Yes.

Given a Stream to an assembly DLL, you can use the
AssemblyPart.Load method to load the assembly into
the current app domain and get an Assembly object.
Then you can use Assembly.CreateInstance to create
instances of classes in the assembly.

Stream sourcestream = ...;
AssemblyPart assemblypart = new AssemblyPart();
Assembly assembly = assemblypart.Load(sourcestream);
IMyInterface myinterfaceobject = assembly.CreateInstance("MyNamespace.SomeClassThatInheritsFromIMyInterface") as IMyInterface;


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Load dll client side Pin
Adriaan Davel3-Jan-10 19:41
Adriaan Davel3-Jan-10 19:41 
GeneralRe: Load dll client side Pin
Mark Salsbery3-Jan-10 19:56
Mark Salsbery3-Jan-10 19:56 
GeneralRe: Load dll client side Pin
Adriaan Davel3-Jan-10 20:33
Adriaan Davel3-Jan-10 20:33 
GeneralRe: Load dll client side Pin
Mark Salsbery3-Jan-10 20:44
Mark Salsbery3-Jan-10 20:44 
GeneralRe: Load dll client side Pin
Adriaan Davel4-Jan-10 2:44
Adriaan Davel4-Jan-10 2:44 
AnswerRe: Load dll client side Pin
Mark Salsbery24-Dec-09 8:39
Mark Salsbery24-Dec-09 8:39 
AnswerRe: Load dll client side Pin
Adriaan Davel3-Jan-10 22:05
Adriaan Davel3-Jan-10 22:05 
Question[WPF] XamlParseException ----> The calling thread must be STA Pin
pbalaga22-Dec-09 11:00
pbalaga22-Dec-09 11:00 

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.