Powerbuilder's incompetence

(I hate resorting to insults, but I really need some resolution, or enough
evidence to compel my superiors that I must abandon PowerBuilder.  My
previous two posts on this went unanswered.)

I've always believed that PowerBuilder was not an adequate environment for
doing anything but simplistic data windows.  Now this opinion is supported
by the fact that PowerBuilder doesn't provide the correct environment to run
ActiveX controls.  I suppose all those stories from co-workers about bad
experiences with anything resembling *real* *programming* should have warned
me.  My *first* *try* at embedding an OCX/ActiveX control is failing because
of the PowerBuilder environment.

See, I need to provide a text editing interface to the user, where some
portions of the text are underlined and protected against direct user
modification.  No problem, I have the Win32 RichEdit control at my disposal,
right?  Not so fast, bud.  This is merely PowerBuilder, after all.  Besides
forcing me to author the RTF myself, PowerBuilder's own Richtext control
does not support the protected text attribute.

Okay, next I spy "Microsoft Richtext control Version 5.0" in my repertoire
of ActiveX controls, and it *does* support the protected text attribute.
Perhaps I can compensate for Powerbuilder's incompetence after all.  But
nooooo...

It works right in VB.  It works right in the MS ActiveX test container.
Under Powerbuilder, the protected attribute simply doesn't work.  You can
enable the protected attribute, but when the user tries to change the
protected region, there's a beep and the change *happens*.  That's not
"protected".  It's likely that the Powerbuilder default message handler is
not responding correctly to the EN_PROTECTED message that the Win32 RichEdit
control generates.

If there's a technically savvy person in the lot of you (big IF here) please
clue me in here.  Give me some (more) good fuel for a compelling "abandon PB
entirely" argument, else please my boss and piss me off by telling me how to
get this control (or one like it) working right, thus forcing me to continue
to work with this piece of sh*t PowerBuilder.



0
Richard
4/14/1998 4:28:46 PM
sybase.ole-ocx-activex 6324 articles. 0 followers. Follow

15 Replies
438 Views

Similar Articles

[PageSpeed] 35

An intriguing post: first you insult PowerSoft, then you insult the
newsgroup's members; finally you ask for assistance. How charming!-))



I'm not surprised that Microsoft products work together while Microsoft
products don't always work well with non-Microsoft products. Why are you
surprised? 



BTW, by your own admission, this is your *first* *try*, so maybe you
don't really know quite who or what is to blame. Of course you could
solve this particular problem if you were writing in Visual Basic. But
could you then handle your data access so easily then? Life and
programming are mixed bags. 



Maybe you can write PB code to handle the message yourself? Here's a
clue: "user-defined events".

An alternative method:
a) Open a new VB form,
b) Place the RichEdit Control on the form,
c) run the form and 
d) using the RichEdit Control, rewrite your resume,
e) Do until you have a new job:
	mail the resume to VB shops.

Good Luck,
Michael D. Kersey



Richard Krehbiel wrote:

> (I hate resorting to insults, but I really need some resolution, or enough

> evidence to compel my superiors that I must abandon PowerBuilder.  My

> previous two posts on this went unanswered.)

> I've always believed that PowerBuilder was not an adequate environment for

> doing anything but simplistic data windows.  Now this opinion is supported

> by the fact that PowerBuilder doesn't provide the correct environment to run

> ActiveX controls.  I suppose all those stories from co-workers about bad

> experiences with anything resembling *real* *programming* should have warned

> me.  My *first* *try* at embedding an OCX/ActiveX control is failing because

> of the PowerBuilder environment.

> See, I need to provide a text editing interface to the user, where some

> portions of the text are underlined and protected against direct user

> modification.  No problem, I have the Win32 RichEdit control at my disposal,

> right?  Not so fast, bud.  This is merely PowerBuilder, after all.  Besides

> forcing me to author the RTF myself, PowerBuilder's own Richtext control

> does not support the protected text attribute.

> Okay, next I spy "Microsoft Richtext control Version 5.0" in my repertoire

> of ActiveX controls, and it *does* support the protected text attribute.

> Perhaps I can compensate for Powerbuilder's incompetence after all.  But

> nooooo...

> It works right in VB.  It works right in the MS ActiveX test container.

> Under Powerbuilder, the protected attribute simply doesn't work.  You can

> enable the protected attribute, but when the user tries to change the

> protected region, there's a beep and the change *happens*.  That's not

> "protected".  It's likely that the Powerbuilder default message handler is

> not responding correctly to the EN_PROTECTED message that the Win32 RichEdit

> control generates.

> If there's a technically savvy person in the lot of you (big IF here) please

> clue me in here.  Give me some (more) good fuel for a compelling "abandon PB

> entirely" argument, else please my boss and piss me off by telling me how to

> get this control (or one like it) working right, thus forcing me to continue

> to work with this piece of sh*t PowerBuilder.
0
Michael
4/14/1998 5:01:39 PM
Amen!!

Ron Gallagher, CPDP
Atlanta, GA, USA
rongallagher@mindspring.com

