Application terminated when using PB 9 Windows Standard ActiveX pbrs90.ocx

The following page generates the error when using Windows Standard ActiveX
pbrx90.ocx (not Secured ActiveX pbrxs90.ocx).

PowerBuilder Application Execution Error (R0069)
Application terminated
Error: Function SetTransObject cannot be called from a secured runtime
session

If I remove the <PARAM NAME="PBApplication" VALUE=""></PARAM> or include any
value in this PARAM such as  <PARAM NAME="PBApplication"
VALUE="pb9"></PARAM>, the following errors occur:

Start of PowerBuilder VM failed. Return code = -2


PowerBuilder 9.0.1 Build 7204
Microsoft IIS, Windows 2000 Server
IE 6.0.2800
Workstations: XP Pro


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
    <META HTTP-EQUIV="PowerSiteData" NAME="SERVERLANGUAGE"
CONTENT="JavaScript">
    <META http-equiv="Content-Type" content="text/html;
charset=windows-1252">
    <META content="PB9.0.1.7204" name="GENERATOR">
</HEAD>
<BODY PSPARAMS="">
<OBJECT id="OBJECT1" style="WIDTH: 600px; HEIGHT: 400px"
classid="CLSID:99991304-9999-1000-8000-080009AC61A9">
    <PARAM NAME="_Version" VALUE="65536"></PARAM>
    <PARAM NAME="_ExtentX" VALUE="17939"></PARAM>
    <PARAM NAME="_ExtentY" VALUE="8070"></PARAM>
    <PARAM NAME="_StockProps" VALUE="0"></PARAM>
    <PARAM NAME="MachineCode" VALUE="0"></PARAM>
    <PARAM NAME="DisplayRuntimeMessages" VALUE="0"></PARAM>
    <PARAM NAME="PBWindow" VALUE="w_aco_rpt"></PARAM>
    <PARAM NAME="LibList" VALUE="http://test/pb9/acorpt.pbd;"></PARAM>
    <PARAM NAME="CommandParm" VALUE=""></PARAM>
    <PARAM NAME="PBApplication" VALUE=""></PARAM>
    <PARAM NAME="PBVersion" VALUE="90"></PARAM>
</OBJECT>
</BODY>
</HTML>


Please help. Thank you.






0
QT
7/29/2004 5:06:17 PM
sybase.ole-ocx-activex 6324 articles. 0 followers. Follow

2 Replies
755 Views

Similar Articles

[PageSpeed] 40

Certain events of the standard (non-secure) ActiveX run in secured
mode, the open event of a window being among them.  Post a different
event from the open event, and do your SetTransObject there.

On 29 Jul 2004 10:06:17 -0700, "QT" <qt@ladwp.com> wrote:

>The following page generates the error when using Windows Standard ActiveX
>pbrx90.ocx (not Secured ActiveX pbrxs90.ocx).
>
>PowerBuilder Application Execution Error (R0069)
>Application terminated
>Error: Function SetTransObject cannot be called from a secured runtime
>session
>
>If I remove the <PARAM NAME="PBApplication" VALUE=""></PARAM> or include any
>value in this PARAM such as  <PARAM NAME="PBApplication"
>VALUE="pb9"></PARAM>, the following errors occur:
>
>Start of PowerBuilder VM failed. Return code = -2
>
>
>PowerBuilder 9.0.1 Build 7204
>Microsoft IIS, Windows 2000 Server
>IE 6.0.2800
>Workstations: XP Pro
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML>
><HEAD>
>    <META HTTP-EQUIV="PowerSiteData" NAME="SERVERLANGUAGE"
>CONTENT="JavaScript">
>    <META http-equiv="Content-Type" content="text/html;
>charset=windows-1252">
>    <META content="PB9.0.1.7204" name="GENERATOR">
></HEAD>
><BODY PSPARAMS="">
><OBJECT id="OBJECT1" style="WIDTH: 600px; HEIGHT: 400px"
>classid="CLSID:99991304-9999-1000-8000-080009AC61A9">
>    <PARAM NAME="_Version" VALUE="65536"></PARAM>
>    <PARAM NAME="_ExtentX" VALUE="17939"></PARAM>
>    <PARAM NAME="_ExtentY" VALUE="8070"></PARAM>
>    <PARAM NAME="_StockProps" VALUE="0"></PARAM>
>    <PARAM NAME="MachineCode" VALUE="0"></PARAM>
>    <PARAM NAME="DisplayRuntimeMessages" VALUE="0"></PARAM>
>    <PARAM NAME="PBWindow" VALUE="w_aco_rpt"></PARAM>
>    <PARAM NAME="LibList" VALUE="http://test/pb9/acorpt.pbd;"></PARAM>
>    <PARAM NAME="CommandParm" VALUE=""></PARAM>
>    <PARAM NAME="PBApplication" VALUE=""></PARAM>
>    <PARAM NAME="PBVersion" VALUE="90"></PARAM>
></OBJECT>
></BODY>
></HTML>
>
>
>Please help. Thank you.
>
>
>
>
>

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

Vote for PocketBuilder in the Mobile Village awards
http://www.mobilevillage.com/awards.htm

Two 3rd party 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.
0
Bruce
7/30/2004 1:58:17 AM
It works.

Thanks.

"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
wrote in message news:daajg051rrb2jo0ih3r29ioe2brnru8150@4ax.com...
> Certain events of the standard (non-secure) ActiveX run in secured
> mode, the open event of a window being among them.  Post a different
> event from the open event, and do your SetTransObject there.
>
> On 29 Jul 2004 10:06:17 -0700, "QT" <qt@ladwp.com> wrote:
>
> >The following page generates the error when using Windows Standard
ActiveX
> >pbrx90.ocx (not Secured ActiveX pbrxs90.ocx).
> >
> >PowerBuilder Application Execution Error (R0069)
> >Application terminated
> >Error: Function SetTransObject cannot be called from a secured runtime
> >session
> >
> >If I remove the <PARAM NAME="PBApplication" VALUE=""></PARAM> or include
any
> >value in this PARAM such as  <PARAM NAME="PBApplication"
> >VALUE="pb9"></PARAM>, the following errors occur:
> >
> >Start of PowerBuilder VM failed. Return code = -2
> >
> >
> >PowerBuilder 9.0.1 Build 7204
> >Microsoft IIS, Windows 2000 Server
> >IE 6.0.2800
> >Workstations: XP Pro
> >
> >
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> ><HTML>
> ><HEAD>
> >    <META HTTP-EQUIV="PowerSiteData" NAME="SERVERLANGUAGE"
> >CONTENT="JavaScript">
> >    <META http-equiv="Content-Type" content="text/html;
> >charset=windows-1252">
> >    <META content="PB9.0.1.7204" name="GENERATOR">
> ></HEAD>
> ><BODY PSPARAMS="">
> ><OBJECT id="OBJECT1" style="WIDTH: 600px; HEIGHT: 400px"
> >classid="CLSID:99991304-9999-1000-8000-080009AC61A9">
> >    <PARAM NAME="_Version" VALUE="65536"></PARAM>
> >    <PARAM NAME="_ExtentX" VALUE="17939"></PARAM>
> >    <PARAM NAME="_ExtentY" VALUE="8070"></PARAM>
> >    <PARAM NAME="_StockProps" VALUE="0"></PARAM>
> >    <PARAM NAME="MachineCode" VALUE="0"></PARAM>
> >    <PARAM NAME="DisplayRuntimeMessages" VALUE="0"></PARAM>
> >    <PARAM NAME="PBWindow" VALUE="w_aco_rpt"></PARAM>
> >    <PARAM NAME="LibList" VALUE="http://test/pb9/acorpt.pbd;"></PARAM>
> >    <PARAM NAME="CommandParm" VALUE=""></PARAM>
> >    <PARAM NAME="PBApplication" VALUE=""></PARAM>
> >    <PARAM NAME="PBVersion" VALUE="90"></PARAM>
> ></OBJECT>
> ></BODY>
> ></HTML>
> >
> >
> >Please help. Thank you.
> >
> >
> >
> >
> >
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Vote for PocketBuilder in the Mobile Village awards
> http://www.mobilevillage.com/awards.htm
>
> Two 3rd party 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.


0
QT
8/16/2004 3:27:56 PM
Reply:

Similar Artilces:

can i use pb's automation server to create an activex/ole/ocx? help me!
Please do not cross-post. -- <hopethishelps/> Roy Kiesler [TeamSybase] MySybase -- http://www.sybase.com/mysybase "tadsun" <tadsun@163.com> wrote in message news:UXo0Ru7BCHA.201@forums.sybase.com... > > > ...

