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.

Executable requests CD in CD drive

6 posts in Powerscript Last posting was on 2009-08-31 08:39:25.0Z
CallRunner Posted on 2009-08-28 04:17:57.0Z
From: CallRunner <bill.beale@optusnet.com.au>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Executable requests CD in CD drive
Date: Thu, 27 Aug 2009 21:17:57 -0700 (PDT)
Organization: http://groups.google.com
Lines: 28
Message-ID: <e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com>
NNTP-Posting-Host: 58.104.156.200
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1251433078 15440 127.0.0.1 (28 Aug 2009 04:17:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 28 Aug 2009 04:17:58 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: u38g2000pro.googlegroups.com; posting-host=58.104.156.200; posting-account=Tx4aHQkAAAD4wedyxgkvrTr8akNIrSl-
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .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!news-xxxfer.readnews.com!postnews.google.com!u38g2000pro.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27020
Article PK: 761691

Hi,

I’ve experienced a problem with two different executables, one some
years back in an earlier version of PowerBuilder, and now again with
PB11.1 on a Vista OS.

On running the executable, I an log in to the application ok with the
user name and password, and data is retrieved from the database and
presented in the opening window.

However, on opening another window (which is at a point where the
application would switch from code in one .pbl file to code
another .pbl) a pop-up asks for a CD to be inserted.

I can put any CD in the CD drive (a blank one with Marcel Marceau’s
greatest hits) and the application then continues on.

It doesn’t occur with every executable that I've produced from the
development application.

I’ve tried regenerating the .pbl's and creating new .pbd’s, I’ve tried
InstallShield and MS Installer, and installed the executable on
different machines. I've searched through the registry to see if
there is any obscure reference to the CD drive.

I’m running out of options. Has anyone either encountered, or
hopefully resolved, such a problem?


Roland Smith [TeamSybase] Posted on 2009-08-28 12:05:01.0Z
From: "Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com>
Newsgroups: sybase.public.powerbuilder.powerscript
References: <e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com>
Subject: Re: Executable requests CD in CD drive
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a97c7ed$1@forums-1-dub>
Date: 28 Aug 2009 05:05:01 -0700
X-Trace: forums-1-dub 1251461101 10.22.241.152 (28 Aug 2009 05:05:01 -0700)
X-Original-Trace: 28 Aug 2009 05:05:01 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27021
Article PK: 793513

Perhaps you have a image file somewhere with a full path of D:\...\filename
and on the development machine D: is a hard drive but on the client machine
it is the CD drive.

Images should only have the file name and then be included in the exe via a
.pbr file.

"CallRunner" <bill.beale@optusnet.com.au> wrote in message
news:e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com...
Hi,

I’ve experienced a problem with two different executables, one some
years back in an earlier version of PowerBuilder, and now again with
PB11.1 on a Vista OS.

On running the executable, I an log in to the application ok with the
user name and password, and data is retrieved from the database and
presented in the opening window.

However, on opening another window (which is at a point where the
application would switch from code in one .pbl file to code
another .pbl) a pop-up asks for a CD to be inserted.

I can put any CD in the CD drive (a blank one with Marcel Marceau’s
greatest hits) and the application then continues on.

It doesn’t occur with every executable that I've produced from the
development application.

I’ve tried regenerating the .pbl's and creating new .pbd’s, I’ve tried
InstallShield and MS Installer, and installed the executable on
different machines. I've searched through the registry to see if
there is any obscure reference to the CD drive.

I’m running out of options. Has anyone either encountered, or
hopefully resolved, such a problem?


CallRunner Posted on 2009-08-30 04:26:31.0Z
From: CallRunner <bill.beale@optusnet.com.au>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Executable requests CD in CD drive
Date: Sat, 29 Aug 2009 21:26:31 -0700 (PDT)
Organization: http://groups.google.com
Lines: 59
Message-ID: <ae076057-5534-4807-859a-a37ff85d03a3@d4g2000prc.googlegroups.com>
References: <e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com> <4a97c7ed$1@forums-1-dub>
NNTP-Posting-Host: 58.104.156.200
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1251606392 29208 127.0.0.1 (30 Aug 2009 04:26:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 30 Aug 2009 04:26:32 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: d4g2000prc.googlegroups.com; posting-host=58.104.156.200; posting-account=Tx4aHQkAAAD4wedyxgkvrTr8akNIrSl-
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .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!newsfeed.news2me.com!nx02.iad01.newshosting.com!newshosting.com!198.186.194.249.MISMATCH!transit3.readnews.com!news-out.readnews.com!transit4.readnews.com!postnews.google.com!d4g2000prc.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27022
Article PK: 793508

On Aug 28, 10:05 pm, "Roland Smith [TeamSybase]"

<rsmith_at_trusthss_dot_com> wrote:
> Perhaps you have a image file somewhere with a full path of D:\...\filename
> and on the development machine D: is a hard drive but on the client machine
> it is the CD drive.
>
> Images should only have the file name and then be included in the exe via a
> .pbr file.
>
> "CallRunner" <bill.be...@optusnet.com.au> wrote in message
>
> news:e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com...
> Hi,
>
> I’ve experienced a problem with two different executables, one some
> years back in an earlier version of PowerBuilder, and now again with
> PB11.1 on a Vista OS.
>
> On running the executable, I an log in to the application ok with the
> user name and password, and data is retrieved from the database and
> presented in the opening window.
>
> However, on opening another window (which is at a point where the
> application would switch from code in one .pbl file to code
> another .pbl) a pop-up asks for a CD to be inserted.
>
> I can put any CD in the CD drive (a blank one with Marcel Marceau’s
> greatest hits) and the application then continues on.
>
> It doesn’t occur with every executable that I've produced from the
> development application.
>
> I’ve tried regenerating the .pbl's and creating new .pbd’s, I’ve tried
> InstallShield and MS Installer, and installed the executable on
> different machines.  I've searched through the registry to see if
> there is any obscure reference to the CD drive.
>
> I’m running out of options.  Has anyone either encountered, or
> hopefully resolved, such a problem?

Thanks Roland,

It's an interesting propsition. I do use images but keep them in a
directory file, referenced by the application's 'RegistryGet' and and
pfc's of_GetAppKey().

I used the source editor to scan the objects that were to open in
the .pbd for a drive reference in case I'd inadvertantly defined a
reference to a resource in the properies panel, but I could not find
anything.

In any event, I develop on the C drive an all resource files are on
that drive. The CD drive on both my development machine and my
testing machine is the D drive. In both instances, I'd set up the
file folder with images etc on the C drive.


Arthur Hefti Posted on 2009-08-30 07:00:50.0Z
From: "Arthur Hefti" <arthur@catsoft.ch>
Subject: Re: Executable requests CD in CD drive
Newsgroups: sybase.public.powerbuilder.powerscript
References: <e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com> <4a97c7ed$1@forums-1-dub> <ae076057-5534-4807-859a-a37ff85d03a3@d4g2000prc.googlegroups.com>
User-Agent: XanaNews/1.19.1.194
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a9a23a2$1@forums-1-dub>
Date: 30 Aug 2009 00:00:50 -0700
X-Trace: forums-1-dub 1251615650 10.22.241.152 (30 Aug 2009 00:00:50 -0700)
X-Original-Trace: 30 Aug 2009 00:00:50 -0700, vip152.sybase.com
Lines: 67
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27024
Article PK: 761690

Run your application with /PBDEBUG. When the insert CD dialog appears
close your application through the task manager. The last line logged
might give you some information.
An other issue might be that a PBD can't be found. Are all located in
the same directory? If not PB might use the search path to find the
PBD. Is D: included in the search path?

Arthur

CallRunner wrote:

> On Aug 28, 10:05 pm, "Roland Smith [TeamSybase]"
> <rsmith_at_trusthss_dot_com> wrote:
> > Perhaps you have a image file somewhere with a full path of
> > D:\...\filename and on the development machine D: is a hard drive
> > but on the client machine it is the CD drive.
> >
> > Images should only have the file name and then be included in the
> > exe via a .pbr file.
> >
> > "CallRunner" <bill.be...@optusnet.com.au> wrote in message
> >
> > news:e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.c
> > om... Hi,
> >
> > I’ve experienced a problem with two different executables, one some
> > years back in an earlier version of PowerBuilder, and now again with
> > PB11.1 on a Vista OS.
> >
> > On running the executable, I an log in to the application ok with
> > the user name and password, and data is retrieved from the database
> > and presented in the opening window.
> >
> > However, on opening another window (which is at a point where the
> > application would switch from code in one .pbl file to code
> > another .pbl) a pop-up asks for a CD to be inserted.
> >
> > I can put any CD in the CD drive (a blank one with Marcel Marceau’s
> > greatest hits) and the application then continues on.
> >
> > It doesn’t occur with every executable that I've produced from the
> > development application.
> >
> > I’ve tried regenerating the .pbl's and creating new .pbd’s, I’ve
> > tried InstallShield and MS Installer, and installed the executable
> > on different machines.  I've searched through the registry to see if
> > there is any obscure reference to the CD drive.
> >
> > I’m running out of options.  Has anyone either encountered, or
> > hopefully resolved, such a problem?
>
> Thanks Roland,
>
> It's an interesting propsition. I do use images but keep them in a
> directory file, referenced by the application's 'RegistryGet' and and
> pfc's of_GetAppKey().
>
> I used the source editor to scan the objects that were to open in
> the .pbd for a drive reference in case I'd inadvertantly defined a
> reference to a resource in the properies panel, but I could not find
> anything.
>
> In any event, I develop on the C drive an all resource files are on
> that drive. The CD drive on both my development machine and my
> testing machine is the D drive. In both instances, I'd set up the
> file folder with images etc on the C drive.


CallRunner Posted on 2009-08-31 08:39:25.0Z
From: CallRunner <bill.beale@optusnet.com.au>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: Executable requests CD in CD drive
Date: Mon, 31 Aug 2009 01:39:25 -0700 (PDT)
Organization: http://groups.google.com
Lines: 80
Message-ID: <b9a7aff4-2ee5-4f02-8bf3-5bf4dcb2fdc0@f18g2000prf.googlegroups.com>
References: <e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com> <4a97c7ed$1@forums-1-dub> <ae076057-5534-4807-859a-a37ff85d03a3@d4g2000prc.googlegroups.com> <4a9a23a2$1@forums-1-dub>
NNTP-Posting-Host: 58.104.156.200
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1251707972 22835 127.0.0.1 (31 Aug 2009 08:39:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 31 Aug 2009 08:39:32 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f18g2000prf.googlegroups.com; posting-host=58.104.156.200; posting-account=Tx4aHQkAAAD4wedyxgkvrTr8akNIrSl-
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .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!f18g2000prf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27025
Article PK: 793511


On Aug 30, 5:00 pm, "Arthur Hefti" <art...@catsoft.ch> wrote:
> Run your application with /PBDEBUG. When the insert CD dialog appears
> close your application through the task manager. The last line logged
> might give you some information.
> An other issue might be that a PBD can't be found. Are all located in
> the same directory? If not PB might use the search path to find the
> PBD. Is D: included in the search path?
>
> Arthur
>
>
>
> CallRunner wrote:
> > On Aug 28, 10:05 pm, "Roland Smith [TeamSybase]"
> > <rsmith_at_trusthss_dot_com> wrote:
> > > Perhaps you have a image file somewhere with a full path of
> > > D:\...\filename and on the development machine D: is a hard drive
> > > but on the client machine it is the CD drive.
>
> > > Images should only have the file name and then be included in the
> > > exe via a .pbr file.
>
> > > "CallRunner" <bill.be...@optusnet.com.au> wrote in message
>
> > >news:e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.c
> > > om...  Hi,
>
> > > I’ve experienced a problem with two different executables, one some
> > > years back in an earlier version of PowerBuilder, and now again with
> > > PB11.1 on a Vista OS.
>
> > > On running the executable, I an log in to the application ok with
> > > the user name and password, and data is retrieved from the database
> > > and presented in the opening window.
>
> > > However, on opening another window (which is at a point where the
> > > application would switch from code in one .pbl file to code
> > > another .pbl) a pop-up asks for a CD to be inserted.
>
> > > I can put any CD in the CD drive (a blank one with Marcel Marceau’s
> > > greatest hits) and the application then continues on.
>
> > > It doesn’t occur with every executable that I've produced from the
> > > development application.
>
> > > I’ve tried regenerating the .pbl's and creating new .pbd’s, I’ve
> > > tried InstallShield and MS Installer, and installed the executable
> > > on different machines.  I've searched through the registry to see if
> > > there is any obscure reference to the CD drive.
>
> > > I’m running out of options.  Has anyone either encountered, or
> > > hopefully resolved, such a problem?
>
> > Thanks Roland,
>
> > It's an interesting propsition.  I do use images but keep them in a
> > directory file, referenced by the application's 'RegistryGet' and and
> > pfc's of_GetAppKey().
>
> > I used the source editor to scan the objects that were to open in
> > the .pbd  for a drive reference in case I'd inadvertantly defined a
> > reference to a resource in the properies panel, but I could not find
> > anything.
>
> > In any event, I develop on the C drive an all resource files are on
> > that drive.  The CD drive on both my development machine and my
> > testing machine is the D drive.  In both instances, I'd set up the
> > file folder with images etc on the C drive.- Hide quoted text -
>
> - Show quoted text -

Thanks everyone for the advice provided. It has to be something akin
to the propostions suggested, so I'll look a lot hard for drive
references in my code. (the .pbd's are all in the same directory)

Of interest, the executable has now stopped requesting the D drive CD
since I've used it and tested it, and re-booted it a few times,


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-08-30 04:42:51.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.powerscript
References: <e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com> <4a97c7ed$1@forums-1-dub> <ae076057-5534-4807-859a-a37ff85d03a3@d4g2000prc.googlegroups.com>
Subject: Re: Executable requests CD in CD drive
Lines: 74
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a9a034b@forums-1-dub>
Date: 29 Aug 2009 21:42:51 -0700
X-Trace: forums-1-dub 1251607371 10.22.241.152 (29 Aug 2009 21:42:51 -0700)
X-Original-Trace: 29 Aug 2009 21:42:51 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27023
Article PK: 793509

My hunch is there is a reference somewhere to a file with path. Get Pibble
Peeper from www.techno-kitten.com and so dome serious searching. Of course,
if a file reference is not coded in the painter but pulled from outside
(registry, database...) that won't catch it. If this has ever happened in
the IDE you could try the debugger.

--
Report Bugs: http://case-express.sybase.com/cx/welcome.do
Product Enhancement Requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement


"CallRunner" <bill.beale@optusnet.com.au> wrote in message
news:ae076057-5534-4807-859a-a37ff85d03a3@d4g2000prc.googlegroups.com...
On Aug 28, 10:05 pm, "Roland Smith [TeamSybase]"

<rsmith_at_trusthss_dot_com> wrote:
> Perhaps you have a image file somewhere with a full path of
> D:\...\filename
> and on the development machine D: is a hard drive but on the client
> machine
> it is the CD drive.
>
> Images should only have the file name and then be included in the exe via
> a
> .pbr file.
>
> "CallRunner" <bill.be...@optusnet.com.au> wrote in message
>
> news:e5da372c-3dad-4c31-90d8-da6b155063da@u38g2000pro.googlegroups.com...
> Hi,
>
> I’ve experienced a problem with two different executables, one some
> years back in an earlier version of PowerBuilder, and now again with
> PB11.1 on a Vista OS.
>
> On running the executable, I an log in to the application ok with the
> user name and password, and data is retrieved from the database and
> presented in the opening window.
>
> However, on opening another window (which is at a point where the
> application would switch from code in one .pbl file to code
> another .pbl) a pop-up asks for a CD to be inserted.
>
> I can put any CD in the CD drive (a blank one with Marcel Marceau’s
> greatest hits) and the application then continues on.
>
> It doesn’t occur with every executable that I've produced from the
> development application.
>
> I’ve tried regenerating the .pbl's and creating new .pbd’s, I’ve tried
> InstallShield and MS Installer, and installed the executable on
> different machines. I've searched through the registry to see if
> there is any obscure reference to the CD drive.
>
> I’m running out of options. Has anyone either encountered, or
> hopefully resolved, such a problem?

Thanks Roland,

It's an interesting propsition. I do use images but keep them in a
directory file, referenced by the application's 'RegistryGet' and and
pfc's of_GetAppKey().

I used the source editor to scan the objects that were to open in
the .pbd for a drive reference in case I'd inadvertantly defined a
reference to a resource in the properies panel, but I could not find
anything.

In any event, I develop on the C drive an all resource files are on
that drive. The CD drive on both my development machine and my
testing machine is the D drive. In both instances, I'd set up the
file folder with images etc on the C drive.