Michael D. Kersey wrote:
> 
> An intriguing post: first you insult PowerSoft, then you insult the
> newsgroup's members; finally you ask for assistance. How charming!-))
> 
> I'm not surprised that Microsoft products work together while Microsoft
> products don't always work well with non-Microsoft products. Why are you
> surprised?
> 
> BTW, by your own admission, this is your *first* *try*, so maybe you
> don't really know quite who or what is to blame. Of course you could
> solve this particular problem if you were writing in Visual Basic. But
> could you then handle your data access so easily then? Life and
> programming are mixed bags.
> 
> Maybe you can write PB code to handle the message yourself? Here's a
> clue: "user-defined events".
> 
> An alternative method:
> a) Open a new VB form,
> b) Place the RichEdit Control on the form,
> c) run the form and
> d) using the RichEdit Control, rewrite your resume,
> e) Do until you have a new job:
>         mail the resume to VB shops.
> 
> Good Luck,
> Michael D. Kersey
> 
> Richard Krehbiel wrote:
> 
> > (I hate resorting to insults, but I really need some resolution, or enough
> 
> > evidence to compel my superiors that I must abandon PowerBuilder.  My
> 
> > previous two posts on this went unanswered.)
> 
> > I've always believed that PowerBuilder was not an adequate environment for
> 
> > doing anything but simplistic data windows.  Now this opinion is supported
> 
> > by the fact that PowerBuilder doesn't provide the correct environment to run
> 
> > ActiveX controls.  I suppose all those stories from co-workers about bad
> 
> > experiences with anything resembling *real* *programming* should have warned
> 
> > me.  My *first* *try* at embedding an OCX/ActiveX control is failing because
> 
> > of the PowerBuilder environment.
> 
> > See, I need to provide a text editing interface to the user, where some
> 
> > portions of the text are underlined and protected against direct user
> 
> > modification.  No problem, I have the Win32 RichEdit control at my disposal,
> 
> > right?  Not so fast, bud.  This is merely PowerBuilder, after all.  Besides
> 
> > forcing me to author the RTF myself, PowerBuilder's own Richtext control
> 
> > does not support the protected text attribute.
> 
> > Okay, next I spy "Microsoft Richtext control Version 5.0" in my repertoire
> 
> > of ActiveX controls, and it *does* support the protected text attribute.
> 
> > Perhaps I can compensate for Powerbuilder's incompetence after all.  But
> 
> > nooooo...
> 
> > It works right in VB.  It works right in the MS ActiveX test container.
> 
> > Under Powerbuilder, the protected attribute simply doesn't work.  You can
> 
> > enable the protected attribute, but when the user tries to change the
> 
> > protected region, there's a beep and the change *happens*.  That's not
> 
> > "protected".  It's likely that the Powerbuilder default message handler is
> 
> > not responding correctly to the EN_PROTECTED message that the Win32 RichEdit
> 
> > control generates.
> 
> > If there's a technically savvy person in the lot of you (big IF here) please
> 
> > clue me in here.  Give me some (more) good fuel for a compelling "abandon PB
> 
> > entirely" argument, else please my boss and piss me off by telling me how to
> 
> > get this control (or one like it) working right, thus forcing me to continue
> 
> > to work with this piece of sh*t PowerBuilder.
0
Ron
4/14/1998 5:48:03 PM
f) Call VB a piece of crap when you can't figure out how to mail enable VB
to mail the resume out.
-- 
|
John De Lello
DelWare Consulting Group
DelWare@ct2.nai.net

