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.

Image button not displaying at runtime

17 posts in Objects Last posting was on 2009-08-17 09:22:52.0Z
mike Posted on 2009-08-11 14:32:18.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Image button not displaying at runtime
Date: Tue, 11 Aug 2009 07:32:18 -0700 (PDT)
Organization: http://groups.google.com
Lines: 14
Message-ID: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com>
NNTP-Posting-Host: 159.50.249.148
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1250001138 18265 127.0.0.1 (11 Aug 2009 14:32:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Aug 2009 14:32:18 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: w6g2000yqw.googlegroups.com; posting-host=159.50.249.148; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!w6g2000yqw.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9867
Article PK: 736997

Hi,

we an image button control and in design time the image appears
perfectly on the control. the image is directly in the same path of
the application object which means we can take out the path of the
image property and still show in design. But at runtime (clicking on
the run button) the image is gone. We have 5 developpers who are ok,
but only one developper does not work. We use a source control which
this developper just resync the code and as I said the image is there
at design but not at runtime.

could it be a corrupt object or even corrupt PBL?

Michel


John Strano[Sybase] Posted on 2009-08-11 16:07:09.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com>
Subject: Re: Image button not displaying at runtime
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a81972d$6@forums-3-dub.sybase.com>
Date: 11 Aug 2009 09:07:09 -0700
X-Trace: forums-3-dub.sybase.com 1250006829 10.22.241.152 (11 Aug 2009 09:07:09 -0700)
X-Original-Trace: 11 Aug 2009 09:07:09 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9868
Article PK: 736994

Not to assume the application directory is always the "current" directory...
Does the one developer have the same PATH statement as the others?

--
John Strano - Sybase Technology Evangelist

blog: http://powerbuilder.johnstrano.com/

"mike" <mg.enigma69@gmail.com> wrote in message
news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
> Hi,
>
> we an image button control and in design time the image appears
> perfectly on the control. the image is directly in the same path of
> the application object which means we can take out the path of the
> image property and still show in design. But at runtime (clicking on
> the run button) the image is gone. We have 5 developpers who are ok,
> but only one developper does not work. We use a source control which
> this developper just resync the code and as I said the image is there
> at design but not at runtime.
>
> could it be a corrupt object or even corrupt PBL?
>
> Michel


mike Posted on 2009-08-11 20:06:34.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Tue, 11 Aug 2009 13:06:34 -0700 (PDT)
Organization: http://groups.google.com
Lines: 39
Message-ID: <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com>
NNTP-Posting-Host: 80.236.55.8
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250021194 22029 127.0.0.1 (11 Aug 2009 20:06:34 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Aug 2009 20:06:34 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r38g2000yqn.googlegroups.com; posting-host=80.236.55.8; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!r38g2000yqn.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9869
Article PK: 736998

On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> Not to assume the application directory is always the "current" directory...
> Does the one developer have the same PATH statement as the others?
>
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > Hi,
>
> > we an image button control and in design time the image appears
> > perfectly on the control. the image is directly in the same path of
> > the application object which means we can take out the path of the
> > image property and still show in design. But at runtime (clicking on
> > the run button) the image is gone. We have 5 developpers who are ok,
> > but only one developper does not work. We use a source control which
> > this developper just resync the code and as I said the image is there
> > at design but not at runtime.
>
> > could it be a corrupt object or even corrupt PBL?
>
> > Michel

Hi John,

actually the weird part is... on the same window they are other same
controls and they are all ok. Just that particulor control only. That'
why I'm here. Really weird. My first tought was a corrupt object
(window) or pbl?


Michel


John Strano[Sybase] Posted on 2009-08-11 21:48:56.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com>
Subject: Re: Image button not displaying at runtime
Lines: 52
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a81e748$4@forums-3-dub.sybase.com>
Date: 11 Aug 2009 14:48:56 -0700
X-Trace: forums-3-dub.sybase.com 1250027336 10.22.241.152 (11 Aug 2009 14:48:56 -0700)
X-Original-Trace: 11 Aug 2009 14:48:56 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9871
Article PK: 736999

Have you verified that all controls using the image
do/don't have the fully-qualified path preceding the filename?

--
John Strano - Sybase Technology Evangelist

blog: http://powerbuilder.johnstrano.com/


"mike" <mg.enigma69@gmail.com> wrote in message
news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> Not to assume the application directory is always the "current"
> directory...
> Does the one developer have the same PATH statement as the others?
>
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > Hi,
>
> > we an image button control and in design time the image appears
> > perfectly on the control. the image is directly in the same path of
> > the application object which means we can take out the path of the
> > image property and still show in design. But at runtime (clicking on
> > the run button) the image is gone. We have 5 developpers who are ok,
> > but only one developper does not work. We use a source control which
> > this developper just resync the code and as I said the image is there
> > at design but not at runtime.
>
> > could it be a corrupt object or even corrupt PBL?
>
> > Michel

Hi John,

actually the weird part is... on the same window they are other same
controls and they are all ok. Just that particulor control only. That'
why I'm here. Really weird. My first tought was a corrupt object
(window) or pbl?


Michel


John Strano[Sybase] Posted on 2009-08-11 21:47:40.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com>
Subject: Re: Image button not displaying at runtime
Lines: 53
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a81e6fc$2@forums-3-dub.sybase.com>
Date: 11 Aug 2009 14:47:40 -0700
X-Trace: forums-3-dub.sybase.com 1250027260 10.22.241.152 (11 Aug 2009 14:47:40 -0700)
X-Original-Trace: 11 Aug 2009 14:47:40 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9870
Article PK: 737000

Yes, weird. Which PB version?

On a _copy_ of the PBLs, perhaps an (depending on your PB version)
optimize/regen or a full rebuild is in order.
--
John Strano - Sybase Technology Evangelist

blog: http://powerbuilder.johnstrano.com/


"mike" <mg.enigma69@gmail.com> wrote in message
news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> Not to assume the application directory is always the "current"
> directory...
> Does the one developer have the same PATH statement as the others?
>
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > Hi,
>
> > we an image button control and in design time the image appears
> > perfectly on the control. the image is directly in the same path of
> > the application object which means we can take out the path of the
> > image property and still show in design. But at runtime (clicking on
> > the run button) the image is gone. We have 5 developpers who are ok,
> > but only one developper does not work. We use a source control which
> > this developper just resync the code and as I said the image is there
> > at design but not at runtime.
>
> > could it be a corrupt object or even corrupt PBL?
>
> > Michel

Hi John,

actually the weird part is... on the same window they are other same
controls and they are all ok. Just that particulor control only. That'
why I'm here. Really weird. My first tought was a corrupt object
(window) or pbl?


Michel


mike Posted on 2009-08-12 07:35:37.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Wed, 12 Aug 2009 00:35:37 -0700 (PDT)
Organization: http://groups.google.com
Lines: 62
Message-ID: <460370a4-12b9-475f-bbb6-e987e169ac33@r18g2000yqd.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com>
NNTP-Posting-Host: 159.50.16.94
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250062538 22215 127.0.0.1 (12 Aug 2009 07:35:38 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Aug 2009 07:35:38 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r18g2000yqd.googlegroups.com; posting-host=159.50.16.94; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!r18g2000yqd.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9873
Article PK: 737001

On 11 août, 23:47, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> Yes, weird. Which PB version?
>
> On a _copy_ of the PBLs, perhaps an (depending on your PB version)
> optimize/regen or a full rebuild is in order.
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
> On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> wrote:
>
>
>
>
>
> > Not to assume the application directory is always the "current"
> > directory...
> > Does the one developer have the same PATH statement as the others?
>
> > --
> > John Strano - Sybase Technology Evangelist
>
> > blog:http://powerbuilder.johnstrano.com/
>
> > "mike" <mg.enigm...@gmail.com> wrote in message
>
> >news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > > Hi,
>
> > > we an image button control and in design time the image appears
> > > perfectly on the control. the image is directly in the same path of
> > > the application object which means we can take out the path of the
> > > image property and still show in design. But at runtime (clicking on
> > > the run button) the image is gone. We have 5 developpers who are ok,
> > > but only one developper does not work. We use a source control which
> > > this developper just resync the code and as I said the image is there
> > > at design but not at runtime.
>
> > > could it be a corrupt object or even corrupt PBL?
>
> > > Michel
>
> Hi John,
>
> actually the weird part is... on the same window they are other same
> controls and they are all ok. Just that particulor control only. That'
> why I'm here. Really weird. My first tought was a corrupt object
> (window) or pbl?
>
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

forgot to mention .... we are using PB 9.0.3 build 8004
michel


mike Posted on 2009-08-12 07:33:09.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Wed, 12 Aug 2009 00:33:09 -0700 (PDT)
Organization: http://groups.google.com
Lines: 68
Message-ID: <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com>
NNTP-Posting-Host: 159.50.16.94
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250062389 31389 127.0.0.1 (12 Aug 2009 07:33:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Aug 2009 07:33:09 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o32g2000yqm.googlegroups.com; posting-host=159.50.16.94; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!o32g2000yqm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9872
Article PK: 737007

On 11 août, 23:47, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> Yes, weird. Which PB version?
>
> On a _copy_ of the PBLs, perhaps an (depending on your PB version)
> optimize/regen or a full rebuild is in order.
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
> On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> wrote:
>
>
>
>
>
> > Not to assume the application directory is always the "current"
> > directory...
> > Does the one developer have the same PATH statement as the others?
>
> > --
> > John Strano - Sybase Technology Evangelist
>
> > blog:http://powerbuilder.johnstrano.com/
>
> > "mike" <mg.enigm...@gmail.com> wrote in message
>
> >news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > > Hi,
>
> > > we an image button control and in design time the image appears
> > > perfectly on the control. the image is directly in the same path of
> > > the application object which means we can take out the path of the
> > > image property and still show in design. But at runtime (clicking on
> > > the run button) the image is gone. We have 5 developpers who are ok,
> > > but only one developper does not work. We use a source control which
> > > this developper just resync the code and as I said the image is there
> > > at design but not at runtime.
>
> > > could it be a corrupt object or even corrupt PBL?
>
> > > Michel
>
> Hi John,
>
> actually the weird part is... on the same window they are other same
> controls and they are all ok. Just that particulor control only. That'
> why I'm here. Really weird. My first tought was a corrupt object
> (window) or pbl?
>
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

all other images don't have the full path in front of the filename and
are ok. We tried the regen/full build and all possible things. The
only part we haven't done it's the copy of the pbl. I think that might
do the trick. But still....weird :)

If the copy of the pbl works or not I'll let you know.

Michel


mike Posted on 2009-08-12 08:03:56.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Wed, 12 Aug 2009 01:03:56 -0700 (PDT)
Organization: http://groups.google.com
Lines: 85
Message-ID: <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com>
NNTP-Posting-Host: 159.50.16.94
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250064236 28015 127.0.0.1 (12 Aug 2009 08:03:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Aug 2009 08:03:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o15g2000yqm.googlegroups.com; posting-host=159.50.16.94; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!o15g2000yqm.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9874
Article PK: 737002


On 12 août, 09:33, mike <mg.enigm...@gmail.com> wrote:
> On 11 août, 23:47, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> wrote:
>
>
>
>
>
> > Yes, weird. Which PB version?
>
> > On a _copy_ of the PBLs, perhaps an (depending on your PB version)
> > optimize/regen or a full rebuild is in order.
> > --
> > John Strano - Sybase Technology Evangelist
>
> > blog:http://powerbuilder.johnstrano.com/
>
> > "mike" <mg.enigm...@gmail.com> wrote in message
>
> >news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
> > On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> > wrote:
>
> > > Not to assume the application directory is always the "current"
> > > directory...
> > > Does the one developer have the same PATH statement as the others?
>
> > > --
> > > John Strano - Sybase Technology Evangelist
>
> > > blog:http://powerbuilder.johnstrano.com/
>
> > > "mike" <mg.enigm...@gmail.com> wrote in message
>
> > >news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > > > Hi,
>
> > > > we an image button control and in design time the image appears
> > > > perfectly on the control. the image is directly in the same path of
> > > > the application object which means we can take out the path of the
> > > > image property and still show in design. But at runtime (clicking on
> > > > the run button) the image is gone. We have 5 developpers who are ok,
> > > > but only one developper does not work. We use a source control which
> > > > this developper just resync the code and as I said the image is there
> > > > at design but not at runtime.
>
> > > > could it be a corrupt object or even corrupt PBL?
>
> > > > Michel
>
> > Hi John,
>
> > actually the weird part is... on the same window they are other same
> > controls and they are all ok. Just that particulor control only. That'
> > why I'm here. Really weird. My first tought was a corrupt object
> > (window) or pbl?
>
> > Michel- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> all other images don't have the full path in front of the filename and
> are ok. We tried the regen/full build and all possible things. The
> only part we haven't done it's the copy of the pbl. I think that might
> do the trick. But still....weird  :)
>
> If the copy of the pbl works or not I'll let you know.
>
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

the copy of the pbl did not work. ?? Still under investigation. Now
everyone at work are "intrigue". Once we found something I'll post the
solution...

:)
Michel


"Paul Horan[Sybase]" <phoran_remove Posted on 2009-08-12 12:24:09.0Z
From: "Paul Horan[Sybase]" <phoran_remove@remove_sybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com>
Subject: Re: Image button not displaying at runtime
Lines: 91
Organization: Sybase
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a82b469$5@forums-3-dub.sybase.com>
Date: 12 Aug 2009 05:24:09 -0700
X-Trace: forums-3-dub.sybase.com 1250079849 10.22.241.152 (12 Aug 2009 05:24:09 -0700)
X-Original-Trace: 12 Aug 2009 05:24:09 -0700, vip152.sybase.com
X-Authenticated-User: teamsybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9875
Article PK: 737003

How is the image resource referenced in your PBR file? You do have one of
those, right?

--
Paul Horan[Sybase]
http://blogs.sybase.com/phoran/

"mike" <mg.enigma69@gmail.com> wrote in message
news:725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com...

On 12 août, 09:33, mike <mg.enigm...@gmail.com> wrote:
> On 11 août, 23:47, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> wrote:
>
>
>
>
>
> > Yes, weird. Which PB version?
>
> > On a _copy_ of the PBLs, perhaps an (depending on your PB version)
> > optimize/regen or a full rebuild is in order.
> > --
> > John Strano - Sybase Technology Evangelist
>
> > blog:http://powerbuilder.johnstrano.com/
>
> > "mike" <mg.enigm...@gmail.com> wrote in message
>
> >news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
> > On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> > wrote:
>
> > > Not to assume the application directory is always the "current"
> > > directory...
> > > Does the one developer have the same PATH statement as the others?
>
> > > --
> > > John Strano - Sybase Technology Evangelist
>
> > > blog:http://powerbuilder.johnstrano.com/
>
> > > "mike" <mg.enigm...@gmail.com> wrote in message
>
> > >news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > > > Hi,
>
> > > > we an image button control and in design time the image appears
> > > > perfectly on the control. the image is directly in the same path of
> > > > the application object which means we can take out the path of the
> > > > image property and still show in design. But at runtime (clicking on
> > > > the run button) the image is gone. We have 5 developpers who are ok,
> > > > but only one developper does not work. We use a source control which
> > > > this developper just resync the code and as I said the image is
> > > > there
> > > > at design but not at runtime.
>
> > > > could it be a corrupt object or even corrupt PBL?
>
> > > > Michel
>
> > Hi John,
>
> > actually the weird part is... on the same window they are other same
> > controls and they are all ok. Just that particulor control only. That'
> > why I'm here. Really weird. My first tought was a corrupt object
> > (window) or pbl?
>
> > Michel- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> all other images don't have the full path in front of the filename and
> are ok. We tried the regen/full build and all possible things. The
> only part we haven't done it's the copy of the pbl. I think that might
> do the trick. But still....weird :)
>
> If the copy of the pbl works or not I'll let you know.
>
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

the copy of the pbl did not work. ?? Still under investigation. Now
everyone at work are "intrigue". Once we found something I'll post the
solution...

:)
Michel


