0

I am having a real problem with this.

I want to know if it is possible to run/call a javascript function in a Google Chrome web browser window from a VB.net application.

The scenario is that i want to monitor the pc activity (which i know how to) and then if a certain event is met (for example, high ram usage) then it calls a JavaScript function in a Google Chrome web browser window so the website is updated. Sort of like a bridge.

The only bit it need to know is the vb.net code for how to access a chrome window and invoke a javascript function if its possible. I assume i will need to use process handlers?

Any help is appreciated.

4

1 回答 1

0

这可以通过使用网络套接字来实现。SignalR是一个不错的库,可以看看,这里有一个很好的例子来帮助你入门。

于 2012-06-18T21:40:51.413 回答