Creating an Instance of a Class at Runtime

G

Gunner

I am trying to create a generic form driven the database. I want to be able
to run create Crystal reports from this genric page and only want to have to
enter some info in the database and drop the .RPT and .VB file of the report
into a certain directory.

My problem is how do I create an instance of a certain report at runtime. I
will know the Class name from the VB file, but I do not know how or if I can
create an instance of that class at runtime only having its name as a
string.

Any help would be appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top