The security policies in the 2.0 framework are making my development work almost impossible. Every day I seem to get a new permissions error. I am trying to customize excel using .NET 2005 Beta 1. This is the general error I get: The .NET security policy does not permit the customization to...
Well I finally got it to work! YAY!
I had to create a brand new control with no other properties - maybe my class was just broken somehow?!?! Not sure what fixed it, but whatever - it works!
I still can't inherit from textbox, but I can inherit from system.windows.forms.usercontrol so...
I just tried to create a new control with different naming in case I was running into a conflict of some type. Now I get a very wierd error when I try to inherit from the textbox class. Here is the code:
Imports System.ComponentModel
Public Class TempControl1
Inherits TextBox
End...
That is the result that I would have expected, but I can't seem to produce it. I thought the same thing about my compile not being up to date, so I even added a readonly property that just showed a contstant "TEST", and that one showed up in the "misc" list just fine.
Today I found that my...
Thanks for the quick response, but I couldn't get it to work. I tried all of the following:
<Category("Behavior")> _
Public Property...
<CategoryAttribute("Behavior")> _
Public Property...
<Category("Design")> _
Public Property...
<CategoryAttribute("Design")> _
Public Property...
[RESOLVED] Enumerated Property in Custom User Control
Hey all,
I'm new to the forums and .NET in general so hopefully this isn't TOO stupid of a question.
I'm trying to create a custom control to help with some user input validation. I basically want to provide an enumerated type for a text...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.