Topic Options
Rate This Topic
#105786 - 02/22/05 03:34 PM Why do certain GetField requests fail?
Anonymous
Unregistered


I am trying to get access to a specific form, but it fails. I can get to other fields, but the one I titled "Phone+" returns: Automation Error: 80004005 Method '~'of object '~' failed.

Why would that be the case when the exact same code sequence works for other fields?

Thanks
Paul

Top
#105787 - 02/24/05 08:38 AM Re: Why do certain GetField requests fail? [Re: Anonymous]
Quick Offline
Stealth Member
*****

Registered: 12/14/03
Posts: 111
Loc: Oslo/Norway
Q1: Are you trying to access a form?
Q2: Are you trying to access a field?
Q3: From where are you trying to access whatever you are trying to access?
Q4: What kind of versions are you having in your environment?
Q5: What software component is reporting the error you got?

I've got more questions than you...
_________________________
------
Quick

Top
#105788 - 02/24/05 10:57 AM Re: Why do certain GetField requests fail? [Re: Sharon]
Anonymous
Unregistered


good... I have come to the right forum.

The form we are trying to access is entitled: "HPD:HelpDesk" and there are numerous fields within the page that I would like to access. Namely...called "Phone+". I used this field in searches before without any problems, so I know the field name is valid.

1) I create a new form with ID: "HPD:HelpDesk"
2) I am trying to access a field
3) I am trying to access the field from a VB6 application
using the Remedy ARUser.tlb API. I would like to
simulate a user typing in the extension in the field and
pressing enter. This manual process loads up the user
details for a specific user in the Remedy database.
4) I am using Remedy Client Version 4.05.01 (Patch 956)
on Windows XP SP2 environment.
5) The VB6 application that I wrote returns an error from
the API call to GetField...

Another question if I may, my company uses Remedy Desktop shortcuts to their Helpdesk application. They create the shortcut by opening the Remedy Application, setting up their username access for transparent login, and when the load the application, they right click to create a Desktop shortcut..

When remedy is lauched with this shortcut, it doesn't appear to be accessible via the GetObject method. It is not visible under the Remedy.User classname?

Any suggestions. If you want more information, please let me know.

Thanks
Paul

Top
#105789 - 02/24/05 12:28 PM Re: Why do certain GetField requests fail? [Re: Anonymous]
Anonymous
Unregistered


Once piece of the puzzle solved. After consulting with my IT department who uses Remedy, the labels do not necessarily match the database entries. After using the database entry, I am able to get access to the field and place a value into it.

So, one of three problems are solved, my remaining problem:

1) How do I programmatically load up details for a database entry (i.e., agent now inserts number into field and presses enter). How do I do that programmatically?

2) When Remedy application is launched as a shortcut into a specific Remedy Application, why does GetObject not give me access to it?

Paul

Top