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.

something wrong with powerbuilder plugs_in window

6 posts in Internet Developers Toolkit Last posting was on 2001-07-10 16:49:51.0Z
jack_only Posted on 2001-07-02 10:35:42.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: "jack_only" <jack_only@sina.com>
Subject: something wrong with powerbuilder plugs_in window
Date: Mon, 2 Jul 2001 18:35:42 +0800
Lines: 82
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 210.14.234.9
Message-ID: <388_HUFONXuABHA.229@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:285
Article PK: 691633

hi,
everyone,i have met some problem with powerbuilder plugs in window,can you
help me?

1)My appication have three pbd.
In a child window,i put three botton,it open a kind of response window.

The html script is :
<HTML>
<HEAD>
<TITLE> This is a test window </TITLE>
<meta name="Microsoft Theme" content="indust 011">
</HEAD>

<BODY>

<p> <EMBED SRC = test1.pbd WIDTH=760 HEIGHT=400 WINDOW=w_plugin

library=http://168.160.167.199:82/test2.pbd
library=http://168.160.167.199:82/test3.pbd

border="0" align="middle">
</p>
</BODY>
</HTML>


w_plugin is in the test1.pbd
w_1 is in the test1.pbd
w_2 is in the test2.pbd
w_3 is in the test3.pbd

button1 clicked event script is : open(w_1)
button2 clicked event script is : open(w_2)
button3 clicked event script is : open(w_3)
When i run the application,clicked the button1 and button2,it is ok. but
when i clicked button3,
It is error,the error message is:
"
Powerbuilder Aplication Execution error(R0007)
Application terminated
Error: Unresolvable external w_3 when linking reference at line 2 in
clicked event of object button3 of w_plugin.
".
Is it a window plugs_in appliction only can link two librarys or something
wrong with the HTML script?

2)in the w_plugin open event,i write the script to connect to the database
and retrieve data,
but it is something wrong.

The script like that:
my_tra = create transaction

my_tra.DBMS = "MSS Microsoft SQL Server 6.x"
my_tra.Database = "epmis"
my_tra.ServerName = "nongly"
my_tra.LogId = "sa"
my_tra.AutoCommit = False
my_tra.DBParm = ""

connect using my_tra;

tab_1.tabpage_1.dw_grid.settransobject(my_tra)
tab_1.tabpage_1.dw_grid.retrieve()
tab_1.tabpage_2.dw_form.settransobject(my_tra)
tab_1.tabpage_1.dw_grid.sharedata(tab_1.tabpage_2.dw_form)

When i run application,it has something wrong. The error message is:
"
Powerbuilder Aplication Execution error(R0069)
Application terminated
Error: Funtion Settransobject can not be call from a secured runtime
session at line 10 at open event of w_plugin.
"

I have register the plugsin dll in normal model. Why did it still happen
that?


Bruce Armstrong [TeamSybase] Posted on 2001-07-02 16:25:57.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Organization: TeamSybase [12.13.238.137]
X-Newsreader: AspNNTP 1.50 (Advent 2000, Inc.)
Subject: Re: something wrong with powerbuilder plugs_in window
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Mon, 02 Jul 2001 12:25:57 -0400
Lines: 70
NNTP-Posting-Host: 207.156.232.111
Message-ID: <388_4WERsOxABHA.228@forums.sybase.com>
References: <388_HUFONXuABHA.229@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:284
Article PK: 691623

I responded to this in another section. Please don't cross-post.

On Mon, 2 Jul 2001 18:35:42 +0800,
in powersoft.public.powerbuilder.inet-dev-toolkit

jack_only <jack_only@sina.com> wrote:
>hi,
>everyone,i have met some problem with powerbuilder plugs in window,can you
>help me?
>
>1)My appication have three pbd.
> In a child window,i put three botton,it open a kind of response window.
>
> The html script is :
> <HTML>
> <HEAD>
> <TITLE> This is a test window </TITLE>
> <meta name="Microsoft Theme" content="indust 011">
> </HEAD>
>
> <BODY>
>
> <p> <EMBED SRC = test1.pbd WIDTH=760 HEIGHT=400 WINDOW=w_plugin
>
> library=http://168.160.167.199:82/test2.pbd
> library=http://168.160.167.199:82/test3.pbd
>
> border="0" align="middle">
> </p>
> </BODY>
> </HTML>
>
>
> w_plugin is in the test1.pbd
> w_1 is in the test1.pbd
> w_2 is in the test2.pbd
> w_3 is in the test3.pbd
>
> button1 clicked event script is : open(w_1)
> button2 clicked event script is : open(w_2)
> button3 clicked event script is : open(w_3)
> When i run the application,clicked the button1 and button2,it is ok. but
>when i clicked button3,
>It is error,the error message is:
>"
> Powerbuilder Aplication Execution error(R0007)
> Application terminated
> Error: Unresolvable external w_3 when linking reference at line 2 in
>clicked event of object button3 of w_plugin.
>".
> Is it a window plugs_in appliction only can link two librarys or something
>wrong with the HTML script?
>
>2)in the w_plugin open event,i write the script to connect to the database
>and retrieve data,
> but it is something wrong.
>
> The script like that:
> my_tra = create transaction
>
> my_tra.DBMS = "MSS Microsoft SQL Server 6.x"
> my_tra.Database = "epmis"
> my_tra.ServerName = "nongly"
> my_tra.LogId = "sa"
> my_tra.AutoCommit = False
> my_tra.DBParm = ""
>
> connect using my_tra;
>
> tab_1.tabpage_1.dw_grid.settransobject(my_tra)
> tab_1.tabpage_1.dw_grid.retrieve()
> tab_1.tabpage_2.dw_form.settransobject(my_tra)
> tab_1.tabpage_1.dw_grid.sharedata(tab_1.tabpage_2.dw_form)
>
> When i run application,it has something wrong. The error message is:
> "
> Powerbuilder Aplication Execution error(R0069)
> Application terminated
> Error: Funtion Settransobject can not be call from a secured runtime
>session at line 10 at open event of w_plugin.
> "
>
> I have register the plugsin dll in normal model. Why did it still happen
>that?
>
>
>
>

