Results 1 to 2 of 2

Thread: dll properties

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2003
    Location
    Porto Alegre, RS
    Posts
    210

    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

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    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
  •  



Click Here to Expand Forum to Full Width