Michael D. Kersey <mdkersey@hal-pc.org> wrote in article
<35339673.65D1@hal-pc.org>...
> An intriguing post: first you insult PowerSoft, then you insult the
> newsgroup's members; finally you ask for assistance. How charming!-))
> 
> 
> 
> I'm not surprised that Microsoft products work together while Microsoft
> products don't always work well with non-Microsoft products. Why are you
> surprised? 
> 
> 
> 
> BTW, by your own admission, this is your *first* *try*, so maybe you
> don't really know quite who or what is to blame. Of course you could
> solve this particular problem if you were writing in Visual Basic. But
> could you then handle your data access so easily then? Life and
> programming are mixed bags. 
> 
> 
> 
> Maybe you can write PB code to handle the message yourself? Here's a
> clue: "user-defined events".
> 
> An alternative method:
> a) Open a new VB form,
> b) Place the RichEdit Control on the form,
> c) run the form and 
> d) using the RichEdit Control, rewrite your resume,
> e) Do until you have a new job:
> 	mail the resume to VB shops.
> 
> Good Luck,
> Michael D. Kersey
> 
> 
> 
> Richard Krehbiel wrote:
> 
> > (I hate resorting to insults, but I really need some resolution, or
enough
> 
> > evidence to compel my superiors that I must abandon PowerBuilder.  My
> 
> > previous two posts on this went unanswered.)
> 
> > I've always believed that PowerBuilder was not an adequate environment
for
> 
> > doing anything but simplistic data windows.  Now this opinion is
supported
> 
> > by the fact that PowerBuilder doesn't provide the correct environment
to run
> 
> > ActiveX controls.  I suppose all those stories from co-workers about
bad
> 
> > experiences with anything resembling *real* *programming* should have
warned
> 
> > me.  My *first* *try* at embedding an OCX/ActiveX control is failing
because
> 
> > of the PowerBuilder environment.
> 
> > See, I need to provide a text editing interface to the user, where some
> 
> > portions of the text are underlined and protected against direct user
> 
> > modification.  No problem, I have the Win32 RichEdit control at my
disposal,
> 
> > right?  Not so fast, bud.  This is merely PowerBuilder, after all. 
Besides
> 
> > forcing me to author the RTF myself, PowerBuilder's own Richtext
control
> 
> > does not support the protected text attribute.
> 
> > Okay, next I spy "Microsoft Richtext control Version 5.0" in my
repertoire
> 
> > of ActiveX controls, and it *does* support the protected text
attribute.
> 
> > Perhaps I can compensate for Powerbuilder's incompetence after all. 
But
> 
> > nooooo...
> 
> > It works right in VB.  It works right in the MS ActiveX test container.
> 
> > Under Powerbuilder, the protected attribute simply doesn't work.  You
can
> 
> > enable the protected attribute, but when the user tries to change the
> 
> > protected region, there's a beep and the change *happens*.  That's not
> 
> > "protected".  It's likely that the Powerbuilder default message handler
is
> 
> > not responding correctly to the EN_PROTECTED message that the Win32
RichEdit
> 
> > control generates.
> 
> > If there's a technically savvy person in the lot of you (big IF here)
please
> 
> > clue me in here.  Give me some (more) good fuel for a compelling
"abandon PB
> 
> > entirely" argument, else please my boss and piss me off by telling me
how to
> 
> > get this control (or one like it) working right, thus forcing me to
continue
> 
> > to work with this piece of sh*t PowerBuilder.
> 
0
John
4/14/1998 6:34:57 PM
Richard:

You must not forget that this is a user supported newsgroup.  Nobody
guarantees to you that you will get answers to your questions since all the
users that participate in the discussions are doing so in their spare time.
If you have problems with Powerbuilder I would suggest to bring them to the
attention of Sybase (if they are bugs) or hire a consultant that has
experience with what you are trying to do.  Powerbuilder is a complex
environment and definitely needs people with experience to make it work
properly.

Regards,

Costas Tsaklas[TeamPS]
Elevated Technologies, Inc.
www.elevatedtech.com
Moderator - powersoft.public.powerbuilder.ole-ocx-activex


Richard Krehbiel wrote in message <9jkg4i7Z9GA.698@forums.powersoft.com>...
>(I hate resorting to insults, but I really need some resolution, or enough
>evidence to compel my superiors that I must abandon PowerBuilder.  My
>previous two posts on this went unanswered.)
>
>I've always believed that PowerBuilder was not an adequate environment for
>doing anything but simplistic data windows.  Now this opinion is supported
>by the fact that PowerBuilder doesn't provide the correct environment to
run
>ActiveX controls.  I suppose all those stories from co-workers about bad
>experiences with anything resembling *real* *programming* should have
warned
>me.  My *first* *try* at embedding an OCX/ActiveX control is failing
because
>of the PowerBuilder environment.
>
>See, I need to provide a text editing interface to the user, where some
>portions of the text are underlined and protected against direct user
>modification.  No problem, I have the Win32 RichEdit control at my
disposal,
>right?  Not so fast, bud.  This is merely PowerBuilder, after all.  Besides
>forcing me to author the RTF myself, PowerBuilder's own Richtext control
>does not support the protected text attribute.
>
>Okay, next I spy "Microsoft Richtext control Version 5.0" in my repertoire
>of ActiveX controls, and it *does* support the protected text attribute.
>Perhaps I can compensate for Powerbuilder's incompetence after all.  But
>nooooo...
>
>It works right in VB.  It works right in the MS ActiveX test container.
>Under Powerbuilder, the protected attribute simply doesn't work.  You can
>enable the protected attribute, but when the user tries to change the
>protected region, there's a beep and the change *happens*.  That's not
>"protected".  It's likely that the Powerbuilder default message handler is
>not responding correctly to the EN_PROTECTED message that the Win32
RichEdit
>control generates.
>
>If there's a technically savvy person in the lot of you (big IF here)
please
>clue me in here.  Give me some (more) good fuel for a compelling "abandon
PB
>entirely" argument, else please my boss and piss me off by telling me how
to
>get this control (or one like it) working right, thus forcing me to
continue
>to work with this piece of sh*t PowerBuilder.
>
>
>


