app.Login (1 Viewer)

seen

New member
Local time
Today, 16:38
Joined
Jul 16, 2009
Messages
2
Hi gurus,

I have a question about the following and I can't seem to find any background info at any other sites:

sub main()

dim app
dim mySession
dim myForm

set app = CreateObject("Remedy.User")
mySession = app.Login("user", "pass", false)
myForm = app.OpenForm(mySession, "serverName", "thisForm", 1, True)

end sub



I have two work computers. Both are running XP, both have Microsoft Access 2007 installed, and both have the same version of this Remedy Action Request system program running.

Here is the problem: The above code only works on one PC and not the other. The problem PC spits out the error # -2147467259 "You could not be logged in."

Any thoughts?? I figure there are some environment variable differences between the two, but for the life of me I can't figure out what they are :confused:

Thanks in advance..
 

Users who are viewing this thread

Top Bottom