StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
How to Instantiate a Class a runtime from a String value
How to Instantiate a Class a runtime from a String value
Post Reply
Like
0
How to Instantiate a Class a runtime from a String value
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Paul Chase
Paul Chase
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 414,
Visits: 2.8K
I remember seeing how to do this using reflection but cannot remember how it was done. Below is psuedo code of what I want to do.
public sub whatever(classname as string)
dim something as new classname
end sub
Thanks
Paul
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to Instantiate a Class a runtime from a String value
Paul Chase
-
18 Years Ago
Here ya go... If you end up doing a lot of reflection, you'll probably...
StrataFrame Team
-
18 Years Ago
Thanks Ben, That was whatI was looking for! Once I seen it the light...
Paul Chase
-
18 Years Ago
No problem :) Reflection is fun because you can do literally ANYTHING...
StrataFrame Team
-
18 Years Ago
Right ... after understanding Serialization, this is my next...
Ivan George Borges
-
18 Years Ago
Don't worry Ivan i have full faith that as soon as we get comfortable...
Paul Chase
-
18 Years Ago
[quote]Reflection seems like macro substitution "&" in foxpro but on...
Trent L. Taylor
-
18 Years Ago
:D You have that right!!
Paul Chase
-
18 Years Ago
[quote][b]Paul Chase (10/26/2006)[/b][hr]Don't worry Ivan i have full...
Ivan George Borges
-
18 Years Ago
Ivan, You made me laugh :hehe: Your posts are always enjoyable to...
Trent L. Taylor
-
18 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search