0
Costas
4/15/1998 12:21:58 PM
Costas Tsaklas[TeamPS] wrote in message ...
>Richard:
>
>You must not forget that this is a user supported newsgroup.  Nobody
>guarantees to you that you will get answers to your questions since all the
>users that participate in the discussions are doing so in their spare time.
>If you have problems with Powerbuilder I would suggest to bring them to the
>attention of Sybase (if they are bugs) or hire a consultant that has
>experience with what you are trying to do.  Powerbuilder is a complex
>environment and definitely needs people with experience to make it work
>properly.
>
>Regards,
>
>Costas Tsaklas[TeamPS]
>Elevated Technologies, Inc.
>www.elevatedtech.com
>Moderator - powersoft.public.powerbuilder.ole-ocx-activex


Well, I didn't realize this was a moderated newsgroup, but I did realize
that it's a newsgroup - meaning that the most informed and active members
wouldn't be Powersoft representatives.

I guess I shouldn't expect the kind of help that that you can get in (say)
the linux newsgroups.  Those guys know their stuff, and they got it from
other users in the same boat. The membership here has to pay dearly for
their knowledge (classes, books, hard knocks), and the're not about to let
the tough answers go for free.  Not that I'm singling out the PB folk; I've
made the same observation regarding Windows programming questions in the
comp.os.ms-windows.programmer[.whatever] newsgroups.

Oh, BTW: I just spoke with an associate who's been doing Powerbuilder since
2.0.  First of all he didn't know how to solve my problem.  His advice was
to "dumb down" my solution and try not to exceed the PB environment's
limitations, and he reccommended *against* spending any time or money on
Powersoft "Technical Support", because in his experience, typically they
don't have any help to offer.  Second of all, I told him of my postings
here, and the current replies, and he claims I've set a new company record
for the greatest number and most informative followups to a technical
Powerbuilder question.  :-/



0
Richard
4/15/1998 1:54:44 PM
Richard Krehbiel wrote:
> Well, I didn't realize this was a moderated newsgroup, but I did realize
> that it's a newsgroup - meaning that the most informed and active members
> wouldn't be Powersoft representatives.
Actually, the [TeamPS] members _are_ Powersoft representatives, and they
are the moderators on the Powersoft forums. They _are_ often the best
informed (because of their special relationship with Powersoft).
> 
> I guess I shouldn't expect the kind of help that that you can get in (say)
> the linux newsgroups.  Those guys know their stuff, and they got it from
> other users in the same boat.
Yes, but they _wrote_ Linux; we did not write PowerBuilder!
> The membership here has to pay dearly for
> their knowledge (classes, books, hard knocks), and the're not about to let
> the tough answers go for free.  Not that I'm singling out the PB folk; I've
> made the same observation regarding Windows programming questions in the
> comp.os.ms-windows.programmer[.whatever] newsgroups.
I have often noticed the same behavior among PowerBuilder programmers:
secretiveness, as if PB knowledge was directly convertible to gold or
currency and was to be hoarded as such. This is somewhat disturbing to
me, since it ultimately limits the ability of _all_ PB programmers
productivity: the less our scarce knowledge is shared, the less use of
PB will occur. And since PB programming is an uncommon skill, there is a
danger that it could cease to be a marketable product due to complexity
and scarcity. OTOH, if we freely share our ideas and code fragments then
we can build up incredible archives of usable code and achieve an
enormous jump in productivity. This would actually _increase_ demand for
PB and for our skills. 

> Oh, BTW: I just spoke with an associate who's been doing Powerbuilder since
> 2.0.  First of all he didn't know how to solve my problem.  His advice was
> to "dumb down" my solution and try not to exceed the PB environment's
> limitations, and he reccommended *against* spending any time or money on
> Powersoft "Technical Support", because in his experience, typically they
> don't have any help to offer.  Second of all, I told him of my postings
> here, and the current replies, and he claims I've set a new company record
> for the greatest number and most informative followups to a technical
> Powerbuilder question.  :-/

BTW, about this particular problem: if you can't see the message in the
'other' event, then AFAIK it won't be possible to intercept it. From
your description you may have to rely on the OCX settings themselves to
enforce text protection(and this may not be possible). Take a quick look
at other available settings on the OCX and see if it doesn't have
another option to enforce protection.
Good Luck,
Michael D. Kersey
0
Michael
4/15/1998 4:02:07 PM
Following the general air of rudeness created by this posting I shall give a
rude reply.
As a programmer you are either not very experienced or not very good (or
just very rude and unpleasent). You rubbish something you seem to know
little about, dont read documentation and look for solutions in the wrong
place. You should master your environment (at least a bit) before slagging
it off (sorry English slang word). However I will give an answer. This took
about about five minutes to work out, by the way.
EN_PROTECT is handled internally by the MS RichText Control. This control is
designed for idiots to use (you dont make the grade). Try putting the
control on a window with a button, and in the clicked event of the bitton,
put the code:
ole_1.object.SelProtected = true
Now select some text and press the button.
Thats enough advice.

Please Post all Replies to the Newsgroup




0
Clive
4/15/1998 5:06:01 PM
I will have to agree with Michael.  I have only been programming in PB for
about a year, and I have already notice a lot of strength on it, BUT I will
have to agree that the secretiveness (sorry for using your word) that PB
programmers have about there code, sometimes gets ridiculous.  It will be
bad of me to say all PB programmers are this way, but one surely can't get
the same amount of help as in other newsgroups.

