Hi List, 

I'm beginning to write a serious add-in in VB.NET that is intended to
generate a form and its associated VB.NET code. What is the technique for
examining the source code? 

1 - Looking at the documentation I see what appear to be parallel CodeClass
and CodeElement objects. These have methods such as AddVariable, but the
documentation says they are not supported for VB. Is there another way of
doing this in VB or can you only generate C# programs this way? 

2. I also see StartPoint and Endpoint methods but I can't work out how to
get the text in between these values into a string. 

Can someone enlighten me on this please? I recall especially Sam Gentile's
kind offer of help when I posted an exploratory question a month ago.

Regards,

Jay Ayliff
Stalis Ltd

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to