|
-
Dec 3rd, 2002, 06:51 AM
#1
Thread Starter
Addicted Member
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
-
Dec 4th, 2002, 02:27 PM
#2
Junior Member
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
-
Dec 4th, 2002, 03:36 PM
#3
Junior Member
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
-
Dec 6th, 2002, 02:16 AM
#4
Thread Starter
Addicted Member
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
-
Dec 6th, 2002, 02:19 AM
#5
Junior Member
What lead you to compile on another machine?
Do you think I might have the same problem ?
-
Dec 7th, 2002, 01:02 AM
#6
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|