Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

OLEcontrol functions

2 posts in Objects Last posting was on 2004-07-01 13:23:40.0Z
abby Posted on 2004-07-01 07:53:34.0Z
Sender: 73dd.40e3c102.1804289383@sybase.com
From: abby
Newsgroups: sybase.public.powerbuilder.objects
Subject: OLEcontrol functions
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <40e3c2fe.7497.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 1 Jul 2004 00:53:34 -0700
X-Trace: forums-1-dub 1088668414 10.22.241.41 (1 Jul 2004 00:53:34 -0700)
X-Original-Trace: 1 Jul 2004 00:53:34 -0700, 10.22.241.41
Lines: 10
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7955
Article PK: 735227

Hope you can help me with olecontrol

I want to automate the clicking of print preview under
micorsoft excel in an ole control, is there a function for
this or anything script that can do this.

Can i have a list of olecontrol functions not found in PB
help, especially the one being used under excel

Thank You


Bruce Armstrong [TeamSybase] Posted on 2004-07-01 13:23:40.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: OLEcontrol functions
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <dj38e0ps80jdefj92v8hqe9gcai2ehv2m0@4ax.com>
References: <40e3c2fe.7497.1681692777@sybase.com>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net
X-Original-NNTP-Posting-Host: 66-214-183-11.la-cbi.charterpipeline.net
Date: 1 Jul 2004 06:23:40 -0700
X-Trace: forums-1-dub 1088688220 66.214.183.11 (1 Jul 2004 06:23:40 -0700)
X-Original-Trace: 1 Jul 2004 06:23:40 -0700, 66-214-183-11.la-cbi.charterpipeline.net
Lines: 50
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7956
Article PK: 735224

That's because it's the vender of the application your using through
OLE that determines the functions it accepts, not PowerBuilder.

The easiest way to see what functions you can use is to bring up the
VBA browswer within Excel. (Alt-F11 followed by F2).

If you do that, you'll find there is a PrintPreview method on the
Worksheet ( as well as a number of other objects ).

On 1 Jul 2004 00:53:34 -0700, abby wrote:

>Hope you can help me with olecontrol
>
>I want to automate the clicking of print preview under
>micorsoft excel in an ole control, is there a function for
>this or anything script that can do this.
>
>Can i have a list of olecontrol functions not found in PB
>help, especially the one being used under excel
>
>Thank You

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Two new books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has mutliple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.