Results 1 to 3 of 3

Thread: ActiveX CAB problem

  1. #1

    Thread Starter
    Addicted Member MrPresident2k's Avatar
    Join Date
    May 2002
    Location
    INDIA
    Posts
    167

    ActiveX CAB problem

    Hi,

    I've created an ActiveX control project. It works fine in the design mode(it opens in a browser). And when I create an Internet package with it, the ActiveX control doesn't load when I copy the object tag and the CAB file to my web server. And till yesterday it was working fine, and it isn't today.

    The project properties I have set are :-
    Upgrade ActiveX control = true
    Apartment threading

    Version Number
    2 0 0
    AutoIncrement = true

    Remove Information about unused ActiveX controls = true
    Complile to Native code=true
    Optimize for Fast Code true

    Binary Compatibility

    These are the project settings I have. I tried in an another machine also, but that is too not working.
    Please help.

    Thanks,
    Pres

  2. #2
    New Member
    Join Date
    Jan 2002
    Posts
    3
    HI,

    I have the same problem lately. Where you able to figure out the solution?

  3. #3

    Thread Starter
    Addicted Member MrPresident2k's Avatar
    Join Date
    May 2002
    Location
    INDIA
    Posts
    167

    Problem in initialize

    Hi,

    My problem was in UserControl_Initialize. I had a property which will get the user name and an ASP file path(which XMLHttp will use)from the page and then get some data for the user in the Control.
    The problem was that, when the page loads itself the initialize is called so that passing an empty name and filepath, control failed to load. I shifted these operations to a seperate function and called them after the initialize.

    Now it works fine.

    Thanks,
    Pres

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