Q
|
Can I use CountryHawk with ASP.NET?
|
A
|
Yes, the ActiveX version of CountryHawk integrates seamlessly with ASP.NET. To use CH with ASP.NET follow these simple steps:
- Load the ASP.NET page you wish to use CountryHawk from into Visual Studio
- From the Visual Studio main menu choose Project->Add Reference, select the COM tab, double click on the CountryHawk 1.0 Type Library entry, and select OK
- Add the following to your @Page directive: ASPCompat="true"
- Add the following import statement to your code:
<%@ Import Namespace="CountryHawkLib" %>
- Lastly, use the DIM statement to create an object of type CountryHawk and create the COM object by calling Server.CreateObject
Click here to download a sample ASP.NET page that uses CountryHawk.
|