John Strano[Sybase] Posted on 2009-08-12 13:26:37.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com>
Subject: Re: Image button not displaying at runtime
Lines: 95
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a82c30d@forums-3-dub.sybase.com>
Date: 12 Aug 2009 06:26:37 -0700
X-Trace: forums-3-dub.sybase.com 1250083597 10.22.241.152 (12 Aug 2009 06:26:37 -0700)
X-Original-Trace: 12 Aug 2009 06:26:37 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9876
Article PK: 737005

mike:

Following on Paul's question, is this artifact happening
with executables or running the application from within the IDE?

--
John Strano - Sybase Technology Evangelist

blog: http://powerbuilder.johnstrano.com/


"mike" <mg.enigma69@gmail.com> wrote in message
news:725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com...

On 12 août, 09:33, mike <mg.enigm...@gmail.com> wrote:
> On 11 août, 23:47, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> wrote:
>
>
>
>
>
> > Yes, weird. Which PB version?
>
> > On a _copy_ of the PBLs, perhaps an (depending on your PB version)
> > optimize/regen or a full rebuild is in order.
> > --
> > John Strano - Sybase Technology Evangelist
>
> > blog:http://powerbuilder.johnstrano.com/
>
> > "mike" <mg.enigm...@gmail.com> wrote in message
>
> >news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
> > On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> > wrote:
>
> > > Not to assume the application directory is always the "current"
> > > directory...
> > > Does the one developer have the same PATH statement as the others?
>
> > > --
> > > John Strano - Sybase Technology Evangelist
>
> > > blog:http://powerbuilder.johnstrano.com/
>
> > > "mike" <mg.enigm...@gmail.com> wrote in message
>
> > >news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > > > Hi,
>
> > > > we an image button control and in design time the image appears
> > > > perfectly on the control. the image is directly in the same path of
> > > > the application object which means we can take out the path of the
> > > > image property and still show in design. But at runtime (clicking on
> > > > the run button) the image is gone. We have 5 developpers who are ok,
> > > > but only one developper does not work. We use a source control which
> > > > this developper just resync the code and as I said the image is
> > > > there
> > > > at design but not at runtime.
>
> > > > could it be a corrupt object or even corrupt PBL?
>
> > > > Michel
>
> > Hi John,
>
> > actually the weird part is... on the same window they are other same
> > controls and they are all ok. Just that particulor control only. That'
> > why I'm here. Really weird. My first tought was a corrupt object
> > (window) or pbl?
>
> > Michel- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> all other images don't have the full path in front of the filename and
> are ok. We tried the regen/full build and all possible things. The
> only part we haven't done it's the copy of the pbl. I think that might
> do the trick. But still....weird :)
>
> If the copy of the pbl works or not I'll let you know.
>
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

