Running ActiveX with IE7
Hi,
My company has a product having an ActiveX as its major part and runs over IE. We were successfully running this application over IE6 in Win2000, Win2003, WinXp and even with IE7 with previously mentioned Window versions.
This ActiveX was developed in VC++ 6.0.
This ActiveX gets installed atomatically through a cab file, whenever the application was accessed first time.
Now, we have to support it with IE7 over Vista.
Please let me know what should I do to make it compatible with IE7 and Vista. I am using Vista Ultimate right now.
When the application was accessed through IE7 for the first time, ActiveX installation dialog appeared. I pressed the Install button but then IE7 threw an error message that "Internet Explorer has stopped working". After that each time, whenever the application was accessed IE7 threw the same error message.
I tested by manually registering the ocx, also turned off the Protected Mode and enabled my ActiveX through Manage Ad-on as well, but to no avail.
Please let me know any solution to this problem. It has really made my brain boiling.
Looking forward to your response.
Thank you.
[1211 byte] By [
Dami] at [2008-1-10]
I am still waiting for solution from this froum.
Please reply soon as its really urgent.
Thank you.
Hi Dami,
Vista comes with a number of runtimes pre-installed(MSVB6RT.dll, MSVCRT.dll). What are the dependencies of your Control?
You may have to remove these runtime libraries from your CAB and have a separate codebase value for Vista machines.
Common Windows ActiveX controls are not included in Vista OEM. You may have to add these to your cab.
Regards.
Thank you for your response.
My control doesn't have any dependencies. Therefore my CAB file only contains the ocx and inf files.
I have also checked it over Vista with Dependency Walker. It doesn't have any dependency.
When I pressed View Objects under Internet Options->Browser History -> Settings, Status of my control was Unplugged.
By looking at Dependency tab in Properties of my control, it is showing following message
"This page lists the 5 file(s) and 0 java packages upon which WebBrochureL Control Depends."
And under this message there is a listbox displaying 5 entries. All these files have file name "* (esterik)" and Size (bytes) "Damaged". I hope that this can lead to some clue.
Please clearify me about separate codebase for Vista machines. Codebase consists of only the Url and version of ocx. How should I change this?
Please also clearify me about the Common Windows ActiveX controls to be added in the cab file.
Looking forward to your response.
Regards.
Please help me...........
My control is licensed and it is safe for initialization and scripting as our clients were using it successfully on XP.
Please let me know about PE dependencies, although I have cehcked for dependencies through dependeny viewer and there are no deendencies.
I have also cehcked for commdlg32.ocx, its already present in my machine.
Therefore its not needed as well.
Please investigate it furthur, so that I can reach to a solution.
Thanks alot.
Dami.
I am using a lib file in my control but that was not developed for Vista. And my control was build on XP using that library file. Can this be a reason that my control is not running on Vista?
I have a version of this library for VS7, but VS7 is also not for Vista.
This problem has already taken my two weeks and still I am no where. Please guide me and let me know any work arround or solution.
Looking forward to your response.
Thanks,
Dami.
Hi,
I am still without any solution and still waiting for replies from this forum of microsoft which I believe is the leader in software production. Howcome they don't know the solution of this problem. Its really strange.
Please.. I need help.
Thank you,
DAMI.