![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
GeoffG
Groupie
Joined: August 02 2005 Location: Australia Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
Topic: ObjectBridge & Windows 7Posted: 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 '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 |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
mlucas67
Senior Member
Joined: February 12 2007 Location: United States Status: Offline Points: 103 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
GeoffG
Groupie
Joined: August 02 2005 Location: Australia Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
GeoffG
Groupie
Joined: August 02 2005 Location: Australia Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
GeoffG
Groupie
Joined: August 02 2005 Location: Australia Status: Offline Points: 43 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |