DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: *.ocx could not be loaded ?

  1. #1
    Chicho Guest

    *.ocx could not be loaded ?


    Hello,
    When I recompile a control that I made, I get MyText.ocx could not be loaded
    on the project that Iam using it. I remeber that with another control insted
    of not being able to load it, the project asked me if I wanted to upgrade
    to the newer version.
    Why doesnt it upgrade?
    ThankYou
    Chicho


  2. #2
    Jim Deutch Guest

    Re: *.ocx could not be loaded ?

    You have to set the compatibility option in the project properties dialog,
    preferably to "binary compatibility" (that upgrade message probably happened
    with "project compatibility": with "binary" there isn't even an upgrade
    required).

    Copy your existing ocx file, and point to that copy as the "compatible
    version", and choose the binary compatible option. Now you won't have
    problems loading new versions any more.

    Jim Deutch

    Chicho wrote in message <3937cfd7@news.devx.com>...
    >
    >Hello,
    >When I recompile a control that I made, I get MyText.ocx could not be

    loaded
    >on the project that Iam using it. I remeber that with another control

    insted
    >of not being able to load it, the project asked me if I wanted to upgrade
    >to the newer version.
    >Why doesnt it upgrade?
    >ThankYou
    >Chicho
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center