• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

ActiveX control on Win98/ME

Hi,

I have developed a custom ActiveX control in Visual Studio .NET, 2003. The control uses Microsoft's Print Templates (requires IE 5.5 and above) and is apartment threaded.
I'm loading the control into the browser in a web page. This works fine on Windows 2k and XP. However, on Windows 98 and ME, the loading of the ActiveX is erratic. Sometimes it loads properly, sometimes the browser (IE) crashes. During those instances when the browser crashes, it takes a long time for the browser to load the ActiveX and just when it has loaded the ActiveX or is about to load the ActiveX, it crashes.

What is going wrong on Windows 98/ME?

Thanks,
thothu
0
thothu
Asked:
thothu
  • 4
1 Solution
 
Asta CuCommented:
Different versions of IE have different issues with Active Scripting/Active x as is true for the OS and its versions.  tough to answer given the variations on end-user environments, but these may help.  With all the security issues and service packs that may or may not have been applied to the end-user environment, ActiveX controls will be unpredictable, IMHO.
http://www.microsoft.com/windows/ie/FAQ/default.asp

This may be of help, and includes additional hyperlinks; here's the title and link:
How to automate Internet Explorer to post form data by using Visual C++ .NET
Also includes hyperlinks for:
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
165298 HOWTO: Simulate a form POST request using WinInet
165800 SAMPLE: PostMon.exe demonstrates how to use URL Moniker to POST data
313068 HOW TO: Host a WebBrowser control in Visual C# .NET to post form data
 http://support.microsoft.com/default.aspx?scid=kb;en-us;815722

I'm still looking for a link I believe applies here.  Back when I find it.

0
 
Asta CuCommented:
Old Ole versus ActiveX and Active scripting, etc. variables in the OS may be another key as well as if the object is self-registering or not; so this may help as well
http://support.microsoft.com/default.aspx?scid=kb;en-us;159621

Good luck, off to work.
0
 
thothuAuthor Commented:
Thanks astaec. However the problem was something else.
The ActiveX loads a couple of files and there was synchronization issue on Win 9x PCs with these files.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Asta CuCommented:
So, to clarify, do you feel the issue is resolved and you found your own solution?  If so, just post a zero point question in the Community Support topic area and request a PAQ/Refund.  Adding the explicit solution here would add value to this question since it could then help others with similar roadblocks in the future.

If you'd like to continue collaborating on this, let me know and I'll return when time permits.

Thanks,
Asta
0
 
Asta CuCommented:
Agreed.
0
 
moduloCommented:
PAQed, with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now