PB is a very good platform to develop (although sometimes needs some major
work) but if we keep our knowledge a secret, people are just going to try
other products were they can get help from people that are working with it
on the trenches.  New programmers don't care about how your code looks, they
only want to learn, and the best way to do this is to look at actual working
code, but if we keep it a secret they are just going to try inferior
competitors.  Always remember that the more PB programmers there are out
there, the more places using PB and the more places you can go to work for.


Michael D. Kersey wrote in message <3534D9FF.2D4C@hal-pc.org>...
>Richard Krehbiel wrote:
>> Well, I didn't realize this was a moderated newsgroup, but I did realize
>> that it's a newsgroup - meaning that the most informed and active members
>> wouldn't be Powersoft representatives.
>Actually, the [TeamPS] members _are_ Powersoft representatives, and they
>are the moderators on the Powersoft forums. They _are_ often the best
>informed (because of their special relationship with Powersoft).
>>
>> I guess I shouldn't expect the kind of help that that you can get in
(say)
>> the linux newsgroups.  Those guys know their stuff, and they got it from
>> other users in the same boat.
>Yes, but they _wrote_ Linux; we did not write PowerBuilder!
>> The membership here has to pay dearly for
>> their knowledge (classes, books, hard knocks), and the're not about to
let
>> the tough answers go for free.  Not that I'm singling out the PB folk;
I've
>> made the same observation regarding Windows programming questions in the
>> comp.os.ms-windows.programmer[.whatever] newsgroups.
>I have often noticed the same behavior among PowerBuilder programmers:
>secretiveness, as if PB knowledge was directly convertible to gold or
>currency and was to be hoarded as such. This is somewhat disturbing to
>me, since it ultimately limits the ability of _all_ PB programmers
>productivity: the less our scarce knowledge is shared, the less use of
>PB will occur. And since PB programming is an uncommon skill, there is a
>danger that it could cease to be a marketable product due to complexity
>and scarcity. OTOH, if we freely share our ideas and code fragments then
>we can build up incredible archives of usable code and achieve an
>enormous jump in productivity. This would actually _increase_ demand for
>PB and for our skills.
>
>> Oh, BTW: I just spoke with an associate who's been doing Powerbuilder
since
>> 2.0.  First of all he didn't know how to solve my problem.  His advice
was
>> to "dumb down" my solution and try not to exceed the PB environment's
>> limitations, and he reccommended *against* spending any time or money on
>> Powersoft "Technical Support", because in his experience, typically they
>> don't have any help to offer.  Second of all, I told him of my postings
>> here, and the current replies, and he claims I've set a new company
record
>> for the greatest number and most informative followups to a technical
>> Powerbuilder question.  :-/
>
>BTW, about this particular problem: if you can't see the message in the
>'other' event, then AFAIK it won't be possible to intercept it. From
>your description you may have to rely on the OCX settings themselves to
>enforce text protection(and this may not be possible). Take a quick look
>at other available settings on the OCX and see if it doesn't have
>another option to enforce protection.
>Good Luck,
>Michael D. Kersey


0
Bismarck
4/15/1998 8:34:57 PM
Clive Collie wrote in message ...
>Following the general air of rudeness created by this posting I shall give
a
>rude reply.
>As a programmer you are either not very experienced or not very good (or
>just very rude and unpleasent). You rubbish something you seem to know
>little about, dont read documentation and look for solutions in the wrong
>place. You should master your environment (at least a bit) before slagging
>it off (sorry English slang word). However I will give an answer. This took
>about about five minutes to work out, by the way.
>EN_PROTECT is handled internally by the MS RichText Control. This control
is
>designed for idiots to use (you dont make the grade). Try putting the
>control on a window with a button, and in the clicked event of the bitton,
>put the code:
>ole_1.object.SelProtected = true
>Now select some text and press the button.
>Thats enough advice.


BTW I renounce my original (intentionally) rude behavior; I just wanted to
was to get someone, anyone, to reply, and I did.  I posted twice before on
this subject, both of which recieved *no* followups and *no* email.

But as it happens, I did just what you said, and it doesn't work.  The OCX
reports the selection as "protected" and when I type it rings the bell as if
it's protected.  But the text *changes* as if it weren't protected.  It just
doesn't work.

Are you using PB5?  I'm using PB6.  Maybe the new version broke it.




0
Richard
4/15/1998 8:38:33 PM
Well my one does work. Im using PB 5.0.3 and richtx32.ocx (ver 5.00.3714) as
supplied with VB 5.0.
I will point out again the all the processing is done within the control. PB
has no part in the protection of the text.




