Results 1 to 7 of 7

Thread: [RESOLVED] Something Wierd with default Constructor.

Threaded View

  1. #1

    Thread Starter
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    Resolved [RESOLVED] Something Wierd with default Constructor.

    I keep getting an error on the line below saying type frmAddnote has no default constructor.
    However it's just a normal for it does have a constructor and I aint deleted nowt. If I close VS then open it again the error goes and the app compiles and runs fine, it's only when I open the form in design view that the error appears again?
    VB Code:
    1. If (objAddNote Is Nothing OrElse objAddNote.IsDisposed) And (objAgent.IfrmNewCall Is Nothing OrElse objAgent.IfrmNewCall.IsDisposed) Then
    2.                 objAddNote = [U]New frmAddNote[/U]                objAddNote.Show()
    3.                 Me.btnDial.Enabled = False
    4.                 Me.btnNote.Enabled = False
    Last edited by FishGuy; Oct 28th, 2005 at 04:11 AM.

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