ActiveX Control
This is a demonstration of the functionality of the ActiveX control. This control is unsigned and it may be necessary to change the security settings on your browser to: prompt for unsigned controls, to display it. The control available for download is contained within the control shown below. You may need to download files from Microsoft and restart your computer to run this control. This demonstration is only available to Internet Explorer browsers.The ActiveX project Siteax contains the Theod user control. This control has the following members.
Properties
- deltae: difference in easting { set by Rect method }
- deltan: difference in northing { set by Rect method }
- dist: distance {set by Polar method }
- wcb: whole circle bearing {set by Polar method }
- err: error can have a value of 1 or 2
Methods
- Polar: takes station east, north, target east & north as parameters. Sets the properties dist and wcb if parameters are valid or else sets property err to 1
- Rect: takes station east, north, distance & whole circle bearing as parameters. Sets the properties deltae and deltan if parameters are valid or else sets err to 1 (invalid numeral) or 2 (invalid angle)
In VB in Project Components set a reference to the .ocx file which can be extracted from the siteax.CAB file {Click on link to download}