User-defined type not defined.-VBForums
Results 1 to 2 of 2

Thread: User-defined type not defined.

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2011
    Posts
    1

    Question User-defined type not defined.

    Hey guys I keep getting this " user defined type not defined error highlighting the following code.

    VB.Code
    Private Sub datPrimaryRS_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset

    I'm rather new to VB and trying to Deploy a project. Can anyone please give me an solution for this problem above.

    Thanx and Regards.

  2. #2
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: User-defined type not defined.

    Moved To VB6 and Earlier

    Do you have a reference set to ADO in your project?
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.