Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: ygl
  • Order by date
  1. ygl

    How can I close Accpac xapiSession?

    The problem was that we had existing MS ACCESS VBA code developed way prior to Accpac 5.0. Some basic code was generated at that time by using macro generated code which was xAPI syntax. Now that I'm trying to convert this logic into VB .NET and our version of Accpac is higher it is possible...
  2. ygl

    How can I close Accpac xapiSession?

    I run 5.0 version
  3. ygl

    How can I close Accpac xapiSession?

    I though the recording macro gives you xAPI code, which I already have. By browsing comMapi object through my VB .NET program I see that it has different methods than xAPI. FGor example, I use "OpenView" method for a view in xAPI, but there is nothing like this in comAPI.
  4. ygl

    How can I close Accpac xapiSession?

    Does any body know how to deal with views in Accpac comAPI? I need to create batch, header and detail views in order to insert information in Accpac GL databases. I did this in xAPi but based on intellesense of VB .NET the properties and methods of comAPI differ from xAPI. I don't have any...
  5. ygl

    How can I close Accpac xapiSession?

    Does anybody know where I can found documentaion on Accpac COMAPI?
  6. ygl

    How can I close Accpac xapiSession?

    Do you know how to close a view? There is no "Close" method for this object.
  7. ygl

    How can I close Accpac xapiSession?

    I am opening Accpac views. Let me try to implicitly close them. Thanks.
  8. ygl

    How can I close Accpac xapiSession?

    I am already doing it. I may have confused you since I wanted to include a simple code snipplet by not showing that I have an array of sessions and apparently I missed one. I also have error handling set-up and have captured "Unspecified error" message, which doesn't tell me much. Below is my...
  9. ygl

    How can I close Accpac xapiSession?

    Assigning a variable to nothing to close it works in VBA, but in .NET it only clears the association of the varible with the object. The object(Accpac session) still exists. By hte way in my code I process an arrray of sessions, i.e. handle multiple companies in a loop.
  10. ygl

    How can I close Accpac xapiSession?

    In my VB .NET code I use the following code: Dim glSession As ACCPACXAPILib.IxapiSession ... glSession = New ACCPACXAPILib.xapiSession ... glSession(i).Open("ADMIN", "ADMIN", accpacDbName, Now, 0) I tried to do the following to close the above session: glSession.Close() I get...

Part and Inventory Search

Back
Top