|
-
Mar 12th, 2007, 06:03 AM
#1
Thread Starter
Member
activex problem
hai friends,
i am doin my project in vb 6.0 in that one i stucked off with this one
i made one ocx file and in that file i used a richtextbox and written code relating that one and then i opened a standard exe form where i used that ocx file then i have written some code on richtextbox then it didnot work the code written in standard form is not working and it was showing that object not found
the problem here is how to get access of the richtextbox used in my ocx file
-
Mar 12th, 2007, 06:06 AM
#2
Re: activex problem
Is this OCX file a user control?
Have you added it to your project so it appears on your toolbox bar?
(It would need to be loaded via Project/Components)
-
Mar 12th, 2007, 06:15 AM
#3
Thread Starter
Member
Re: activex problem
it is a user control
and
i have done like that only using projects and components
-
Mar 16th, 2007, 12:57 PM
#4
Addicted Member
Re: activex problem
 Originally Posted by RAKESHTATI
it is a user control
and
i have done like that only using projects and components
Have you created a new instance of the control?? alos you have to enure that the OCX is also present on the M/c where you are trying to access RTB. Also you have to expose the properties and methods of the RTB in your OCX file so that they could be accessed in your Standard EXE
Cute Member 
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
|