1. John Fauss
  2. PowerBuilder
  3. Thursday, 17 May 2018

Since at least PB version 9 (that's as far back as I can check) PB's Application object has six events, but only four (Close, Idle, Open, & SystemError) are listed in Help documentation. I can find no mention of the ConnectionBegin and ConnectionEnd events, nor can I find any description of the ConnectPrivilege enumerated datatype and the three values (ConnectPrivilege!, ConnectWithAdminPrivilege! & NoConnectPrivilege!) it supports. All six events are accessible in the PowerScript editor. The ConnectPrivilege enumerated datatype is listed in the PB Object Browser.

Can anyone provide some context on how the two "undocumented" events of the Application object can or should be used and how the ConnectPrivilege return value from the ConnectionBegin event should be assigned?

Accepted Answer
Roland Smith Accepted Answer Pending Moderation
0
Votes
Undo

I am pretty sure those are remnants of Distributed PowerBuilder (DPB) which was discontinued with the release PB8. Sybase didn't do a very thorough job of removing it. In fact, the dead code continues to exist in PBVM, even in PB 2017.

Comment
There are no comments made yet.
  1. Thursday, 17 May 2018
  2. PowerBuilder
  3. # Permalink
0
Votes
Undo

Absolutely, I remember well using them for distributed PB objects. I was one that was slightly pissed when it was removed.

Well spotted and a great question!

Cheers

David

Comment
There are no comments made yet.
  1. Friday, 18 May 2018
  2. PowerBuilder
  3. # 1
Chris Pollach Accepted Answer Pending Moderation
0
Votes
Undo

Hi John;

  Roland is correct, those events came from DPB! DPB was EOL'ed in PB 8.x to direct PB developers to use EAServer instead. 

They should be removed IMHO (confusing now In PB2017 & higher ).

Regards ... Chris

Comment
There are no comments made yet.
  1. Thursday, 17 May 2018
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.