Bruce Armstrong [TeamSybase]
http://cgi.exp.com/noauth/advisor_profile.cgi?adv_id=510977
http://www.needhim.org

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Han Posted on 2001-07-09 20:38:51.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: Han
Date: Mon, 9 Jul 2001 16:38:51 -0400
Subject: Where can I find the answer ?
Lines: 7
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <388_0F6BEF8271B870B400716B7D85256A84.005B2CB485256A7D@webforums>
References: <388_HUFONXuABHA.229@forums.sybase.com> <388_4WERsOxABHA.228@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:271
Article PK: 691597

Hi..
Could you tell me where you posted it ?
I searched the whole news group to get it.
But I couldn't.

Thanks in advance.
HAn.


Bruce Armstrong [TeamSybase] Posted on 2001-07-10 16:49:51.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Organization: TeamSybase [12.13.238.140]
X-Newsreader: AspNNTP 1.50 (Advent 2000, Inc.)
Subject: Re: Where can I find the answer ?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 10 Jul 2001 12:49:51 -0400
Lines: 15
NNTP-Posting-Host: 207.156.232.111
Message-ID: <388_aQ#KWBWCBHA.250@forums.sybase.com>
References: <388_HUFONXuABHA.229@forums.sybase.com> <388_4WERsOxABHA.228@forums.sybase.com> <388_0F6BEF8271B870B400716B7D85256A84.005B2CB485256A7D@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:266
Article PK: 691586

http://www.pfcguide.com/_newsgroups/msgbody.asp?id=%3Cw8CcnzwABHA%2E229%40forums
%2Esybase%2Ecom%3E&no=4109&group=powersoft%2Epublic%2Epowerbuilder%2Eweb%2Dpb

On Mon, 9 Jul 2001 16:38:51 -0400,
in powersoft.public.powerbuilder.inet-dev-toolkit

<Han> wrote:
>Hi..
>Could you tell me where you posted it ?
>I searched the whole news group to get it.
>But I couldn't.
>
>Thanks in advance.
>HAn.

Bruce Armstrong [TeamSybase]
http://www.needhim.org

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Roy Kiesler [TeamSybase] Posted on 2001-07-09 21:15:45.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: Where can I find the answer ?
Date: Mon, 9 Jul 2001 17:15:45 -0400
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2479.0006
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006
NNTP-Posting-Host: dhcp64-134-43-106.wgv.atl.wayport.net 64.134.43.106
Message-ID: <388_2sKVfBMCBHA.269@forums.sybase.com>
References: <388_HUFONXuABHA.229@forums.sybase.com> <388_4WERsOxABHA.228@forums.sybase.com> <388_0F6BEF8271B870B400716B7D85256A84.005B2CB485256A7D@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:270
Article PK: 691596

What was the question?

--
<hopethishelps />
Roy Kiesler [TeamSybase]
mySybase -- http://my.sybase.com
http://cgi.exp.com/noauth/advisor_profile.cgi?adv_id=512231

<Han> wrote in message
news:0F6BEF8271B870B400716B7D85256A84.005B2CB485256A7D@webforums...
> Hi..
> Could you tell me where you posted it ?
> I searched the whole news group to get it.
> But I couldn't.
>
> Thanks in advance.
> HAn.


Han Posted on 2001-07-09 15:34:07.0Z
Newsgroups: sybase.public.powerbuilder.inet-dev-toolkit
From: Han
Date: Mon, 9 Jul 2001 11:34:07 -0400
Subject: Re: something wrong with powerbuilder plugs_in window
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <388_FF932C3E132C993B0055856885256A84.005B2CB485256A7D@webforums>
References: <388_HUFONXuABHA.229@forums.sybase.com> <388_4WERsOxABHA.228@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.inet-dev-toolkit:272
Article PK: 691598

Hi..
Could you tell me where you posted it ?
If you tell me something like the date you posted it,
it will be greatly appreciable.

Thanks.

Han.