Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i want msedgewebview2 process ID..
#6
Hello again,

I checked it all and it seems like you got bitten by everyone being overly cautious.
The people at Microsoft have declared the BrowserProcessID as UInt32, so when we wrote the wrapper this was translated into an Unsigned Long for the ActiveX declaration.
At MSDN the ProcessID function is declared as a DWord.
I've never seen process ID's go over the integer boundary, although I suppose it is possible on a busy server.

As the easiest possible workaround I just figured to create a BrowserProcessIDLong alternative property.
That I can use from VB6 without issue.
eg.

Code:
Private Sub PIDButton_Click()
  Dim PID As Long
 
  PID = EdgeWebBrowser.BrowserProcessIDLong
 
  MsgBox ("Process ID = " & CStr(PID))
End Sub

There's a private version of AntView that you can currently download from:
edit: [removed private link] use released version 1.1.270 instead

That hopefully resolves your issue.

Let me know how it goes.
--
Wil
Reply


Messages In This Thread
i want msedgewebview2 process ID.. - by hys999 - 2023-02-10, 12:17:20
RE: i want msedgewebview2 process ID.. - by wila - 2023-02-11, 18:22:42
RE: i want msedgewebview2 process ID.. - by wila - 2023-02-11, 19:29:22
RE: i want msedgewebview2 process ID.. - by wila - 2023-02-11, 20:09:03
RE: i want msedgewebview2 process ID.. - by wila - 2023-02-13, 13:21:41
RE: i want msedgewebview2 process ID.. - by wila - 2023-02-23, 21:22:08
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-14, 20:57:50
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-15, 11:07:00
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-15, 13:58:01
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-15, 14:21:55
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-16, 00:00:02
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-16, 22:50:25
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-17, 15:57:22

Forum Jump:


Users browsing this thread: 2 Guest(s)