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 gkittelson 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: *

  1. ankie320

    How to retrieve sequence numbers

    How do i keep track of the sequence numbers generated from Inventory Control?
  2. ankie320

    Viewfinder error

    DEP - i disabled it and now every code i have works. including printing reports. Thanks for your help, djang. Still great advice youve given me as Im very new on accpac programming.
  3. ankie320

    Viewfinder error

    Probably this code will work if you try and test it, but I think may have the answer. My Sage accpac intelligence analysis 6.0a and connector 6.0a has expired. Im getting a warning saying that whenever i open accpac. This could be the issue, but i maybe wrong again.
  4. ankie320

    Viewfinder error

    The code i translated from vb6 is this one: Dim session2 As AccpacCOMAPI.AccpacSession session2 = CreateObject("ACCPAC.Session") 'tried this too: session2 = New AccpacCOMAPI.AccpacSession session2.Init("", "XY", "XY0001", "60A") session2.Open("ADMIN", "ADMIN", "SAMLTD"...
  5. ankie320

    Viewfinder error

    Yes, as well as the finder's sessions, after being set. I only have one version of accpac installed. (Sage ERP Accpac 500 6.0A)
  6. ankie320

    Viewfinder error

    Im getting this after tweaking code and thoroughly checkin the session and date. Both seemed correct. System.AccessViolationException was unhandled Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source=System.Windows.Forms...
  7. ankie320

    Viewfinder error

    I transferred the same code into VB6 and worked perfectly. now, i wonder what could be causing the problem (in Vb.net), when i'm only calling the finder and not modifying it. it has to be the same AccpacCOMAPI 1.0 and accpac finder 1.0 right? i will take a look along those lines djang.
  8. ankie320

    Viewfinder error

    thanks for that advice about session's config. but unfortunately, i still get the same error. i've included a try/catch to determine if its session error but it isnt. it is a general type of exception ive been getting. what could it be?
  9. ankie320

    Viewfinder error

    ive tried it as an integer array, but didnt work. my session config is pretty basic i think as im only doing a sample code, ive used it in another code and it works but maybe it's the problem: Dim session As AccpacCOMAPI.AccpacSession session = New AccpacCOMAPI.AccpacSession...
  10. ankie320

    Viewfinder error

    i still cant fix this problem. this what im getting whenever i run my code. System.Runtime.InteropServices.COMException was unhandled ErrorCode=-2147467259 Message=Error HRESULT E_FAIL has been returned from a call to a COM component. Source=WindowsApplication2 StackTrace: at...
  11. ankie320

    Viewfinder error

    thanks for the reply. but i have tried error trapping with try-catch and it always causing a problem to a program "vshost32.exe". seems like it would crash it whenever i add try-catch to this code only, the rest of my code doesnt have any problem when i have exception handling. ill try to check...
  12. ankie320

    Viewfinder error

    I used the code that i found here for access to the viewfinder. How can i fix this problem, is it due to my session config? It is in VB.net and im using Accpac 6.0A. And I'm getting this error: Error HRESULT E_FAIL has been returned from a call to a COM component. heres the code...

Part and Inventory Search

Back
Top