Before using .NET with QAnywhere, you must make the following changes to your Visual Studio project:
Add references to the QAnywhere .NET DLL and the mobile web services .NET DLL. This tells Visual Studio which DLL to include to find the code for the QAnywhere .NET API and the mobile web services .NET API.
Add lines to your source code to reference the QAnywhere .NET API classes and the mobile web services .NET API classes. To use the QAnywhere .NET API, you must add a line to your source code to reference the data provider. You must add a different line for C# than for Visual Basic.
Complete instructions follow.
Start Visual Studio and open your project.
In the Solution Explorer window, right-click the References folder and choose Add Reference.
On the Browse tab, locate iAnywhere.QAnywhere.Client.dll and iAnywhere.QAnywhere.WS.dll in the following directories:
From the appropriate directory for your environment, select each DLL and click Open.
To verify that the DLLs are added to your project, expand the References tree in the Solution Explorer. iAnywhere.QAnywhere.Client.dll and iAnywhere.QAnywhere.WS.dll should appear in the list.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |