The Process Object - HTML2EXE Programming Interface

Document Path: Home Page / Programming / HTML2EXE / Interfaces / Process Object  
Properties ApplicationName CreationFlags CurrentDirectory ExitCode InheritHandles ProcessID Property ThreadID
Methods AddArgument Clear Create SetStartupInfo Terminate WaitForInputIdle
Properties

ApplicationName

Value BSTR (path of the executable file)
Access Get, Put
Notes SDK Keyword: CreateProcess

CreationFlags

Value ULONG
Access Get, Put
Notes SDK Keyword: CreateProcess

CurrentDirectory

Value BSTR
Access Get, Put
Notes SDK Keyword: CreateProcess

ExitCode

Value VARIANT
Access Get
Notes SDK Keyword: CreateProcess

InheritHandles

Value BOOL
Access Get, Put
Notes SDK Keyword: CreateProcess

ProcessID

Value ULONG
Access Get
Notes SDK Keyword: CreateProcess

Property

Value VARIANT
Arguments:
  • BSTR name
Access Get, Put
Notes For storing runtime varialbles

ThreadID

Value ULONG
Access Get
Notes SDK Keyword: CreateProcess
Methods

AddArgument

Return Value
Arguments:
  • BSTR arg
Notes SDK Keyword: CreateProcess

Clear

Return Value
Notes Clear the Process's data members, so that you can re-use the Object

Create

Return Value ULONG
Notes SDK Keyword: CreateProcess

SetStartupInfo

Return Value
Arguments:
  • BSTR name
  • VARIANT value
Notes SDK Keyword: CreateProcess

Terminate

Return Value
Arguments:
  • ULONG exitCode
Notes SDK Keyword: TerminateProcess

WaitForInputIdle

Return Value
Arguments:
  • ULONG msToWait
Notes SDK keyword: WaitForInputIdle