longvh211 / Chromium-Automation-with-CDP-for-VBA

A method to directly automate Chromium-based web browsers, such as Chrome, Edge, and Firefox, using VBA for Office applications by following the Chrome DevTools Protocol framework.
MIT License
45 stars 6 forks source link

Cant open Browser by 901"Error PeekNamedPipe in readProcCDP." #13

Closed Chemiphys closed 1 year ago

Chemiphys commented 1 year ago

i want use this addin,but i cant do it. when execute "Run Edge" in Demo module errormsg local stoppoint stop by this error,what is my mistake? teach me please.

Chemiphys commented 1 year ago

self-Resolution vba option Suspend when an error occurs option

after change this setting,i can use this libraly thx.

sorry i cant write english well

longvh211 commented 1 year ago

My apologies for the late reply but I am glad you have found the resolution yourself.

rocketlaw commented 1 year ago

Wait. What do you mean "vba option Suspend when an error occurs option"? Is it "onError" "Suspend"??? I ain't that code savvy.

longvh211 commented 1 year ago

Hi @rocketlaw , what Chemiphys meant is this option in VBA editor:

image

If you set them to anything else beyond Unhandled Errors, that line will cause exception all the time.

Jonny125 commented 3 months ago

Hello @longvh211, I have the same issue as Chemiphys, however my settings in the general-tab of the VBA-editor options are the same as pictured in your screenshot.

Do you know why this is happening?

Any help is highly aprreciated.

longvh211 commented 3 months ago

Did any of the demo examples work for you?