Results 1 to 1 of 1

Thread: [VB6] - strange bug that can block my VB6:(

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,961

    Angry [VB6] - strange bug that can block my VB6:(

    i don't know why, but these code works fine in a module(Standard exe project):
    Code:
    .............
    MsgBox Screen.ActiveForm.Controls(1).Name
    ............
    error message:
    "run-time error '91':
    object variable or with block variable not set"
    but using these module in Activex project.... my vb6 is blocked. and for close it i must use ctrl+alt+del(combined keys).
    it's strange these code is only for read and i have 100% sure that is correct.
    can anyone tell me why these stupid error?
    Last edited by joaquim; Apr 22nd, 2011 at 04:44 PM.
    VB6 2D Sprite control

    To live is difficult, but we do it.

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