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

close browser page from activeForm

running an activeForm inside activeX on a browser.
is there a way to close the active browser's window from within the activeForm ?
  • 2
1 Solution
Emmanuel PASQUIERFreelance Project ManagerCommented:
I suppose you will have to link a JavaScript (or other script) function to a custom event of your activeX.
In this JavaScript function, you can close the browser window.

Check this for the syntax of the javascript event assignment
Emmanuel PASQUIERFreelance Project ManagerCommented:
Of course, you will have to declare first your event in your activeX type library
controlrAuthor Commented:
no code example given
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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