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

ole_1.saveas(olestore,"file_a") error

44 views
Skip to first unread message

michela

unread,
Jul 8, 2003, 12:31:00 PM7/8/03
to
My code is:

OLEStorage olestore
OLEStream olestr

olestore = create olestorage
olestr = create olestream
li_ris = ole_1.SaveAs(olestore,"file_a") //len of ole_1.objectdata = 13424
if li_ris <> 0 then
messagebox("","Error: " + string(li_ris))
return
else
\\.........
end if

In this script li_ris = -9.
How can I know the error value?
must I open one logon between olestorage and olecontrol?

Thanks in advance.


Bill Green[TeamSybase]

unread,
Jul 12, 2003, 2:53:44 PM7/12/03
to
What version of PowerBuilder? If you have PB8 or above, you can get better
exception handling with the OLERuntimeError exception class.

--
Bill Green[TeamSybase]
VP - Power3
http://www.power3.com


"michela" <michela@michela> wrote in message
news:ejTwe$WRDHA.186@forums-2-dub...

0 new messages