the copy of the pbl did not work. ?? Still under investigation. Now
everyone at work are "intrigue". Once we found something I'll post the
solution...

:)
Michel


mike Posted on 2009-08-12 15:03:01.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Wed, 12 Aug 2009 08:03:01 -0700 (PDT)
Organization: http://groups.google.com
Lines: 110
Message-ID: <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com>
NNTP-Posting-Host: 159.50.249.148
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250089381 25455 127.0.0.1 (12 Aug 2009 15:03:01 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Aug 2009 15:03:01 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: h21g2000yqa.googlegroups.com; posting-host=159.50.249.148; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!h21g2000yqa.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9877
Article PK: 737004

On 12 août, 15:26, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> mike:
>
> Following on Paul's question, is this artifact happening
> with executables or running the application from within the IDE?
>
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com...
> On 12 août, 09:33, mike <mg.enigm...@gmail.com> wrote:
>
>
>
>
>
> > On 11 août, 23:47, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> > wrote:
>
> > > Yes, weird. Which PB version?
>
> > > On a _copy_ of the PBLs, perhaps an (depending on your PB version)
> > > optimize/regen or a full rebuild is in order.
> > > --
> > > John Strano - Sybase Technology Evangelist
>
> > > blog:http://powerbuilder.johnstrano.com/
>
> > > "mike" <mg.enigm...@gmail.com> wrote in message
>
> > >news:569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com...
> > > On 11 août, 18:07, "John Strano[Sybase]" <nichtspamjstr...@csi.com>
> > > wrote:
>
> > > > Not to assume the application directory is always the "current"
> > > > directory...
> > > > Does the one developer have the same PATH statement as the others?
>
> > > > --
> > > > John Strano - Sybase Technology Evangelist
>
> > > > blog:http://powerbuilder.johnstrano.com/
>
> > > > "mike" <mg.enigm...@gmail.com> wrote in message
>
> > > >news:9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com...
>
> > > > > Hi,
>
> > > > > we an image button control and in design time the image appears
> > > > > perfectly on the control. the image is directly in the same path of
> > > > > the application object which means we can take out the path of the
> > > > > image property and still show in design. But at runtime (clicking on
> > > > > the run button) the image is gone. We have 5 developpers who are ok,
> > > > > but only one developper does not work. We use a source control which
> > > > > this developper just resync the code and as I said the image is
> > > > > there
> > > > > at design but not at runtime.
>
> > > > > could it be a corrupt object or even corrupt PBL?
>
> > > > > Michel
>
> > > Hi John,
>
> > > actually the weird part is... on the same window they are other same
> > > controls and they are all ok. Just that particulor control only. That'
> > > why I'm here. Really weird. My first tought was a corrupt object
> > > (window) or pbl?
>
> > > Michel- Masquer le texte des messages précédents -
>
> > > - Afficher le texte des messages précédents -
>
> > all other images don't have the full path in front of the filename and
> > are ok. We tried the regen/full build and all possible things. The
> > only part we haven't done it's the copy of the pbl. I think that might
> > do the trick. But still....weird :)
>
> > If the copy of the pbl works or not I'll let you know.
>
> > Michel- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> the copy of the pbl did not work. ?? Still under investigation. Now
> everyone at work are "intrigue". Once we found something I'll post the
> solution...
>
> :)
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

