Click here to Skip to main content
15,918,471 members
Home / Discussions / C#
   

C#

 
QuestionperformClick() Pin
quick228-Mar-07 18:36
quick228-Mar-07 18:36 
AnswerRe: performClick() Pin
giddy_guitarist31-Mar-07 5:38
giddy_guitarist31-Mar-07 5:38 
QuestionXML File processing Pin
satsumatable28-Mar-07 17:27
satsumatable28-Mar-07 17:27 
QuestionHow to add Restart Dialog to Installer Pin
remex_1980_junyongwu28-Mar-07 17:13
remex_1980_junyongwu28-Mar-07 17:13 
QuestionSnippets Pin
Mike Hankey28-Mar-07 17:07
mveMike Hankey28-Mar-07 17:07 
QuestionHow to reconnect to the server when the ethernet cable unplugged and replugged using Socket Pin
engsrini28-Mar-07 16:34
engsrini28-Mar-07 16:34 
Questionhow to use the a interface declared in a dll Pin
goldli28-Mar-07 16:21
goldli28-Mar-07 16:21 
AnswerRe: how to use the a interface declared in a dll Pin
wulixu28-Mar-07 17:31
wulixu28-Mar-07 17:31 
string filepath = @"E:\Encrypt.dll";
Assembly myDllAssembly = Assembly.LoadFrom(filepath);
Type dllTypeInterface = myDllAssembly.GetType("IDESCoder");//this statement may have some question
Type dllTypeClass = myDllAssembly.GetType("ClsDES");//this statement may have some question
if (dllType!=null)
{
//TODO---you can use Factory pattern to improve it
dllTypeInterface interf=Activator.CreateInstance(dllTypeClass );
}


and you can choose another simpler way to resolve the problem.
first of all,You should Add references into your application in VS.NET.
then you can use it like using some interface or class in mscorlib.dll.
for example. using System.Int32;


It is very useful for everyone to show your own ideas to others.---Discussion is the power of improvement.

GeneralRe: how to use the a interface declared in a dll [modified] Pin
goldli28-Mar-07 19:15
goldli28-Mar-07 19:15 
Question"Attempted to read or write protected memory." Pin
User 137680028-Mar-07 14:58
User 137680028-Mar-07 14:58 
AnswerRe: "Attempted to read or write protected memory." Pin
Dewald30-Mar-07 23:25
Dewald30-Mar-07 23:25 
QuestionWindows Forms book suggestions? Pin
Mark J. Miller28-Mar-07 12:11
Mark J. Miller28-Mar-07 12:11 
AnswerRe: Windows Forms book suggestions? Pin
J$28-Mar-07 12:54
J$28-Mar-07 12:54 
GeneralRe: Windows Forms book suggestions? Pin
Mark J. Miller28-Mar-07 13:30
Mark J. Miller28-Mar-07 13:30 
AnswerRe: Windows Forms book suggestions? Pin
Mike Hankey28-Mar-07 13:32
mveMike Hankey28-Mar-07 13:32 
AnswerRe: Windows Forms book suggestions? Pin
Scott Dorman28-Mar-07 13:36
professionalScott Dorman28-Mar-07 13:36 
AnswerRe: Windows Forms book suggestions? Pin
Rudolf Jan29-Mar-07 0:41
Rudolf Jan29-Mar-07 0:41 
Questionaccessing a remote gateway/box Pin
mfmaneef28-Mar-07 10:42
mfmaneef28-Mar-07 10:42 
QuestionUsing NotifyIcon Pin
gantww28-Mar-07 10:21
gantww28-Mar-07 10:21 
AnswerRe: Using NotifyIcon Pin
kubben28-Mar-07 11:02
kubben28-Mar-07 11:02 
QuestionC# / C++ interop - Functions returning pointers Pin
User 58261928-Mar-07 10:17
User 58261928-Mar-07 10:17 
AnswerRe: C# / C++ interop - Functions returning pointers Pin
led mike28-Mar-07 11:12
led mike28-Mar-07 11:12 
AnswerRe: C# / C++ interop - Functions returning pointers Pin
Leslie Sanford28-Mar-07 11:40
Leslie Sanford28-Mar-07 11:40 
QuestionDataColumn Expressions [modified] Pin
Farm Developer28-Mar-07 10:05
Farm Developer28-Mar-07 10:05 
AnswerRe: DataColumn Expressions Pin
J$28-Mar-07 14:33
J$28-Mar-07 14:33 

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.