This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Apr 24, 2013, 4:35 AM
31 Posts

RE: Strange LotusScript Errors

  • Category: Domino Server
  • Platform: IBM i
  • Release: 9.0
  • Role:
  • Tags:
  • Replies: 4

I started to comment out the lines of the agent and removed the 'Use' statement.  It turns out the line that is causing both agents to fail is:

Dim session As New NotesSession

I tried doing the alternative form too:

Set session = New NotesSession

Did the syntax change?  I am unable to find an R9 help document for the NotesSession class.

 

May 24, 2013, 1:57 PM
8 Posts
I also see this on IBM i ... disabling the DDE editor and recompiling apparently fixed the...
I saw both the "Bad API Argument" and the "Error loading USE or USELSX module". My issue was first and foremost related to web agents, and a RESTART TASK HTTP fixed the problem for a short while. The following url had some comments about disabling the LotusScript Editor based on Eclipse (DDE); http://lotusnotus.com/lotusnotus_en.nsf/dx/mystery-solved-error-loading-use-or-uselsx-module.htm

I disabled the editor, and opened up the LotusScript, did a small change, and resaved the code. That seems to work even better. Might be some issues with the compiler in Designer 9/Domino 9.

Sincerely
Bob
Proud Programmer!

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal