What is preferred method to start an app process and then fill in form fields?
The following prog does not compile (b/c AppActivate does not have the
correct param):
----------------------------------------------------------------------------------------
Imports Microsoft.Visua lBasic
Imports System.Windows. Forms
Imports System.Diagnost ics
Module Module1
Sub Main()
Dim proc As Process = Process.Start(" c:\app2020\app. EXE")
AppActivate(pro c)
SendKeys.SendWa it("22")
End Sub
End Module
The following prog does not compile (b/c AppActivate does not have the
correct param):
----------------------------------------------------------------------------------------
Imports Microsoft.Visua lBasic
Imports System.Windows. Forms
Imports System.Diagnost ics
Module Module1
Sub Main()
Dim proc As Process = Process.Start(" c:\app2020\app. EXE")
AppActivate(pro c)
SendKeys.SendWa it("22")
End Sub
End Module
Comment