I am working on a dynamic code generation tool and I have run into a
problem. When I add the declaration statement for a control, I cannot
find how to make it add "WithEvents" to the declaration for vb language
thereby not surfacing any events when you pull the result file into the
IDE. I am using CodeMemberField to add the control declaration
statement. Is there any way to accomplish this?


Paul

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Re: codedom by hirf-spam-me-here

hirf-spam-me-here
Tue Sep 07 11:54:14 CDT 2004

* slim <slim@devdex.com> scripsit:
> I am working on a dynamic code generation tool and I have run into a
> problem. When I add the declaration statement for a control, I cannot
> find how to make it add "WithEvents" to the declaration for vb language
> thereby not surfacing any events when you pull the result file into the
> IDE. I am using CodeMemberField to add the control declaration
> statement. Is there any way to accomplish this?

<URL:http://www.google.de/groups?selm=uX2FZEIQBHA.1544%40tkmsftngp05>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>