|
Matchcode |
|
Example Name: MCDWeb Language: VB API type: .Net API component filename: Capclasm.dll
Environment: Windows 2000, XP, |
|
What does it do? |
|
Demonstrates the use of, communicating with the Capscan Pool
Manager, using Single Search, and a Combined List mode formatted ambiguity
list. This example is designed to work with the
|
|
Could be used as a
starting point for: |
|
Capturing or verifying an address using a web interface or an
application where a simple search and select of returned results is
required. |
|
Where to find the
example code: |
|
After running the setup from the Matchcode CD to install the client
APIs you will find these examples installed (by default) in: C:\Program Files\Capscan\SDK\Matchcode Client API\dotnet\Examples\VB If you have installed to another location you will need to
change the path where necessary.
|
|
What each file does: |
|
File name What does it do? MCDWeb.aspc.VB The
main form for searching and displaying the results. McdWeb.sln Visual
Studio 2008 solutions file. Spider.ini Capscan
Client/Server configuration file.
|
|
Preparing to run the
example: |
|
If you are not using the Capscan OnDemand service, please make sure that you have installed the Capscan Pool Manager and that it is up and running.
|
|
Running the example: |
|
1.
Open the MCDWeb.sln
solution file using Visual Studio 2008. 2.
In the solution Explorer, under References,
make sure that there is a valid entry for the CAPCLASM.DLL. 3.
Make sure that the Solution Configuration is
set to Debug. 4.
In the Solution Explorer under References
check that the solution is pointing to a valid CAPCLASM.DLL. 5.
In the Solution Explorer right click on MCDWeb.aspx and select “Set as Start Page”. 6.
Press F5 to run the example. 7.
At the top of the web form select the connection
type, host server name (and for OnDemand, you account details) and pool. 8.
Once you have set the connection details
enter an address or partial address in the Input field and then click the
search button.
|
|
Trouble-shooting and
hints: |
|
1.
If you are running on a LAN make sure that
the Capscan Pool Manager is running correctly. To do this you can use the PoolMan Admin application that is installed along with
the Capscan Pool Manager. 2.
If you are using the Capscan OnDemand
service make sure that you can see the Internet. 3.
If you are using a firewall make sure that
it is not blocking this example or the Capscan Pool Manager. By default the Capscan Client/Server uses
port 27920 for sending and receiving data. 4.
Try installing and running the Matchcode DC
application to test that the Capscan Pool Manger is working correctly. The installation for Api\mcd_cs\win32\client\dc.
5.
For more hints and tips please see the SDK
bookshelf documentation.
|