Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use the Excel's function without error?

62 views
Skip to first unread message

Andy Turiansky [TeamSybase]

unread,
Jul 10, 2003, 1:33:40 PM7/10/03
to
I could not find anything related to otany.cpp. Are you by chance calling any
external functions (API's)?

On Thu, 10 Jul 2003 01:04:53 -0700,
in powersoft.public.powerbuilder.ole-ocx-activex
Piyarat <piy...@thailand.com> wrote:
>Hi,
>
>I have a problem about OLE object,I 've to use function of excel to find the
row
>number of record that = "aaa".
>My program is...
>
>any row
>row=ole_sheet.object.Application.Match("aaa",ole_sheet.object.application.Range
(
>"C1:C5000"), 0)
>
>if I use feature "run" of powerbuilder , it works.
>But if I make it to EXE file , and then elecute it, it'll be error.
>The error is "Invalid type in ot_duplicate_any, file otany.cpp, line 4207,
>Abort, Debug Break, Ignore?
>Please help me!!!
>
>Thanks in advance
>---== Posted via the PFCGuide Web Newsreader ==---
>http://www.pfcguide.com/_newsgroups/group_list.asp

- - -
Andy [TeamSybase]

Techwave 2003 - http://www.sybase.com/techwave2003
International Sybase User Group (ISUG) - http://www.isug.com
CodeXchange - http://powerbuilder.codeXchange.sybase.com/


Piyarat

unread,
Jul 10, 2003, 4:04:53 AM7/10/03
to

Terry Dykstra

unread,
Jul 10, 2003, 11:08:46 AM7/10/03
to
Are you compiling to dll? Try using p-code instead.

--
Terry Dykstra (TeamSybase)
Please state PB / OS / DB versions in your post.
http://powerbuilder.codeXchange.sybase.com/
http://www.pb9books.com

"Piyarat" <piy...@thailand.com> wrote in message
news:O2CzynrRDHA.346@forums-2-dub...

Piyarat

unread,
Jul 16, 2003, 2:48:05 AM7/16/03
to
On Thu, 10 Jul 2003 09:08:46 -0600,
in powersoft.public.powerbuilder.ole-ocx-activex

Thanks, it works now.

0 new messages