Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Help me, help me !

Help me, help me !

Scheduled Pinned Locked Moved Visual Basic
helpregexquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    baggioberto
    wrote on last edited by
    #1

    Message Error show :Procedure declaration does not match description of event or procedure having the same name. This error message is showed in procedure Private Sub adcVT_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset) With pRecordset If bThem Then Exit Sub If .EOF Or .BOF Then Exit Sub txtMaVT = IIf(IsNull(!MaVT), "", !MaVT) txtTenVT = IIf(IsNull(!TenVT), "", !TenVT) txtDVTinh = IIf(IsNull(!DVTinh), "", !DVTinh) txtMaVT_DVTK = IIf(IsNull(!MaVT_DVTK), "", !MaVT_DVTK) If !LoaiVT Then chkVattu.Value = 1 Else chkVattu.Value = 0 End If End With End Sub - I don't find procedure having same name when I check my project - I think there 's error dll in my pc but I don't know them. Can u help me what 's error dll or why error ? Thank u alot ! Baggio

    G 1 Reply Last reply
    0
    • B baggioberto

      Message Error show :Procedure declaration does not match description of event or procedure having the same name. This error message is showed in procedure Private Sub adcVT_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset) With pRecordset If bThem Then Exit Sub If .EOF Or .BOF Then Exit Sub txtMaVT = IIf(IsNull(!MaVT), "", !MaVT) txtTenVT = IIf(IsNull(!TenVT), "", !TenVT) txtDVTinh = IIf(IsNull(!DVTinh), "", !DVTinh) txtMaVT_DVTK = IIf(IsNull(!MaVT_DVTK), "", !MaVT_DVTK) If !LoaiVT Then chkVattu.Value = 1 Else chkVattu.Value = 0 End If End With End Sub - I don't find procedure having same name when I check my project - I think there 's error dll in my pc but I don't know them. Can u help me what 's error dll or why error ? Thank u alot ! Baggio

      G Offline
      G Offline
      Garner T
      wrote on last edited by
      #2

      Hi Baggio, I am just guessing here because the "smile" covered up part of the error. I think that I had this problem once. My error was located in this part of the code:

      baggioberto wrote:

      Private Sub adcVT_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)

      The problem was that I tried to type in the procedure's heading instead of selecting it from the drop down boxes. I had one letter wrong which generated the error. You can also get this error if you try to put code for a different procedure under the wrong heading. I know that I haven't explained this very well but I'm hoping that you can figure out what I'm trying to say. Good luck, Garner

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups