Results 1 to 8 of 8

Thread: ActiveX control Using Error

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2010
    Posts
    21

    ActiveX control Using Error

    Hi all, I have created an activex control and then created its setup.exe using MS visual studio 6-> tools-> Package and deployment wizard. After that I copied the package in another PC and installed it. Then started a new VB6 standards exe project and included the control using tab Project->Components.
    The control appears in the ToolBox. When I click and include it on a blank form it give me this error : "Delete Current Link?", when I click on OK button nothing happens. I m on a deadline to deliver this application So anyone who knows the solution for this then plz reply. Thanks in advance.

  2. #2
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: ActiveX control Using Error

    This error message isn't anything I have seen, can find in the documentation, or find anywhere on the Web.

    Is it being produced by your control's code? Is there any other information? Are you using DDE?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Oct 2010
    Posts
    21

    Re: ActiveX control Using Error

    I have screen captured the error and attached the pic with this post
    plz check it and reply
    Attached Images Attached Images  

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: ActiveX control Using Error

    I'd have to guess that you are tripping over inadvertant use of the old DDE mechanism then. When you created the control you may have set one or more of the Link properties.

    See http://support.microsoft.com/kb/189498 for some general info on the topic.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Oct 2010
    Posts
    21

    Re: ActiveX control Using Error

    I am still not able to understand the problem.. what setting should I do in order to use the control in other computer ?? plz tell me if u know any general setting of DDE to work without the error ???? I forgot to mention that my ActiveX control involves serial port communication , just in case if it can make a difference in the error..

  6. #6
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: ActiveX control Using Error

    I'm guessing you did something wrong when you created this control. Most likely set some of the DDE-related properties on it, but that's just a guess.

    Nobody else seems to have EVER reported this problem, and they create and deploy ActiveX controls all the time so clearly you did something unusual.

    No, DDE has nothing to do with serial ports.


    So I suggest you go back to your ActiveX OCX project and check all of the DDE properties of every UserControl and constituent control you have. Most of these are named LinkXXX and should be set to the default values.


    Or else something else entirely is going on, but again I don't see anything anywhere about a message like the one you see.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Oct 2010
    Posts
    21

    Re: ActiveX control Using Error

    Hi friends, I am still not able to solve this error and the project is stuck at this point. I forgot to tell u b4 that I have included an external class for stringBuilding in the project. Is it possible that this class is causing this error shown above ?? Is so then what will be the solution ?? pls repley,

    thanks vishal

  8. #8
    New Member
    Join Date
    Apr 2011
    Posts
    1

    Re: ActiveX control Using Error

    i have created activex control login form and also use form in this .but it could not work.it giving me error on .the program is in accp aptech.have anybody sort out 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