Results 1 to 4 of 4

Thread: activex problem

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    35

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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)

  3. #3

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    35

    Re: activex problem

    it is a user control
    and
    i have done like that only using projects and components

  4. #4
    Addicted Member cutamacious's Avatar
    Join Date
    May 2001
    Location
    INDIA >> Andhra Pradesh >> Hyderabad
    Posts
    185

    Re: activex problem

    Quote 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
  •  



Click Here to Expand Forum to Full Width