dll upload through c# code

dll upload through c# code

venkytanneru
Community Visitor Community Visitor
286 Views
2 Replies
Message 1 of 3

dll upload through c# code

venkytanneru
Community Visitor
Community Visitor

I have created a autocad plugin and i have 2 more dlls to be loaded from the click of the button created on the plugin , these 2 dlls are in my local path

0 Likes
287 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor

So, what is your question?

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 3

Jeff_M
Consultant
Consultant

I think this is what you are looking for.

        public static void LoadExtension(string filename)
        {
            try
            {
                System.Reflection.Assembly.LoadFrom(filename);
            }
            catch (System.Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
Jeff_M, also a frequent Swamper
EESignature