0
Clive
4/16/1998 8:28:44 AM
I have been doing some checks with PB 6.0 and the MS RichEdit control does
NOT work correctly. It does with 5.0.3. So what is the difference? I checked
the messages received by the ole control container using the 'other' event.
In 5.0.3 there is no WM_NOTFY messages (decimal 78) being processed, hence
my assertion that all the tricky messages are being handled by the control
to make the control easy to use. Howvere on PB 6.0 the WM_NOTIFY messages
are getting to the 'other' event. Here they dont seem to be handled
correctly. I have played with various retrn values etc but I'm rather
working in the dark. It would be possible in a c program to crack open the
structs passed in this message and react accordingly, but I dont know how to
do this in PB, and I should not have to if this message was just ignored. I
would guess from the fact that the control does react correctly at first (ie
it Beeps when a protected piece of text is changed) that is half working.
Perhaps another message is then recieved by the control that should have
been 'eaten', and this inserts the text.

In the Whats New section of the PB 6.0 help file it says the following:

PowerBuilder OLE control containers perform their own message reflection
for a specific set of messages.

This feature eliminates the execution-time overhead that would be required
if the OLE control had to create a reflector window to handle these
messages.

Well it may do but it seems to stop them working as well. This is a serious
issue since I will have to port to 6.0 at some time and dont want all my
OCXs to stop working. Is this by any chance another thing fixed in 6.01. Or
is there a work around?
Clive Collie wrote in message ...
>Well my one does work. Im using PB 5.0.3 and richtx32.ocx (ver 5.00.3714)
as
>supplied with VB 5.0.
>I will point out again the all the processing is done within the control.
PB
>has no part in the protection of the text.
>
>
>
>


0
Clive
4/16/1998 11:34:41 AM
Richard:

The Linux newsgroup users made a decision to give their knowledge for free.
Others don't.  I don't say that the users of this newsgroup do not do that... If
they didn't we wouldn't have newsgroups.  The tough questions  and problems need
apropriate handling and level of expertise.   I'm not going to try to persuade
you that Powerbuilder is the best tool on earch. For some people it is, for
others it isn't.  I'm just try to explain to you where your expectations should
end.

I believe that for every business problem you try to solve using technology
there is an answer.  And you can always implement this answer using any tool you
want (most of the times).

Regards,

Costas Tsaklas[TeamPS]
Elevated Technologies, Inc.
www.elevatedtech.com
Moderator

Richard Krehbiel wrote:

> Costas Tsaklas[TeamPS] wrote in message ...
> >Richard:
> >
> >You must not forget that this is a user supported newsgroup.  Nobody
> >guarantees to you that you will get answers to your questions since all the
> >users that participate in the discussions are doing so in their spare time.
> >If you have problems with Powerbuilder I would suggest to bring them to the
> >attention of Sybase (if they are bugs) or hire a consultant that has
> >experience with what you are trying to do.  Powerbuilder is a complex
> >environment and definitely needs people with experience to make it work
> >properly.
> >
> >Regards,
> >
> >Costas Tsaklas[TeamPS]
> >Elevated Technologies, Inc.
> >www.elevatedtech.com
> >Moderator - powersoft.public.powerbuilder.ole-ocx-activex
>
> Well, I didn't realize this was a moderated newsgroup, but I did realize
> that it's a newsgroup - meaning that the most informed and active members
> wouldn't be Powersoft representatives.
>
> I guess I shouldn't expect the kind of help that that you can get in (say)
> the linux newsgroups.  Those guys know their stuff, and they got it from
> other users in the same boat. The membership here has to pay dearly for
> their knowledge (classes, books, hard knocks), and the're not about to let
> the tough answers go for free.  Not that I'm singling out the PB folk; I've
> made the same observation regarding Windows programming questions in the
> comp.os.ms-windows.programmer[.whatever] newsgroups.
>
> Oh, BTW: I just spoke with an associate who's been doing Powerbuilder since
> 2.0.  First of all he didn't know how to solve my problem.  His advice was
> to "dumb down" my solution and try not to exceed the PB environment's
> limitations, and he reccommended *against* spending any time or money on
> Powersoft "Technical Support", because in his experience, typically they
> don't have any help to offer.  Second of all, I told him of my postings
> here, and the current replies, and he claims I've set a new company record
> for the greatest number and most informative followups to a technical
> Powerbuilder question.  :-/



0
Costas
4/16/1998 3:07:53 PM
This forum is supposed to be for PowerBuilder problems, not Personality
problems.  And why should I waste my valuable time trying to help you?

Richard Krehbiel wrote in message <9jkg4i7Z9GA.698@forums.powersoft.com>...
>(I hate resorting to insults, ... etc etc blah blah blah ad nauseam)


0
Simon
4/27/1998 9:35:22 AM
Simon wrote in message ...
>This forum is supposed to be for PowerBuilder problems, not Personality
>problems.  And why should I waste my valuable time trying to help you?


I posted twice before about a problem and there were no followups.  My
flaming strategy was to try to ferret answers from people who know something
but are not interested in talking.  It didn't work because in actual fact,
no one can help me but PowerSoft - it's their bug and they need to fix it.

I have a different strategy in mind (one that does not involve flaming) for
the next time I really need an answer.



0
Richard
4/27/1998 2:01:21 PM
Wow, I've never seen this many posts to a single message!

