Results 1 to 3 of 3

Thread: VB OCX problem Please Help Its Urgent

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Posts
    14

    VB OCX problem Please Help Its Urgent

    ear Experts,

    I have developed vb application, i used a ocx (self made). When i make the intaller i faced this Error message.

    "Failed load Control 'Fiunction' from Test1.ocx. Youe Version of Test1.ocx may be outdated . Make sure you are using the version of the control that was provided with your application."

    In those system where VB6 is installed the app is working. I tryed vb6 runtime to solve the issue but failed. Please guide me.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB OCX problem Please Help Its Urgent

    Moved from Project Communication Area (which is for group projects, not individual questions)

    The problem is that you have not installed your application, so the .ocx file has not been set up correctly. The runtime files will only ever cover the basics, and are not a substitute for creating an installation package (unless you actually know what you are doing, and are sure that nothing extra is required).

    You need to use a tool like Package & Deployment Wizard (which comes with VB, and should be on your Start menu), or a similar tool, to create the installation package - and then actually install your program on the client computer(s).

  3. #3
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: VB OCX problem Please Help Its Urgent

    I would imagine that you placed a prior version of your OCX on the machine that you are getting this error on. In that case your CLSID's don't match and you have not compiled your OCX in Binary Compatibility Mode. The systems thinks that the ocx is new and not a replacement of the old ocx.

    Re-compile your projects and set them to Binary Compatibility. You will have to remove the other ocx from the machine and from the registry to get the app to work properly.


    BTW: Putting URGENT on the topic line is a sure fire way of getting less looks at your problem...

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