Click or drag to resize

IErrorFile Property

Gets the filepath of the macro/module which caused a syntax or execution error.

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
string File { get; }

Property Value

String
The filepath of the macro/module which caused a syntax or execution error.
Remarks

This property works in conjunction with the other error properties to allow your application access to the exact source of a WinWrap Basic syntax or execution error.

Example
Display the error file during the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
    MessageBox.Show("Error.File = " + basicIdeCtl1.Error.File);
}
See Also