How to use method activeX control in PB (Newbie using ActiveX)
Hi all, This is the first time I'm using activeX in my application, does anyone can helpme with these problem. How to use method in activeX because I've got example that come with the ocx file only with VB6 and I don't know how to used it with PB7. ------------ Call ActiveX_name.CopyTable(filename As String,Creator As String,SDDI_plugin_name As String, CreateFlag As Integer, VersionMajor As Integer, VersionMinor As Integer) ------------ THX -- ebr ...

Window ActiveX OCX
Hi I need PBRX70.OCX and PBRXS70.OCX. I will appretiate if anyone can tell where I can download it from. Many thanks Obed ...

how can i use powerbuilder to develop an activex/ole/ocx? help me please!!!
Please do not cross-post. -- <hopethishelps/> Roy Kiesler [TeamSybase] MySybase -- http://www.sybase.com/mysybase "tadsun" <tadsun@163.com> wrote in message news:jIQ8Mt7BCHA.200@forums.sybase.com... > > > ...

pb 9.0 crashes wehen using Windows Media Player as ocx
Windows 2000 PB 9.0 #5507 Code: Window, ole control (Windows Media Player) open event: ole_1.object.Open("d:\demo1.avi") Run the application! The AVI is being played ... close the Window: PB CRASHES !!! WHY? What version of Media Player? My version (7) doens't have an open method. It looks like you might be using 6.4 or ealier? On Thu, 8 May 2003 15:25:32 +0200, "Herwig Weidle" <Herwig.Weidle@dmtmsoftware.com> wrote: >Windows 2000 >PB 9.0 #5507 > >Code: >Window, ole control (Windows Media Player) >open event...

pb 9.0 crashes wehen using Windows Media Player as ocx #2
"Herwig Weidle" <Herwig.Weidle@dmtmsoftware.com> schrieb im Newsbeitrag news:... > Windows 2000 > PB 9.0 #5507 > > Code: > Window, ole control (Windows Media Player) > open event: > > ole_1.object.Open("d:\demo1.avi") > > > Run the application! > The AVI is being played ... close the Window: PB CRASHES !!! > > WHY? > > Herwig; I had this problem in PB 8. What I did was add this code to the "Close" Event of the OLE window .... OLECustomControl.object.Stop() OLECustomControl.o...

OCX/ActiveX
Can I use OCX/ActiveX with WebForms ? No, that is not a supported feature. They do work with Windows Forms however. Regards, Dave Fish Sybase On 10 Jul 2007 08:43:19 -0700, "Mohammad Alhabibi" <malhabibi@yalla.com> wrote: >Can I use OCX/ActiveX with WebForms ? > But Browser activex in Winform don't works. "Dave Fish [TeamSybase]" <dfish@[N0Spam]sybase.com> wrote in message news:40k7939bkbj0652duqhk48bo9trevvngsc@4ax.com... > No, that is not a supported feature. They do work with Windows Forms > however. > >...

Welcome to the OLE-OCX-ACTIVEX newsgroup
Welcome to the OLE-OCX-ACTIVEX newsgroup. This is a forum for discussion on topics related to the usage of OLE, OCX and ACTIVEX with PowerBuilder. Feel free to post questions about the product, concerns about your development needs for enhancements and any other feedback. All posted messages will be in the public domain and may be republished on Powersoft's InfoBase CD ROM as well as on our WebSite in order to provide information that is extremely valuable to other developers. This is NOT Powersoft Technical Support and it is not the purpose of this newsgroup service to allo...

ActiveX, OCX
I have ActiveX and OCX resources built for Win32 that I need to incorporate to WinCE in PocketBuilder. I tried trough an external visual object but it asks for DLL as the library name. How can I use ActiveX and OCX objects for WinCE in PocketBuilder? rgds, SS ActiveX and OCX are not supported in PocketBuilder. <SS> wrote in message news:42eb46e3.449a.1681692777@sybase.com... >I have ActiveX and OCX resources built for Win32 that I need > to incorporate to WinCE in PocketBuilder. > I tried trough an external visual object but it asks for DLL > as the librar...

OCX, ActiveX
Hi there. I�m looking for a component in which I can create a graph with two Y axes (2 different scales). The idea is to achieve something like excel does with one of its graph types (the "lines in two axes" one) but I don�t want to use excel like an ole object because its menu appears and this is an effect unwished for the application I�m working in. I hope to be clear regarding this issue and if somebody could help me I�d really appreciate it !!! Thanks in advance. C�sar Bernal Mapas y Datos S.A. These guys probably have something that will work for you:...

