Peter,
When you install the api make sure all the files (some 25 or 30 in all)
are
in the same directory (eg. c:\netapi71). Set your reference to
BMC.ARSystem in this directory.
Then try this simple code snippet:
Dim oARServer As New BMC.ARSystem.Server 'requires reference be
set
to BMC.ARSystem assembly (dll in .NET API)
oARServer.Login(ServerName, UserID, UserPassword)
oARServer.SetServerPort(5555, 0) 'if specific port is required
Assuming that works (and it should) you can take it from there. The use
of
the environment variable will potentially come into play when you're
deploying your application (especially if it is server-side in an
ASP.NET
context) but the above is all you need to run simple test code within
Visual Studio.
Cheers,
Jim.
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"