|
-
Sep 19th, 2002, 11:30 PM
#1
Thread Starter
Addicted Member
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
-
Oct 16th, 2002, 12:58 AM
#2
New Member
HI,
I have the same problem lately. Where you able to figure out the solution?
-
Oct 17th, 2002, 07:04 AM
#3
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|