Dami

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.



Re: Internet Explorer Web Development Running ActiveX with IE7

Dami

I am still waiting for solution from this froum.

Please reply soon as its really urgent.

Thank you.





Re: Internet Explorer Web Development Running ActiveX with IE7

IECUSTOMIZER

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.






Re: Internet Explorer Web Development Running ActiveX with IE7

Dami

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.





Re: Internet Explorer Web Development Running ActiveX with IE7

Dami

Please help me...........





Re: Internet Explorer Web Development Running ActiveX with IE7

IECUSTOMIZER

Hi Start Here

About ActiveX Controls - http://msdn2.microsoft.com/en-us/library/Aa751971.aspx

How to mark MFC ActiveX controls as Safe for Scripting and ...

All download ActiveX controls in my Downloaded Programs files folder show damaged dependencies also so I think that is just an undocumented Windows feature.

If you've run the dependency viewer against your ocx file it should have listed the PE. dependencies.

Check if commdlg32.ocx is on your machine(this is the only ocx file that I have had to include with 2 Vista control migrations so far).

Regards.






Re: Internet Explorer Web Development Running ActiveX with IE7

Dami

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.





Re: Internet Explorer Web Development Running ActiveX with IE7

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.





Re: Internet Explorer Web Development Running ActiveX with IE7

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.





Re: Internet Explorer Web Development Running ActiveX with IE7

IECUSTOMIZER

HI,

Start here http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp

the quality of our answers will depend upon the quality of your questions.

I have to question your problem solving skills

This is a MSDN forum, which does not have quarantees for answers to questions. Respondants here are not necessarily MSFT and all give their time freely and without guarantee. It may be that you may find a solution to your problem elsewhere. More than likely someone else has already walked the path that you are now on.

If you have current MSDN subscriptions you have entitlements for technical support from your local MS offices.

Only you have an intimacy with the problem that you are trying to solve. It won't be solved by you just waiting for someone else to solve it for you.

Here are some web searches

http://www.google.com/search q=ActiveX%20Vista

http://www.google.com/search hl=en&q=can%27t+install+ActiveX+on+Vista&btnG=Search






Re: Internet Explorer Web Development Running ActiveX with IE7

Dami

Hi,

Sorry for me being a bit harsh and hasty.

I figured out the solution.

Thanks,

Dami.