0

i have a control dll and i use this control in my project then i change this controls codes after i do it . appears some error on this lines in form1[designer]

Me.Dentisyon1 = New WindowsControlLibrary1.dentisyon 
Friend WithEvents Dentisyon1 As WindowsControlLibrary1.dentisyon

what should i do?

thx for answers

Edited by Oneryavuz: n/a

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by Oneryavuz
0

ups sorry i forget this

"Type 'WindowsControlLibrary1.dentisyon' is not definited"

hmm i use my control , i change its dll , i delete my control from form , i right click on toolbox n i click choose item and i press reset button for reset my toolbox and i browse my new dll :D at least i got the error

1

i have a control dll and i use this control in my project then i change this controls codes after i do it . appears some error on this lines in form1[designer]

Me.Dentisyon1 = New WindowsControlLibrary1.dentisyon 
Friend WithEvents Dentisyon1 As WindowsControlLibrary1.dentisyon

what should i do?

thx for answers

it seems that your code is basically correct. by the way, where did you put your code? if you put your code in your form.vb file, then i suggest putting that code in the form.designer.vb file under Private Sub InitializeComponent().

The code should look like this

Private Sub InitializeComponent()
        Me.Dentisyon1 = New WindowsControlLibrary1.dentisyon
End Sub
Friend WithEvents Dentisyon1 As WindowsControlLibrary1.dentisyon
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.