Sorry I skipped Paul question.
it's from the IDE


Wheeley Posted on 2009-08-12 23:02:01.0Z
From: Wheeley <wheeley@ix.netcom.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Message-ID: <3qg685ddmdpt8334rn8bk6339ohm1m6l6a@4ax.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com> <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com>
X-Newsreader: Forte Agent 5.00/32.1171
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 12 Aug 2009 16:02:01 -0700
X-Trace: forums-3-dub.sybase.com 1250118121 10.22.241.152 (12 Aug 2009 16:02:01 -0700)
X-Original-Trace: 12 Aug 2009 16:02:01 -0700, vip152.sybase.com
Lines: 30
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9878
Article PK: 737006

On Wed, 12 Aug 2009 08:03:01 -0700 (PDT), mike <mg.enigma69@gmail.com>

wrote:

>Sorry I skipped Paul question.
>it's from the IDE

The problem with bitmaps is powerbuilder uses the Windows search path
to find them. The Windows search path is as follows:

The active directory
The Windows directory
The Windows system directory
All directories in the PATH environment variable

From WITHIN the ide, the active directory can change depending what
you do. The active directory on ide startup is typically the active
target's directory. But as stated before this can change by simply
doing an object export from a pb, a getfileopenname command while
running your application, plus other things.

