Click here to Skip to main content
15,908,254 members
Home / Discussions / C#
   

C#

 
Generalproblem registering class Pin
dsdsds9-Nov-01 4:13
dsdsds9-Nov-01 4:13 
GeneralRe: problem registering class Pin
rchiav9-Nov-01 5:28
rchiav9-Nov-01 5:28 
Generalwho can give me an example Pin
7-Nov-01 14:54
suss7-Nov-01 14:54 
GeneralChanging data on a different form Pin
5-Nov-01 8:35
suss5-Nov-01 8:35 
GeneralRe: Changing data on a different form Pin
AndyG5-Nov-01 11:43
AndyG5-Nov-01 11:43 
GeneralRe: Changing data on a different form Pin
6-Nov-01 3:50
suss6-Nov-01 3:50 
GeneralClass.forName() Pin
Jamie Hale4-Nov-01 16:54
Jamie Hale4-Nov-01 16:54 
GeneralRe: Class.forName() Pin
Chris Maunder15-Nov-01 14:04
cofounderChris Maunder15-Nov-01 14:04 
You can use the Assembly class to load assemblies at runtime, the GetType function to get an object's type, and the Activator.CreateInstance static function to create an object of that type:
Assembly a = Assembly.Load("MyLibrary");
Type t = a.GetType("MyLibrary.MyClass");
object obj = Activator.CreateInstance(t);


cheers,
Chris Maunder (CodeProject)
GeneralSearch files Pin
Makyana4-Nov-01 3:08
Makyana4-Nov-01 3:08 
GeneralRe: Search files Pin
Andreas Philipson4-Nov-01 14:47
Andreas Philipson4-Nov-01 14:47 
GeneralOutput to MS Word using C# Pin
1-Nov-01 8:41
suss1-Nov-01 8:41 
GeneralRe: Output to MS Word using C# Pin
Eric Gunnerson (msft)2-Nov-01 6:15
Eric Gunnerson (msft)2-Nov-01 6:15 
GeneralCOM server in .Net Pin
Christian B30-Oct-01 1:58
Christian B30-Oct-01 1:58 
GeneralRe: COM server in .Net Pin
Nish Nishant1-Nov-01 13:56
sitebuilderNish Nishant1-Nov-01 13:56 
GeneralRe: COM server in .Net Pin
Christian B2-Nov-01 0:49
Christian B2-Nov-01 0:49 
Generalabout mdi child window Pin
aner_glx28-Oct-01 17:20
aner_glx28-Oct-01 17:20 
Questionhow do u convert a char to an int? Pin
25-Oct-01 19:00
suss25-Oct-01 19:00 
AnswerRe: how do u convert a char to an int? Pin
Christian Graus25-Oct-01 19:05
protectorChristian Graus25-Oct-01 19:05 
AnswerRe: how do u convert a char to an int? Pin
Xian29-Oct-01 7:45
Xian29-Oct-01 7:45 
AnswerRe: how do u convert a char to an int? Pin
Carlos Antollini29-Oct-01 7:56
Carlos Antollini29-Oct-01 7:56 
QuestionCan .NET do this? Pin
billb211225-Oct-01 4:25
billb211225-Oct-01 4:25 
AnswerRe: Can .NET do this? Pin
Colin Bowern29-Oct-01 18:22
Colin Bowern29-Oct-01 18:22 
GeneralCommercial Application Development in .NET Pin
Stormwind24-Oct-01 4:03
Stormwind24-Oct-01 4:03 
GeneralRe: Commercial Application Development in .NET Pin
Rassman1-Nov-01 4:26
Rassman1-Nov-01 4:26 
QuestionChanging a control border color? Pin
23-Oct-01 12:53
suss23-Oct-01 12:53 

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.