Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fieldistor/CsharpActiveX

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CsharpActiveX

Simple project for creating a C# ActiveX and Container. It Provides a complete example of integrating with ActiveX, IE and C#.

This is the source code and Visual Studio project behind the Stackoverflow question How to connect a C# ActiveX event handler in Javascript

It combines three code examples:

Things learned

  • Don't use document.write inside the event handler as the object will be cleared from the page.
  • ActiveX object utilized by Javascript needs to be obtained from javascript.
  • When trying to support IE <= 9 and IE >= 10, the WebBrowser Control will default to compatibility mode. This requires a registry entry to tell IIS to use IE > 7.

About

Simple project for creating a C# ActiveX and Container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 90.2%
  • HTML 9.8%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.