I have developed activex control, using it in PB application.. it is giving GPF.. which is working fine in VB.. When i made enabled property = false for that control.. it works fine in PB too!!!
Hello, I have this problem.. can any one help me. What may be the causing error.. Any tips will be helpful. Regards, Samir Please refrain from using the subject line to describe the problem in detail. Subject Line: ---------------- I have developed activex control, using it in PB application.. it is giving GPF.. which is working fine in VB.. When i made enabled property = false for that control.. it works fine in PB too!!! <SamirKhatri> wrote in message news:2EAE243802D2BE050024C40485256CA0.0024C41B85256CA0@webforums... > Hello, > > I have this problem....

EAServer using ActiveX via OCX file???
I have an ActiveX object I need to use from an EAServer application. The ActiveX is in the form of an OCX file, there is no DLL or TLB files to import. Is there a way to bring an ActiveX/OCX into EAServer? The application I am deploying is written in PowerBuilder, I can add the ActiveX control to a PB window. I am not sure how or if this will work with EAServer. Any advice would be greatly appreciated! -Marc. can you wrap with a pb nvo? -- Dean Jones [TeamSybase] CEO Certified PowerBuilder Developer www.powerobjects.com (612) 339-3355 ext 112 <Marc Zwillinge...

How to register an ocx used in RUNTIME PB application
I am using microsoft progress bar (OCX)in my application,however after installing the runtime application ,the window using the progress bar has the problem.Can anybody tell me how to crosscheck whether the particular OCX is registered or not on the machine.If not registered then how to register the OCX on the Window'95 platform during running of the application. Thanks in Advance Arvind Singh mapindia@hotmail.com Hi, You should be able to see in the object browser/OCX of Powerbuilder if the object has been registered. You can register an OCX using regsvr.exe "...

Has anyone successfully used PB Window ActiveX?
Hi guys, I've built a very basic Window ActiveX control as per http://techinfo.sybase.com/css/techinfo.nsf/DocID/ID=47765 "How to display a Window ActiveX Control in a Browser" by way of prototyping a more complex requirement. Ultimately I want to be able to supply it to a 3rd party to embed into they're windows based software so I've been testing it as an OLE custom control on another PowerBuilder application. The ActiveX functions fine until the window that contains the control is closed and I get a Dr.Watson: PB60.exe Access Violation (0xc000005) Addre...

Web resources about - Application terminated when using PB 9 Windows Standard ActiveX pbrs90.ocx - sybase.ole-ocx-activex

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Pre-Christmas job application rush hits Australian public service
Speed required for pre-Christmas job window opening for public servants. Check out who is hiring.

Cloud application adoption increases 71 percent in 2015
The adoption of cloud applications is soaring, up by 71 percent in the last year according to the results of a new survey. The latest Cloud ...

NASA is accepting astronaut applications, and this quiz will tell you if you qualify
... gone before, then you might want to sign up to be a NASA astronaut. On Dec. 14, for the first time in four years, NASA began accepting applications. ...

MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey, Purchase Applications up 34% YoY
From the MBA: Mortgage Applications Decrease in Latest MBA Weekly Survey Mortgage applications decreased 1.1 percent from one week earlier, ...

German-Based Spirea Promotes Decentralized PV Applications In Uruguay
... Its technical operations specialist, Laurie Lawrence, pointed out that Uruguay [&hellip German-Based Spirea Promotes Decentralized PV Applications ...

ZTE to develop smartphone application processors in house
ZTE has stepped up its efforts to internally develop smartphone chipset solutions, aiming to re-capture the title as one of the top-three smartphone ...

Pre-K Applications Begin Jan 25, a Month Earlier Than Last Year, City Says
The DOE has moved the process up to Jan. 25 on the heels of a similar schedule shift for kindergarten. MANHATTAN — The application period for ...

NASA accepting applications for the position of 'astronaut'
Wanted ads aren't usually newsworthy, unless the company is NASA and the job is "going to space." The US space agency has started recruiting ...

IBM Takes on AT&T Managed Application, Hosting Services
AT&T’s networking, security and mobility solutions coupled with IBM Cloud offers companies a fully managed IT environment.

Resources last updated: 12/21/2015 5:43:25 PM