| Date: | Mon, 6 Jul 1998 13:03:18 -0500 |
| Reply-To: | "Bauer, John" <bauer@SPSS.COM> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU> |
| From: | "Bauer, John" <bauer@SPSS.COM> |
| Subject: | Re: Output to VB. HOW? |
|---|
SPSS PivotTables, SPSSRTFText controls, etc. cannot be directly
instantiated in a VB program. Instead, you will have to paste them into
a suitable container.
By default SPSS will not place PivotTables (or other controls) on the
clipboard as ActiveX controls. To allow ActiveX controls to be pasted,
run the batch file OBJS-ON.BAT which may be found in the SPSS directory
(you can just double-click it in the Explorer). To restore the default
behavior, run OBJS-OFF.BAT instead. Or, you can check the .BAT file to
see what Registry setting is being altered, and make sure that the value
is correct with an API call from your VB app.
The reason for this choice of default behavior is that Word 6 and many
other popular applications cannot distinguish older OCX controls from
ActiveX controls, and such programs will crash immediately if the wrong
format is chosen when pasting objects. See the README file for further
details.
John BauerSPSS Developer's Kit Support
>-----Original Message-----
>From: Marso, David
>Sent: Tuesday, June 30, 1998 8:55 PM
>To: SPSSX-L@UGA.CC.UGA.EDU
>Subject: Re: Output to VB. HOW?
>
>See the SPSS DevKit VB examples at
>http://www.spss.com/software/spss/webdev1.htm
>Regards,
>David Marso
>
>kuoching <kuoching@TM.NET.MY> wrote in article
><19980701000602.AAA17546@default>...
>> How to send SPSS's object(result) to VB rather than convert the output to
>> picture as in 1 of the samples which is downloadable from SPSS site.
>>
>> Thanks
>>
|