Click here to Skip to main content
15,888,968 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cookies and HttpWebRequest Pin
Heath Stewart20-Jul-04 9:22
protectorHeath Stewart20-Jul-04 9:22 
GeneralSwitching current language Pin
mikker_12320-Jul-04 4:56
mikker_12320-Jul-04 4:56 
GeneralRe: Switching current language Pin
Steven Campbell20-Jul-04 6:01
Steven Campbell20-Jul-04 6:01 
GeneralSMTP MAIL Pin
Ljungman20-Jul-04 2:47
Ljungman20-Jul-04 2:47 
GeneralRe: SMTP MAIL Pin
Heath Stewart20-Jul-04 8:49
protectorHeath Stewart20-Jul-04 8:49 
GeneralAccessing internal help text inside .chm file. Pin
JimmyG1320-Jul-04 1:53
JimmyG1320-Jul-04 1:53 
GeneralRe: Accessing internal help text inside .chm file. Pin
Heath Stewart20-Jul-04 8:53
protectorHeath Stewart20-Jul-04 8:53 
GeneralReflection Problems... Pin
Norman-Timo20-Jul-04 1:40
Norman-Timo20-Jul-04 1:40 
Hello everybody!

First I´m sorry about my english, I come from germany.

I have a little obscure problem with reflection.

I created a own class with only one constructor ->

private static System.Reflection.Assembly assembly;
public MyReflection(string dllfilename)
{
assembly = System.Reflection.Assembly.LoadFrom(dllfilename); //**

// do something with assembly (this part works fine!)
}


In my main application I´m creating an object from this class like:
MyReflection myRefl = new MyReflection(dllfilename);


I choosed that a user can change the assembly file (for example to actualize it) in my main application and the code line "MyReflection ... = new ..." is recalled with the different dllfilename.

If I debug MyReflection class it is working fine until the line signed with //**.

I can recrate the object how many times I want, but it keeps the first assembly file. Why?

Why doesn´t actualize my computer this file (the string "dllfilename" is always appearing correctly!)

Is it a problem with the garbage collector? And if this is true, how can I definetely force that C# destroys an object?

It would be nice if someone is answering to me..

Ciao
Norman-Timo
GeneralRe: Reflection Problems... Pin
Nick Parker20-Jul-04 3:13
protectorNick Parker20-Jul-04 3:13 
GeneralCompound Document Pin
Omar Alvi20-Jul-04 0:26
Omar Alvi20-Jul-04 0:26 
GeneralRe: Compound Document Pin
Heath Stewart20-Jul-04 9:08
protectorHeath Stewart20-Jul-04 9:08 
GeneralDynamic Help Pin
ravindra23119-Jul-04 23:42
ravindra23119-Jul-04 23:42 
GeneralRe: Dynamic Help Pin
Heath Stewart20-Jul-04 9:31
protectorHeath Stewart20-Jul-04 9:31 
GeneralRe: Dynamic Help Pin
ravindra23121-Jul-04 1:49
ravindra23121-Jul-04 1:49 
GeneralRe: Dynamic Help Pin
Heath Stewart21-Jul-04 4:16
protectorHeath Stewart21-Jul-04 4:16 
GeneralRe: Dynamic Help Pin
ravindra23123-Jul-04 18:58
ravindra23123-Jul-04 18:58 
GeneralRe: Dynamic Help Pin
Heath Stewart26-Jul-04 2:21
protectorHeath Stewart26-Jul-04 2:21 
QuestionHow can I write with different fonts in DirectX? Pin
arik_a19-Jul-04 22:53
arik_a19-Jul-04 22:53 
AnswerRe: How can I write with different fonts in DirectX? Pin
Heath Stewart20-Jul-04 9:37
protectorHeath Stewart20-Jul-04 9:37 
QuestionC# Living or Phazing out? Pin
Xentinel19-Jul-04 21:53
Xentinel19-Jul-04 21:53 
AnswerRe: C# Living or Phazing out? Pin
Michael P Butler19-Jul-04 22:15
Michael P Butler19-Jul-04 22:15 
AnswerRe: C# Living or Phazing out? Pin
Colin Angus Mackay19-Jul-04 22:45
Colin Angus Mackay19-Jul-04 22:45 
GeneralRe: C# Living or Phazing out? Pin
eggie520-Jul-04 9:17
eggie520-Jul-04 9:17 
GeneralRe: C# Living or Phazing out? Pin
Colin Angus Mackay20-Jul-04 11:02
Colin Angus Mackay20-Jul-04 11:02 
QuestionDisabling addition of new rows in DataGrid? Pin
Radoslav Bielik19-Jul-04 20:52
Radoslav Bielik19-Jul-04 20:52 

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.