Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to a running Excel instance #19

Open
Thomas008 opened this issue May 26, 2019 · 1 comment
Open

Cannot connect to a running Excel instance #19

Thomas008 opened this issue May 26, 2019 · 1 comment

Comments

@Thomas008
Copy link

Doing
e1 = WIN32OLE.new('Excel.Application)
e2 = WIN32OLE.connect('Excel.Application')
one would expect that the command WIN32OLE#command connects to the already running Excel instance.
However, it creates a new Excel instance.
e1.Hwnd == e2.Hwnd
=> false
This behaviour is not desired for some applications.

@Thomas008
Copy link
Author

I have published this issue in the jruby github already, since I did not know where the best place might be
(issue 5757).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant