BuildFinish Event

Home Page (Objects)OverviewFAQReference

Applies to: Application object

Occurs after a build completes.

Syntax

object_BuildFinish ( NumErrors, NumWarnings )

Parameters

object

An expression that evaluates to an Application object.

NumErrors

A Long that specifies the number of errors found in the build.

NumWarnings

A Long that specifies the number of warnings found in the build.

Remarks

Developer Studio fires this event after the build completes. The BuildFinish event passes the number of build errors and warnings to the event handler.

For an overview about using event code, see the introduction to events.

Example

Following is a sample event handler for the BuildFinish event. Copy this into your macro file, and then insert the appropriate code.

sub Application_BuildFinish(nNumErrors, nNumWarnings)
   ' Insert code to handle event here
end sub