For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > March 2005 > Problem with adding new properties to class inheriting from AxHost









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with adding new properties to class inheriting from AxHost
Johan Appelgren

2005-03-14, 4:00 pm

Hi,

I have an ActiveX control with a .NET wrapper generated using AxImp.exe with
the /source switch. What I want to do is add some additional properties to
it to ease usage. The properties works as expected and appear in the
designer, but if I close the designer for a form that uses the wrapper and
then reopen it all the settings for the additional properties are
forgotten/removed.

Can the generated code be used this way? If not are there any other ways I
can accomplish this?


/Johan Appelgren


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com