Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Advanced Features
  New Posts New Posts RSS Feed - ObjectBridge & Windows 7
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedObjectBridge & Windows 7

 Post Reply Post Reply
Author
Message
GeoffG View Drop Down
Groupie
Groupie


Joined: August 02 2005
Location: Australia
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote GeoffG Quote  Post ReplyReply Direct Link To This Post Topic: ObjectBridge & Windows 7
    Posted: April 08 2010 at 8:12pm
I have a program which uses the ObjectBridge subroutines to check if Word is running, opens it if not & then opens a specified document and waits until the document is closed.
This has been working fine for a few years with Windows xp. This morning I converted a client from xp to Win 7 and the ObjectBridge program failed - couldn't find the 'Word.Application' Object.

The code being executed is :
WORDOBJECT=0
CALL ATGETOBJECT('', 'Word.Application', WORDOBJECT, ERROR, OPTIONS)
IF WORDOBJECT = 0 THEN
PRINT
PRINT 'Starting WORD - Please wait'
CALL ATCREATEOBJECT('Word.Application', WORDOBJECT, ERROR, OPTIONS)
IF ERROR#'' THEN GOSUB 9000; GOTO 2099
END

The program displays the 'Starting WORD - Please wait' message whether Word is running or not and then displays a message saying 'The requested object could not be created'.

This was happening on the Win 7 machine on which QM was running and also on the Win xp workstations.

Can anyone suggest anything?

Geoff
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: April 14 2010 at 6:01am
Hi Geoff -

I'm not sure why you are getting an error using ObjectBridge. I tested the CREATE.WORD.LETTER sample program on Win 7 and it worked OK on my machine. Maybe there is some kind of permissions problem on the problem machine.

Thanks,

Pete
Back to Top
mlucas67 View Drop Down
Senior Member
Senior Member


Joined: February 12 2007
Location: United States
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlucas67 Quote  Post ReplyReply Direct Link To This Post Posted: April 21 2010 at 2:34am

When you converted the client to Win7 did you upgrade in place or format and reload?  I find that major releases of Windows do best when loaded fresh.  If you upgraded, have you tried to reinstall Office?  It may be that Win7 needs to have it's registry updated to find the objects.

Back to Top
GeoffG View Drop Down
Groupie
Groupie


Joined: August 02 2005
Location: Australia
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote GeoffG Quote  Post ReplyReply Direct Link To This Post Posted: April 21 2010 at 2:39pm
Thanks for the suggestion but this is a new install on a new machine. I've had to leave it for a week or two because of other work - fortunately the software runs on HostAccess as well as Accuterm, so the client can function in the short term.
On thinking about it, because the problem arises on the other Win xp workstations as well, it would seem that the permissions issue must relate to QM, rather than Word or Accuterm. Should be able to look at it next week - will post the results

Geoff
Back to Top
GeoffG View Drop Down
Groupie
Groupie


Joined: August 02 2005
Location: Australia
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote GeoffG Quote  Post ReplyReply Direct Link To This Post Posted: May 07 2010 at 8:12pm
Still not sure what the problem is. In the interim I've loaded the software on another Win 7 Pro machine & it works fine. I've checked all the permissions and security that I could find & still no joy. The only difference I can find between the 2 machines is that the one that doesn't work runs AVG. I've tried it with AVG disabled & with Windows firewall disabled - made no difference. I should be getting a Win 7 machine this week so that I can run some tests here & hopefully get to the bottom of it.
Back to Top
GeoffG View Drop Down
Groupie
Groupie


Joined: August 02 2005
Location: Australia
Status: Offline
Points: 43
Post Options Post Options   Thanks (0) Thanks(0)   Quote GeoffG Quote  Post ReplyReply Direct Link To This Post Posted: May 12 2010 at 8:12pm
It turned out to be nothing to do with Windows 7. The problem was caused because the OBJBP programs weren't cataloged in the account that was running ObjectBridge. I must have changed from Global to local catalog at some stage.

In the meantime I wrote a script to replace the ObjectBridge programs for what I'm doing - what with the issues with Word 2007 and ObjectBridge returning if the document is closed before it's saved, I think I'm going to use the script in future.

Geoff
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.