|
-
Oct 8th, 2003, 11:49 AM
#1
Thread Starter
Addicted Member
dll properties
i am migrating a modbus OCX that i have to vb.NET, but i´m having some trouble, anybody knows the name of the VB6 propertybag on the VB.Net?
other thing, i have some "enum" on it, but just some of those appear right when I use the dll. others, when i click to change the property it shows me an error message of ArgumentException.
Thank you,
Guilherme Costa
-
Oct 8th, 2003, 12:25 PM
#2
In regards to controls and the propertybag, which could persist items between designtime and runtime, this can now be done mainly through Attributes which now use serialization behind the scenes. Try the DesignerSerializationVisibility(DesignerSerializationVisibility.Visible) attribute.
Enums didn't really change from VB6 except they are MUCH better in .NET because of reflection.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|