Obvously you don't want to place your bitmaps in the Windows or
Windows system directories so that leaves something on the PATH
variable.

From my experience, I always place my own bitmaps in the
sybase\shared\powerbuilder directory and it always work for both
development and at runtime from within the ide. Give that a try.

Hope this helps
Wheeley


Jeremy Lakeman Posted on 2009-08-13 00:58:50.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Wed, 12 Aug 2009 17:58:50 -0700 (PDT)
Organization: http://groups.google.com
Lines: 65
Message-ID: <b92ec287-4549-4426-af4f-581f53d71a2b@m20g2000vbp.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com> <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com> <3qg685ddmdpt8334rn8bk6339ohm1m6l6a@4ax.com>
NNTP-Posting-Host: 203.122.242.105
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250125130 11873 127.0.0.1 (13 Aug 2009 00:58:50 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 13 Aug 2009 00:58:50 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m20g2000vbp.googlegroups.com; posting-host=203.122.242.105; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-Via: 1.1 fly.essential.com.au:3128 (squid/2.5.STABLE8), 1.0 asp.essential.intranet:3128 (squid/2.5.STABLE8)
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!m20g2000vbp.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9879
Article PK: 737009


On Aug 13, 8:02 am, Wheeley <whee...@ix.netcom.com> wrote:
> On Wed, 12 Aug 2009 08:03:01 -0700 (PDT), mike <mg.enigm...@gmail.com>
> wrote:
>
> >Sorry I skipped Paul question.
> >it's from the IDE
>
> The problem with bitmaps is powerbuilder uses the Windows search path
> to find them. The Windows search path is as follows:
>
> The active directory
> The Windows directory
> The Windows system directory
> All directories in the PATH environment variable
>
>  From WITHIN the ide, the active directory can change depending what
> you do. The active directory on ide startup is typically the active
> target's directory. But as stated before this can change by simply
> doing an object export from a pb, a getfileopenname command while
> running your application, plus other things.
>
> Obvously you don't want to place your bitmaps in the Windows or
> Windows system directories so that leaves something on the PATH
> variable.
>
> From my experience, I always place my own bitmaps in the
> sybase\shared\powerbuilder directory and it always work for both
> development and at runtime from within the ide. Give that a try.
>
> Hope this helps
> Wheeley

Application specific files in sybase's shared folder? Ew...

The search path also contains the folder that the exe was run from.
But when running your application from the IDE, this is %ProgramFiles%
\Sybase\Powerbuilder <version>. which isn't very useful.

You could also make sure your target's main folder is in your
process's own path environment variable when run from the IDE.
Something like this should work somewhere in your applications startup
code;

type prototypes
function boolean SetEnvironmentVariable(string as_name, string
as_value) library "kernel32.dll" alias for "SetEnvironmentVariableW"
end prototypes

if handle(getapplication())=0 then
contextkeyword lck
classdefinition lcd
application la
string lsa_path_values[], ls_application_folder

la=getapplication()
lcd=la.classdefinition
ls_application_folder = left(lcd.libraryname,lastpos
(lcd.libraryname,'\'))
la.GetContextService("ContextKeyword", lck)
lck.GetContextKeywords("PATH", lsa_path_values)
if pos(lsa_path_values[1], ls_application_folder)<=0 then
SetEnvironmentVariable("PATH", ls_application_folder+ ";" +
lsa_path_values[1])
end if
end if


mike Posted on 2009-08-13 07:42:22.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Thu, 13 Aug 2009 00:42:22 -0700 (PDT)
Organization: http://groups.google.com
Lines: 92
Message-ID: <2111f301-4ac7-4679-9214-9a90caa49403@t13g2000yqt.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com> <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com> <3qg685ddmdpt8334rn8bk6339ohm1m6l6a@4ax.com> <b92ec287-4549-4426-af4f-581f53d71a2b@m20g2000vbp.googlegroups.com>
NNTP-Posting-Host: 159.50.16.94
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250149342 3325 127.0.0.1 (13 Aug 2009 07:42:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 13 Aug 2009 07:42:22 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t13g2000yqt.googlegroups.com; posting-host=159.50.16.94; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!t13g2000yqt.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9880
Article PK: 737008


On 13 août, 02:58, Jeremy Lakeman <jeremy.lake...@gmail.com> wrote:
> On Aug 13, 8:02 am, Wheeley <whee...@ix.netcom.com> wrote:
>
>
>
>
>
> > On Wed, 12 Aug 2009 08:03:01 -0700 (PDT), mike <mg.enigm...@gmail.com>
> > wrote:
>
> > >Sorry I skipped Paul question.
> > >it's from the IDE
>
> > The problem with bitmaps is powerbuilder uses the Windows search path
> > to find them. The Windows search path is as follows:
>
> > The active directory
> > The Windows directory
> > The Windows system directory
> > All directories in the PATH environment variable
>
> >  From WITHIN the ide, the active directory can change depending what
> > you do. The active directory on ide startup is typically the active
> > target's directory. But as stated before this can change by simply
> > doing an object export from a pb, a getfileopenname command while
> > running your application, plus other things.
>
> > Obvously you don't want to place your bitmaps in the Windows or
> > Windows system directories so that leaves something on the PATH
> > variable.
>
> > From my experience, I always place my own bitmaps in the
> > sybase\shared\powerbuilder directory and it always work for both
> > development and at runtime from within the ide. Give that a try.
>
> > Hope this helps
> > Wheeley
>
> Application specific files in sybase's shared folder? Ew...
>
> The search path also contains the folder that the exe was run from.
> But when running your application from the IDE, this is %ProgramFiles%
> \Sybase\Powerbuilder <version>. which isn't very useful.
>
> You could also make sure your target's main folder is in your
> process's own path environment variable when run from the IDE.
> Something like this should work somewhere in your applications startup
> code;
>
> type prototypes
> function boolean SetEnvironmentVariable(string as_name, string
> as_value) library "kernel32.dll" alias for "SetEnvironmentVariableW"
> end prototypes
>
> if handle(getapplication())=0 then
>    contextkeyword lck
>    classdefinition lcd
>    application la
>    string lsa_path_values[], ls_application_folder
>
>    la=getapplication()
>    lcd=la.classdefinition
>    ls_application_folder = left(lcd.libraryname,lastpos
> (lcd.libraryname,'\'))
>    la.GetContextService("ContextKeyword", lck)
>    lck.GetContextKeywords("PATH", lsa_path_values)
>    if pos(lsa_path_values[1], ls_application_folder)<=0 then
>       SetEnvironmentVariable("PATH", ls_application_folder+ ";" +
> lsa_path_values[1])
>    end if
> end if- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

hey guy's ,
this is great info.

But still, it does not explain why on the same window only one image
button do not work and the others (on the same window) works. We have
a total of 6 image button and only one of them don't appear (the
image) at runtime (from the IDE). But again in design it is ok, it
does appear. Only when we run the app from the IDE then "pow" it is
gone but the others at ok, we see the images on the others.

We even tried replacing his PBL from another developper. Still the
same problem for that only developper. Other developpers are ok. So it
might be his PC or glitch somewhere. We don't compile from his machine
for the EXE :-) so it's not a big deal, but we are sure "intrigue" by
this.

thank you all for the help... allways can count on you guys
Michel


mike Posted on 2009-08-13 08:00:33.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Thu, 13 Aug 2009 01:00:33 -0700 (PDT)
Organization: http://groups.google.com
Lines: 104
Message-ID: <6144f97f-ea33-4677-bc06-42a6c3d3cbee@r18g2000yqd.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com> <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com> <3qg685ddmdpt8334rn8bk6339ohm1m6l6a@4ax.com> <b92ec287-4549-4426-af4f-581f53d71a2b@m20g2000vbp.googlegroups.com> <2111f301-4ac7-4679-9214-9a90caa49403@t13g2000yqt.googlegroups.com>
NNTP-Posting-Host: 159.50.16.94
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250150433 1545 127.0.0.1 (13 Aug 2009 08:00:33 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 13 Aug 2009 08:00:33 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r18g2000yqd.googlegroups.com; posting-host=159.50.16.94; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!news-out.readnews.com!transit4.readnews.com!postnews.google.com!r18g2000yqd.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9881
Article PK: 737010


On 13 août, 09:42, mike <mg.enigm...@gmail.com> wrote:
> On 13 août, 02:58, Jeremy Lakeman <jeremy.lake...@gmail.com> wrote:
>
>
>
>
>
> > On Aug 13, 8:02 am, Wheeley <whee...@ix.netcom.com> wrote:
>
> > > On Wed, 12 Aug 2009 08:03:01 -0700 (PDT), mike <mg.enigm...@gmail.com>
> > > wrote:
>
> > > >Sorry I skipped Paul question.
> > > >it's from the IDE
>
> > > The problem with bitmaps is powerbuilder uses the Windows search path
> > > to find them. The Windows search path is as follows:
>
> > > The active directory
> > > The Windows directory
> > > The Windows system directory
> > > All directories in the PATH environment variable
>
> > >  From WITHIN the ide, the active directory can change depending what
> > > you do. The active directory on ide startup is typically the active
> > > target's directory. But as stated before this can change by simply
> > > doing an object export from a pb, a getfileopenname command while
> > > running your application, plus other things.
>
> > > Obvously you don't want to place your bitmaps in the Windows or
> > > Windows system directories so that leaves something on the PATH
> > > variable.
>
> > > From my experience, I always place my own bitmaps in the
> > > sybase\shared\powerbuilder directory and it always work for both
> > > development and at runtime from within the ide. Give that a try.
>
> > > Hope this helps
> > > Wheeley
>
> > Application specific files in sybase's shared folder? Ew...
>
> > The search path also contains the folder that the exe was run from.
> > But when running your application from the IDE, this is %ProgramFiles%
> > \Sybase\Powerbuilder <version>. which isn't very useful.
>
> > You could also make sure your target's main folder is in your
> > process's own path environment variable when run from the IDE.
> > Something like this should work somewhere in your applications startup
> > code;
>
> > type prototypes
> > function boolean SetEnvironmentVariable(string as_name, string
> > as_value) library "kernel32.dll" alias for "SetEnvironmentVariableW"
> > end prototypes
>
> > if handle(getapplication())=0 then
> >    contextkeyword lck
> >    classdefinition lcd
> >    application la
> >    string lsa_path_values[], ls_application_folder
>
> >    la=getapplication()
> >    lcd=la.classdefinition
> >    ls_application_folder = left(lcd.libraryname,lastpos
> > (lcd.libraryname,'\'))
> >    la.GetContextService("ContextKeyword", lck)
> >    lck.GetContextKeywords("PATH", lsa_path_values)
> >    if pos(lsa_path_values[1], ls_application_folder)<=0 then
> >       SetEnvironmentVariable("PATH", ls_application_folder+ ";" +
> > lsa_path_values[1])
> >    end if
> > end if- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> hey guy's ,
> this is great info.
>
> But still, it does not explain why on the same window only one image
> button do not work and the others (on the same window) works. We have
> a total of 6 image button and only one of them don't appear (the
> image) at runtime (from the IDE). But again in design it is ok, it
> does appear. Only when we run the app from the IDE then "pow" it is
> gone but the others at ok, we see the images on the others.
>
> We even tried replacing his PBL from another developper. Still the
> same problem for that only developper. Other developpers are ok. So it
> might be his PC or glitch somewhere. We don't compile from his machine
> for the EXE :-) so it's not a big deal, but we are sure "intrigue" by
> this.
>
> thank you all for the help... allways can count on you guys
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

we took your previous recommandation and seems to work. We moved the
image to the directory where the PB.exe is (c:\program files\sybase
\powerbuilder) and worked. So we are onto something.

Michel


John Strano[Sybase] Posted on 2009-08-13 19:28:14.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com> <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com> <3qg685ddmdpt8334rn8bk6339ohm1m6l6a@4ax.com> <b92ec287-4549-4426-af4f-581f53d71a2b@m20g2000vbp.googlegroups.com> <2111f301-4ac7-4679-9214-9a90caa49403@t13g2000yqt.googlegroups.com> <6144f97f-ea33-4677-bc06-42a6c3d3cbee@r18g2000yqd.googlegroups.com>
Subject: Re: Image button not displaying at runtime
Lines: 119
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a84694e$4@forums-1-dub>
Date: 13 Aug 2009 12:28:14 -0700
X-Trace: forums-1-dub 1250191694 10.22.241.152 (13 Aug 2009 12:28:14 -0700)
X-Original-Trace: 13 Aug 2009 12:28:14 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9882
Article PK: 737011

Does/did the workstation in question have an unusually long PATH statment
that is getting truncated? The path statement length limit for XP was 1024
characters,
2048 in SP2...don't recall for SP3.
Is the full PATH stamtent displayed when you issue "PATH" at a command
prompt?

--
John Strano - Sybase Technology Evangelist

blog: http://powerbuilder.johnstrano.com/


"mike" <mg.enigma69@gmail.com> wrote in message
news:6144f97f-ea33-4677-bc06-42a6c3d3cbee@r18g2000yqd.googlegroups.com...

On 13 août, 09:42, mike <mg.enigm...@gmail.com> wrote:
> On 13 août, 02:58, Jeremy Lakeman <jeremy.lake...@gmail.com> wrote:
>
>
>
>
>
> > On Aug 13, 8:02 am, Wheeley <whee...@ix.netcom.com> wrote:
>
> > > On Wed, 12 Aug 2009 08:03:01 -0700 (PDT), mike <mg.enigm...@gmail.com>
> > > wrote:
>
> > > >Sorry I skipped Paul question.
> > > >it's from the IDE
>
> > > The problem with bitmaps is powerbuilder uses the Windows search path
> > > to find them. The Windows search path is as follows:
>
> > > The active directory
> > > The Windows directory
> > > The Windows system directory
> > > All directories in the PATH environment variable
>
> > > From WITHIN the ide, the active directory can change depending what
> > > you do. The active directory on ide startup is typically the active
> > > target's directory. But as stated before this can change by simply
> > > doing an object export from a pb, a getfileopenname command while
> > > running your application, plus other things.
>
> > > Obvously you don't want to place your bitmaps in the Windows or
> > > Windows system directories so that leaves something on the PATH
> > > variable.
>
> > > From my experience, I always place my own bitmaps in the
> > > sybase\shared\powerbuilder directory and it always work for both
> > > development and at runtime from within the ide. Give that a try.
>
> > > Hope this helps
> > > Wheeley
>
> > Application specific files in sybase's shared folder? Ew...
>
> > The search path also contains the folder that the exe was run from.
> > But when running your application from the IDE, this is %ProgramFiles%
> > \Sybase\Powerbuilder <version>. which isn't very useful.
>
> > You could also make sure your target's main folder is in your
> > process's own path environment variable when run from the IDE.
> > Something like this should work somewhere in your applications startup
> > code;
>
> > type prototypes
> > function boolean SetEnvironmentVariable(string as_name, string
> > as_value) library "kernel32.dll" alias for "SetEnvironmentVariableW"
> > end prototypes
>
> > if handle(getapplication())=0 then
> > contextkeyword lck
> > classdefinition lcd
> > application la
> > string lsa_path_values[], ls_application_folder
>
> > la=getapplication()
> > lcd=la.classdefinition
> > ls_application_folder = left(lcd.libraryname,lastpos
> > (lcd.libraryname,'\'))
> > la.GetContextService("ContextKeyword", lck)
> > lck.GetContextKeywords("PATH", lsa_path_values)
> > if pos(lsa_path_values[1], ls_application_folder)<=0 then
> > SetEnvironmentVariable("PATH", ls_application_folder+ ";" +
> > lsa_path_values[1])
> > end if
> > end if- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> hey guy's ,
> this is great info.
>
> But still, it does not explain why on the same window only one image
> button do not work and the others (on the same window) works. We have
> a total of 6 image button and only one of them don't appear (the
> image) at runtime (from the IDE). But again in design it is ok, it
> does appear. Only when we run the app from the IDE then "pow" it is
> gone but the others at ok, we see the images on the others.
>
> We even tried replacing his PBL from another developper. Still the
> same problem for that only developper. Other developpers are ok. So it
> might be his PC or glitch somewhere. We don't compile from his machine
> for the EXE :-) so it's not a big deal, but we are sure "intrigue" by
> this.
>
> thank you all for the help... allways can count on you guys
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

we took your previous recommandation and seems to work. We moved the
image to the directory where the PB.exe is (c:\program files\sybase
\powerbuilder) and worked. So we are onto something.

Michel


mike Posted on 2009-08-17 09:22:52.0Z
From: mike <mg.enigma69@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Image button not displaying at runtime
Date: Mon, 17 Aug 2009 02:22:52 -0700 (PDT)
Organization: http://groups.google.com
Lines: 131
Message-ID: <58814b5f-0476-4a50-acb6-d9d180cc2093@c34g2000yqi.googlegroups.com>
References: <9dac3dfe-7733-4aa2-8ac3-6fd6c1d677c0@w6g2000yqw.googlegroups.com> <4a81972d$6@forums-3-dub.sybase.com> <569bc6a8-063e-4356-bb3b-f9a473e2ea37@r38g2000yqn.googlegroups.com> <4a81e6fc$2@forums-3-dub.sybase.com> <57f41640-939a-4aab-91fa-27847acd54f4@o32g2000yqm.googlegroups.com> <725429be-f104-4398-ae16-4fb9f551a86e@o15g2000yqm.googlegroups.com> <4a82c30d@forums-3-dub.sybase.com> <e46203ff-5bdb-4b05-9aac-fad13d392fd5@h21g2000yqa.googlegroups.com> <3qg685ddmdpt8334rn8bk6339ohm1m6l6a@4ax.com> <b92ec287-4549-4426-af4f-581f53d71a2b@m20g2000vbp.googlegroups.com> <2111f301-4ac7-4679-9214-9a90caa49403@t13g2000yqt.googlegroups.com> <6144f97f-ea33-4677-bc06-42a6c3d3cbee@r18g2000yqd.googlegroups.com> <4a84694e$4@forums-1-dub>
NNTP-Posting-Host: 159.50.16.93
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1250500972 3890 127.0.0.1 (17 Aug 2009 09:22:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 17 Aug 2009 09:22:52 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: c34g2000yqi.googlegroups.com; posting-host=159.50.16.93; posting-account=7BZBbAoAAADJoEiddc-jvNORjfw2PJDB
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!news-out.readnews.com!transit4.readnews.com!postnews.google.com!c34g2000yqi.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9883
Article PK: 737013

On 13 août, 21:28, "John Strano[Sybase]" <nichtspamjstr...@csi.com>

wrote:
> Does/did the workstation in question have an unusually long PATH statment
> that is getting truncated? The path statement length limit for XP was 1024
> characters,
> 2048 in SP2...don't recall for SP3.
> Is the full PATH stamtent displayed when you issue "PATH" at a command
> prompt?
>
> --
> John Strano - Sybase Technology Evangelist
>
> blog:http://powerbuilder.johnstrano.com/
>
> "mike" <mg.enigm...@gmail.com> wrote in message
>
> news:6144f97f-ea33-4677-bc06-42a6c3d3cbee@r18g2000yqd.googlegroups.com...
> On 13 août, 09:42, mike <mg.enigm...@gmail.com> wrote:
>
>
>
>
>
> > On 13 août, 02:58, Jeremy Lakeman <jeremy.lake...@gmail.com> wrote:
>
> > > On Aug 13, 8:02 am, Wheeley <whee...@ix.netcom.com> wrote:
>
> > > > On Wed, 12 Aug 2009 08:03:01 -0700 (PDT), mike <mg.enigm...@gmail.com>
> > > > wrote:
>
> > > > >Sorry I skipped Paul question.
> > > > >it's from the IDE
>
> > > > The problem with bitmaps is powerbuilder uses the Windows search path
> > > > to find them. The Windows search path is as follows:
>
> > > > The active directory
> > > > The Windows directory
> > > > The Windows system directory
> > > > All directories in the PATH environment variable
>
> > > > From WITHIN the ide, the active directory can change depending what
> > > > you do. The active directory on ide startup is typically the active
> > > > target's directory. But as stated before this can change by simply
> > > > doing an object export from a pb, a getfileopenname command while
> > > > running your application, plus other things.
>
> > > > Obvously you don't want to place your bitmaps in the Windows or
> > > > Windows system directories so that leaves something on the PATH
> > > > variable.
>
> > > > From my experience, I always place my own bitmaps in the
> > > > sybase\shared\powerbuilder directory and it always work for both
> > > > development and at runtime from within the ide. Give that a try.
>
> > > > Hope this helps
> > > > Wheeley
>
> > > Application specific files in sybase's shared folder? Ew...
>
> > > The search path also contains the folder that the exe was run from.
> > > But when running your application from the IDE, this is %ProgramFiles%
> > > \Sybase\Powerbuilder <version>. which isn't very useful.
>
> > > You could also make sure your target's main folder is in your
> > > process's own path environment variable when run from the IDE.
> > > Something like this should work somewhere in your applications startup
> > > code;
>
> > > type prototypes
> > > function boolean SetEnvironmentVariable(string as_name, string
> > > as_value) library "kernel32.dll" alias for "SetEnvironmentVariableW"
> > > end prototypes
>
> > > if handle(getapplication())=0 then
> > > contextkeyword lck
> > > classdefinition lcd
> > > application la
> > > string lsa_path_values[], ls_application_folder
>
> > > la=getapplication()
> > > lcd=la.classdefinition
> > > ls_application_folder = left(lcd.libraryname,lastpos
> > > (lcd.libraryname,'\'))
> > > la.GetContextService("ContextKeyword", lck)
> > > lck.GetContextKeywords("PATH", lsa_path_values)
> > > if pos(lsa_path_values[1], ls_application_folder)<=0 then
> > > SetEnvironmentVariable("PATH", ls_application_folder+ ";" +
> > > lsa_path_values[1])
> > > end if
> > > end if- Masquer le texte des messages précédents -
>
> > > - Afficher le texte des messages précédents -
>
> > hey guy's ,
> > this is great info.
>
> > But still, it does not explain why on the same window only one image
> > button do not work and the others (on the same window) works. We have
> > a total of 6 image button and only one of them don't appear (the
> > image) at runtime (from the IDE). But again in design it is ok, it
> > does appear. Only when we run the app from the IDE then "pow" it is
> > gone but the others at ok, we see the images on the others.
>
> > We even tried replacing his PBL from another developper. Still the
> > same problem for that only developper. Other developpers are ok. So it
> > might be his PC or glitch somewhere. We don't compile from his machine
> > for the EXE :-) so it's not a big deal, but we are sure "intrigue" by
> > this.
>
> > thank you all for the help... allways can count on you guys
> > Michel- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
>
> we took your previous recommandation and seems to work. We moved the
> image to the directory where the PB.exe is (c:\program files\sybase
> \powerbuilder) and worked. So we are onto something.
>
> Michel- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

Hi John,

the PATH is fine. It's about 580 long.