Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i want msedgewebview2 process ID..
#24
oh. .thank you so much
As of now, the test results
It works satisfactorily.
I really appreciate you.

I already have a custom control form
I made my own browser component.
In it I added the below command.
======================

Public Sub reSTART()

On Error Resume Next
Dim startTime As Single, xtime As Single
Antview1.CloseWebView
Antview1.CloseBrowserProcess

startTime = Timer
Do
xtime = Abs(Timer - startTime)
DoEvents
If xtime > 4 Then
Exit Do
Else
If Antview1.BrowserProcessIDLong < 1 Then Exit Do
End If
Loop

Antview1.CreateWebView

End Sub


=================================
But I have a question.
When I didn't close it manually... i.e.
If your browser crashes or dies

Antview1.BrowserProcessIDLong value
If it is read, does the result return a value of 0?

I check if the browser is dead and
Check only if dead. I want to restart...
HeartThankyou.
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 hys999 - 2023-03-17, 13:55:25
RE: i want msedgewebview2 process ID.. - by wila - 2023-03-17, 15:57:22

Forum Jump:


Users browsing this thread: 1 Guest(s)