First of all, Rich, this newsgroup is just a secondary source of
information.  If I have problems, I use many different sources to solve my
problems...  You seem to think that if you post something here, you're
guaranteed of finding your answer...  WRONG.  You should hope to find your
answer here, but if not, you should have other means of solving problems.
Check your online help, download samples from the web, talk with other PB
developers in your area, try different work-arounds...  You're not going to
get anywhere posting insulting messages like you've done.

Second, if you don't like PB, don't use it.  I'm sure there are things that
PB may not be able to handle (with perfect precision), but, for many of us,
they definitely don't outweigh the benefits that you get when using PB.

Regards.
Tom


Richard Krehbiel wrote in message <9jkg4i7Z9GA.698@forums.powersoft.com>...
>(I hate resorting to insults, but I really need some resolution, or enough
>evidence to compel my superiors that I must abandon PowerBuilder.  My
>previous two posts on this went unanswered.)
>
>I've always believed that PowerBuilder was not an adequate environment for
>doing anything but simplistic data windows.  Now this opinion is supported
>by the fact that PowerBuilder doesn't provide the correct environment to
run
>ActiveX controls.  I suppose all those stories from co-workers about bad
>experiences with anything resembling *real* *programming* should have
warned
>me.  My *first* *try* at embedding an OCX/ActiveX control is failing
because
>of the PowerBuilder environment.
>
>See, I need to provide a text editing interface to the user, where some
>portions of the text are underlined and protected against direct user
>modification.  No problem, I have the Win32 RichEdit control at my
disposal,
>right?  Not so fast, bud.  This is merely PowerBuilder, after all.  Besides
>forcing me to author the RTF myself, PowerBuilder's own Richtext control
>does not support the protected text attribute.
>
>Okay, next I spy "Microsoft Richtext control Version 5.0" in my repertoire
>of ActiveX controls, and it *does* support the protected text attribute.
>Perhaps I can compensate for Powerbuilder's incompetence after all.  But
>nooooo...
>
>It works right in VB.  It works right in the MS ActiveX test container.
>Under Powerbuilder, the protected attribute simply doesn't work.  You can
>enable the protected attribute, but when the user tries to change the
>protected region, there's a beep and the change *happens*.  That's not
>"protected".  It's likely that the Powerbuilder default message handler is
>not responding correctly to the EN_PROTECTED message that the Win32
RichEdit
>control generates.
>
>If there's a technically savvy person in the lot of you (big IF here)
please
>clue me in here.  Give me some (more) good fuel for a compelling "abandon
PB
>entirely" argument, else please my boss and piss me off by telling me how
to
>get this control (or one like it) working right, thus forcing me to
continue
>to work with this piece of sh*t PowerBuilder.
>
>
>


0
Tom
5/5/1998 3:40:31 PM
Reply:

Similar Artilces:

PB 5, OLE's, and OCX's
Anyone have an idea that may solve this one: I create an OLE object, connect to a COM object, then use the COM object via OLE accordingly. However, when I build the application, the OLE object isn't being created. I created an ActiveX control (OCX) however PB 5 will no longer recognize, a.k.a. "see", the OCX control. Any ideas? Unfortunately, not by my choice, I don't have the option to migrate to a better version of Power Builder. Have you tried registering the ocx file... System32\regsvr32.exe directory\name.ocx HTH <Superman> wrote in me...

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... > > > ...

HELP NEEDED: OCX's created from JavaBeans (using ActiveX bridge) hang PowerBuilder 6.0
I recently downloaded PowerBuilder 6.0 Desktop for evaluation purposes. I am trying to add an OCX created from a java bean using Sun's ActiveX bridge. I can add the OCX ok... but when I attempt to save my application afterwards PowerBuilder hangs. CPU goes full throttle. I have tried all of the sample OCX's from the JAVA BDK. They all hang PowerBuilder. The OCX's work fine in other containers, i.e. Word, Excel, PowerPoint.... Has anyone else tried this ? Any help would be greatly appreciated. Danny danm@telexiscorp.com ...

Opera's widgets vs IE's ActiveX vs FF's extentions.
I've asked the difference on Opera's forum http://my.opera.com/community/forums/topic.dml?id=3D152376 The widgets designer answers some my paranoid quiestions. Tony. In grc.security Anthony OZ wrote: > I've asked the difference on Opera's forum > http://my.opera.com/community/forums/topic.dml?id=152376 > > The widgets designer answers some my paranoid quiestions. Ahh... Thanks for posting. While it all sounds reassuring, I am not yet "supremely confident" here. I knew OS would follow it's security minded approach, but as with ...

How to detect if the 'cancel' button on Acrobat Reader's PDF print dialog window has been clicked when using Acrobat Reader ActiveX control in Powerbuilder 9
Product name: Acrobat Reader V5.0, Powerbuilder V9 Operating System: Windows XP I have an Acrobat Reader's ActiveX control on my window application to present and print PDF files. The application was developed using Powerbuilder V9. I need to know if a user has just printed a file then save the printed date into a database. The user can click the 'Cancel' button on the print dialog window from Acrobat Reader to cancel the printing. In this case I won't update the printed date. How can I know if the user has clicked the 'Cancel' button to cancel the printing? ...

