Hi, I am trying to program xAPI using VB.NET and is having a hard time to open an xapi session in .NET. I try the following simple codes, it compiled successfully. But I got a run-time error. Any idea? Thanks a lot.
The codes I tried:
Module Module1
Sub Main()
Dim Session As New ACCPACXAPILib.xapiSession
Session.Open("ADMIN", "admin", "HORDAT", Now.Date, 0)
End Sub
End Module
Stack trace:
ConsoleApplication1.exe!ConsoleApplication1.Module1.Main() Line 5 + 0x5e bytes Basic
Module trace:
mscorlib.dll c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll 1 1.1.4322.573 [160] ConsoleApplication1.exe 2/21/2003 7:26 AM No symbols loaded.
ConsoleApplication1.exe C:\vb\ConsoleApplication1\bin\ConsoleApplication1.exe 2 1.0.1501.24208 [160] ConsoleApplication1.exe 2/10/2004 1:31 PM Symbols loaded.
interop.accpacxapilib.dll c:\vb\consoleapplication1\bin\interop.accpacxapilib.dll 3 1.1.0.0 [160] ConsoleApplication1.exe 2/10/2004 1:28 PM No symbols loaded.
microsoft.visualbasic.dll c:\windows\assembly\gac\microsoft.visualbasic\7.0.5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll 4 7.10.3052.4 [160] ConsoleApplication1.exe 2/9/2004 10:23 AM No symbols loaded.
The codes I tried:
Module Module1
Sub Main()
Dim Session As New ACCPACXAPILib.xapiSession
Session.Open("ADMIN", "admin", "HORDAT", Now.Date, 0)
End Sub
End Module
Stack trace:
ConsoleApplication1.exe!ConsoleApplication1.Module1.Main() Line 5 + 0x5e bytes Basic
Module trace:
mscorlib.dll c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll 1 1.1.4322.573 [160] ConsoleApplication1.exe 2/21/2003 7:26 AM No symbols loaded.
ConsoleApplication1.exe C:\vb\ConsoleApplication1\bin\ConsoleApplication1.exe 2 1.0.1501.24208 [160] ConsoleApplication1.exe 2/10/2004 1:31 PM Symbols loaded.
interop.accpacxapilib.dll c:\vb\consoleapplication1\bin\interop.accpacxapilib.dll 3 1.1.0.0 [160] ConsoleApplication1.exe 2/10/2004 1:28 PM No symbols loaded.
microsoft.visualbasic.dll c:\windows\assembly\gac\microsoft.visualbasic\7.0.5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll 4 7.10.3052.4 [160] ConsoleApplication1.exe 2/9/2004 10:23 AM No symbols loaded.