Results 1 to 6 of 6

Thread: VB EXE Error while using OCX **Resolved**

  1. #1

    Thread Starter
    Addicted Member Rohan_Powle's Avatar
    Join Date
    Mar 2000
    Location
    Mumbai,maharashtra.India
    Posts
    173

    Angry VB EXE Error while using OCX **Resolved**

    I have made a custom textbox with some enhanced properties.
    While leaving Focus from our textbox by clicking on another control works fine, but if I press the TAB key to move to next control -- >

    I'm getting this error..

    The instruction at "0x00120065" referenced memory at "0x00120065". The memory could not be "read"
    Click on Ok to Terminate the program
    Click on CANCEL to debug the program


    & VB Terminates itself...

    What may be the problem?
    Help will be appriciated
    Last edited by Rohan_Powle; Dec 6th, 2002 at 02:29 AM.
    "Trouble Gives Experience & Experience Gives Wisdom."
    (accept troubles as they come to become more wise in life)
    - Regards Rohan

  2. #2
    Junior Member
    Join Date
    Oct 2002
    Location
    New Zealand
    Posts
    27
    Hi Rohan.

    The problem would be how you reference a specific object within the activeX. What the problem is, I cannot exactly tell you, as I have the exact same error trying to reference the Menu object of the parent from within an ActiveX.

    Declaring the object and setting it seems to be OK, but when I talk to the object, the error appears. It also only appears when the ActiveX is compiled, but works like a charm in Dev mode.

    I will let you know if I find the solution for my problem as it would solve yours too.

    Graham

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Location
    New Zealand
    Posts
    27
    Hi Rohan.

    The problem would be how you reference a specific object within the activeX. What the problem is, I cannot exactly tell you, as I have the exact same error trying to reference the Menu object of the parent from within an ActiveX.

    Declaring the object and setting it seems to be OK, but when I talk to the object, the error appears. It also only appears when the ActiveX is compiled, but works like a charm in Dev mode.

    I will let you know if I find the solution for my problem as it would solve yours too.

    Graham

  4. #4

    Thread Starter
    Addicted Member Rohan_Powle's Avatar
    Join Date
    Mar 2000
    Location
    Mumbai,maharashtra.India
    Posts
    173
    Problem is solved I tried to compile the ocx on another PC & it is working fine...

    Weired !!
    "Trouble Gives Experience & Experience Gives Wisdom."
    (accept troubles as they come to become more wise in life)
    - Regards Rohan

  5. #5
    Junior Member
    Join Date
    Oct 2002
    Location
    New Zealand
    Posts
    27
    What lead you to compile on another machine?
    Do you think I might have the same problem ?

  6. #6

    Thread Starter
    Addicted Member Rohan_Powle's Avatar
    Join Date
    Mar 2000
    Location
    Mumbai,maharashtra.India
    Posts
    173

    hello wbeetge

    Try & Try till u Succeed .... so just try compiling on another PC..
    Best of Luck
    "Trouble Gives Experience & Experience Gives Wisdom."
    (accept troubles as they come to become more wise in life)
    - Regards Rohan

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