OLE Control
I'm attempting to load a .bmp image into an OLE object using PowerBuilder 11.1. The OLE ActiveX is AddFlow5 and I am using it to graphically represent links between entities - people, organisations, addresses, vehicles, telephones, etc. Documentation for AddFlow5 gives an example in VB script to load the relevant 'picture' into a node, ie, SET node.picture = LOADPICTURE("C:\images\person.bmp"). I cannot find a suitable equivalent in PB 11 to either 'SET' or to 'LOADPICTURE' The developer of AddFlow suggested I try: OLEObject uo uo = C...

Replace 1's and 0's in a gridview column with Yes's and No's
Is it possible to change the display of a column in a gridview to show a Yes for all 1's and a No for 0's that display in a particular column of a gridview bound to a database?  If so, can someone share the way with me?  I am using ASP.NET 2.0 with VB Code Behind.  Thanks One way you can do is thrrough  CASE in your select statement: Select YesNoColumn= CASE yourColumn WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END FROM YourtableLimno <Columns>     <asp:TemplateField HeaderText="yourHeader" SortExpression="yourDataField"> ...

It's Linux !? No, it's BSD ! No, no, it's...
kFreeBSD http://wiki.debian.org/Debian_GNU/kFreeBSD a Debian distro using the FreeBSD kernel ! ObiWan wrote: > kFreeBSD > > http://wiki.debian.org/Debian_GNU/kFreeBSD > > a Debian distro using the FreeBSD kernel ! Why use a BSD kernel? I hope the reason is more than, just because they can. http://wiki.debian.org/Debian_GNU/kFreeBSD_why It's easy to understand why the would want to use Debian packages. :) -- Jimmy Johnson Registered Linux User #380263 >> kFreeBSD >> >> http://wiki.debian.org/Debian_GNU/kFreeBSD >> ...

Using PowerBuilder's or Infomaker's Query Painter in my applicatoin
I am at the point in my application where I would like to allow my users to create customized queries, and possibly reports. I have figured out how to use syntaxfromsql to convert sql to the special datawindow code, and this works find for me. But some of my users arn't as gifted in the sql department. So now I wish I had a nice GUI query builder. My question is; Is the query painter, and maybe even the datawindow painter accessable from Powerbuilder script kind of like an activeX? Or an object that I can drop into a window. I think I am to the point that I could recreate th...

Help! I cannot access the DataGrid's ItemTemplate's LinkButton's Text Atrribute 's Value!!!!!!!!!!!
I write a datagrid's ItemDataBound method as follows:   private void dgTable_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)  {   if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)   {    if(!isRole("Manager"))    {     LinkButton tmp = (LinkButton)e.Item.FindControl("lbPassed");     if(tmp.Text == "Passed")     {      ((LinkBu...

Powerbuilder's ActiveX make a GPF
Anyone know if there's a bug (or a solution) to this problem. I'm using the Powerbuilder ActiveX with IE 4.0 and Win95. The activex make a GPF in the PBVM60.DLL so the 'EXPLORER' close. Thanks Sylvain Rancourt srancourt@visual.com ...

what's the difference between COM and OLE and ActiveX
Hi all, what's the difference between COM and OLE and ActiveX? Do they invoke PBVM60.dll when they are called? If so how many copies of PBVM60.dll are loaded into memory? Lei XU I would try http://www.microsoft.com/com/default.asp Dean Jugar wrote in message ... >Hi all, > >what's the difference between COM and OLE and ActiveX? > >Do they invoke PBVM60.dll when they are called? If so >how many copies of PBVM60.dll are loaded into memory? > >Lei XU > > ...

Novell's OCX/ActiveX components
I am having trouble setting the properties in Novell's OCX controls. Could someone help me?? pbda@hotmail.com Chriss Ioannou I would repost this in the OLE newsgroup. Carson ________________________________________________ Carson Hager Team Sybase Dynamic Data Solutions, Inc. Enterprise Application Studio 3.0 Consulting and Training http://www.dyn-data.com Chriss wrote in message ... >I am having trouble setting the properties in Novell's OCX controls. > >Could someone help me?? > >pbda@hotmail.com > >Chriss Ioannou >...

Hyperlink's, ImageURL's, and OnError's
I created an ASP:Hyperlink and set the ImageURL attribute so the link will be the image.If the image is missing, I would like it to display a 'missing image' pic that I have.  I know you can use the OnError attribute of the <img> tag to run some javascript to change it.Unfortunately I can't find a way to access the Hyperlink's Image that is inside it, so I can add an Attribute so the resulting <img> tag will have an OnError attribute inside of it.Any help?If my Hyperlink is called 'foo'....would I do...  ((Image) foo.Controls[0]).Attributes.Add(&...

Web resources about - Powerbuilder's incompetence - sybase.ole-ocx-activex

Resources last updated: 12/19/2015 12:10:28 AM