GetObject and old Scripts in SPSS 16 or 17

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GetObject and old Scripts in SPSS 16 or 17

Wilhelm Svensson | Queue Sweden AB
Hello,



I would need some help. Is there anyone else out there who have problems
using old Scripts in SPSS 16/17? Or, even better, someone who used to use
GetObject(,"SPSS.Application") and noted that this does not work in SPSS
16/17?



I'm currently in a dialog with SPSS Sweden on this and would like to come in
contact with someone who either solved the problem or have the same problem.



All the best



Wilhelm Landerholm | 0735-460000 |  <mailto:[hidden email]> [hidden email]

Queue Sweden AB - A Management Science Company |  <http://www.qsweden.se>
www.qsweden.se



The information in this e-mail, including any files transmitted with it, is
confidential and may also be legally privileged. It is intended for the
addressee only. Access to this e-mail by anyone else is unauthorised.
Unauthorised recipients are required to maintain confidentiality and must
not disclose, copy, distribute, or retain this e-mail or any part of it. If
you have received this e-mail in error please notify us immediately, destroy
any copies and delete it from your computer system.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: GetObject and old Scripts in SPSS 16 or 17

Peck, Jon
As documented, the application name changed in version 16 in order to modernize the COM support.  You need to use "spss.application16" (for both 16 and 17) in place of spss.application.

GetObject is not available for version 16, but it is available for 17.  For 16, you have to use CreateObject.

HTH,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Wilhelm Landerholm (Svensson) | Queue Sweden AB
Sent: Tuesday, November 25, 2008 8:54 AM
To: [hidden email]
Subject: [SPSSX-L] GetObject and old Scripts in SPSS 16 or 17

Hello,



I would need some help. Is there anyone else out there who have problems
using old Scripts in SPSS 16/17? Or, even better, someone who used to use
GetObject(,"SPSS.Application") and noted that this does not work in SPSS
16/17?



I'm currently in a dialog with SPSS Sweden on this and would like to come in
contact with someone who either solved the problem or have the same problem.



All the best



Wilhelm Landerholm | 0735-460000 |  <mailto:[hidden email]> [hidden email]

Queue Sweden AB - A Management Science Company |  <http://www.qsweden.se>
www.qsweden.se



The information in this e-mail, including any files transmitted with it, is
confidential and may also be legally privileged. It is intended for the
addressee only. Access to this e-mail by anyone else is unauthorised.
Unauthorised recipients are required to maintain confidentiality and must
not disclose, copy, distribute, or retain this e-mail or any part of it. If
you have received this e-mail in error please notify us immediately, destroy
any copies and delete it from your computer system.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

SV: GetObject and old Scripts in SPSS 16 or 17

Wilhelm Svensson | Queue Sweden AB
Hi Jon.

I know it is SPSS.Application16 my mistake in my earlier e-mail; but still
GetObject only works if you first add the Reference local (COM), not in
general.

This is the problem.

Do you know any solution for this?

All the best

\Wilhelm Landerholm

-----Ursprungligt meddelande-----
Från: SPSSX(r) Discussion [mailto:[hidden email]] För Peck, Jon
Skickat: den 25 november 2008 16:58
Till: [hidden email]
Ämne: Re: GetObject and old Scripts in SPSS 16 or 17

As documented, the application name changed in version 16 in order to
modernize the COM support.  You need to use "spss.application16" (for both
16 and 17) in place of spss.application.

GetObject is not available for version 16, but it is available for 17.  For
16, you have to use CreateObject.

HTH,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Wilhelm Landerholm (Svensson) | Queue Sweden AB
Sent: Tuesday, November 25, 2008 8:54 AM
To: [hidden email]
Subject: [SPSSX-L] GetObject and old Scripts in SPSS 16 or 17

Hello,



I would need some help. Is there anyone else out there who have problems
using old Scripts in SPSS 16/17? Or, even better, someone who used to use
GetObject(,"SPSS.Application") and noted that this does not work in SPSS
16/17?



I'm currently in a dialog with SPSS Sweden on this and would like to come in
contact with someone who either solved the problem or have the same problem.



All the best



Wilhelm Landerholm | 0735-460000 |  <mailto:[hidden email]> [hidden email]

Queue Sweden AB - A Management Science Company |  <http://www.qsweden.se>
www.qsweden.se



The information in this e-mail, including any files transmitted with it, is
confidential and may also be legally privileged. It is intended for the
addressee only. Access to this e-mail by anyone else is unauthorised.
Unauthorised recipients are required to maintain confidentiality and must
not disclose, copy, distribute, or retain this e-mail or any part of it. If
you have received this e-mail in error please notify us immediately, destroy
any copies and delete it from your computer system.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD