Error Number 23: cannot assign object of type "x" to variable of type "x"

I am running P/B 7.0.3 Build 10009 against an Oracle 8.0.5 database on
Windows NT 4.0 Service Pack 4.

I have a PFC application that ran just fine under 6.5.1 but is dying at
runtime now with an Error Number 23 (which says you cannot assign an object
of type 'x' to variable of type 'x'.  There are 2 separate occurrences of
this.  One involves a window variable and the other involves a tab variable.

Right now I am concentrating on the tab control.  I have a userobject called
tab_control which contains 2 tab pages (tabpg_list and tabpg_detail).  In
the tabpg_list object, I am defining a variable tab_control with a name of
ltab_test  (defined like this:  tab_control    ltab_test).  When you run the
application and it hits the constructor event, the application dies when I
try to obtain a reference to the tab control by issuing a GetParent from the
tabpage.  I have tried regenerating each of the objects involved all the way
up the ancestor chain.  I have tried creating a new tab control object both
by inheriting from u_tab and also by creating a new tab from scratch (which
gets inherited from tab).  Neither of these methods will work.  However, I
can define my variable of ltab_test as a type 'tab' and this works fine.
Also, I have another tab control that is called tab_bar_code and when I
assign my variable of ltab_test to this control, the GetParent things works
fine for it also.

I am not able to determine what causes this to die.  Like I said, I can
create a tab control object from scratch and the GetParent function will die
on it as well.  Note that this code worked just fine under the 6.5.1 PB
code.

Does anybody have any ideas what in the world is going on here?  I have
spent 3 days trying to figure this mess out.
Thank you for your help.
Monte



0
monte_ctr_schibbelhu
1/30/2001 10:01:36 PM
sybase.powerbuilder.general 62418 articles. 18 followers. Follow

8 Replies
916 Views

Similar Articles

[PageSpeed] 46

Thank you for responding Bruce.

Here's my situation.
I have a 4 objects in my pbl consisting of:
w_bar_code  (the window)
tab_control (a userobject inherited from u_tab)
tabpg_list (a userobject inherited from u_tabpg)
tabpg_detail (a userobject inherited from u_tabpg)

The object tab_control contains the 2 tab pages (tabpg_list and
tabpg_detail) on it.  On the tabpg_list userobject, I have declared a
variable named itab_parent that is of a type tab_control.  It is defined
like this in the instance variable declaration:
tab_control    itab_parent

In the constructor event of tabpg_list, I am issuing this statement:
itab_parent = This.GetParent()

This is causing my error number 23.  All I am trying to do here is to get a
reference to the tab control from one of the tab pages.  This is a PFC
application and it is strictly object-oriented.  I do not know of any other
way to obtain a reference to the parent (in this case, the tab control).

This code worked just fine in 6.5.1.  Now, if I define my variable
itab_parent as a type of just 'tab'; it works fine as far as the GetParent
thing is concerned.  I cannot do this however because there are function and
tab pages on my tab control tab that are not found in just a generic tab
control.
What am I doing wrong?  What are my options around this?
Thank you for your help!
Monte



Bruce Armstrong [TeamSybase] wrote in message ...
>I believe one of the things that PB 7 tightened up on was assigning an
object
>of an ancestor class to a variable that is of a descendant class.  I didn't
>quite follow your explanation of what you were doing, but that is generally
>what causes that error message.  You might need to re-examine your code in
>light of that.
>
>On Tue, 30 Jan 2001 16:01:36 -0600,
> in powersoft.public.powerbuilder.general
> <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote:
>>I am running P/B 7.0.3 Build 10009 against an Oracle 8.0.5 database on
>>Windows NT 4.0 Service Pack 4.
>>
>>I have a PFC application that ran just fine under 6.5.1 but is dying at
>>runtime now with an Error Number 23 (which says you cannot assign an
object
>>of type 'x' to variable of type 'x'.  There are 2 separate occurrences of
>>this.  One involves a window variable and the other involves a tab
variable.
>>
>>Right now I am concentrating on the tab control.  I have a userobject
called
>>tab_control which contains 2 tab pages (tabpg_list and tabpg_detail).  In
>>the tabpg_list object, I am defining a variable tab_control with a name of
>>ltab_test  (defined like this:  tab_control    ltab_test).  When you run
the
>>application and it hits the constructor event, the application dies when I
>>try to obtain a reference to the tab control by issuing a GetParent from
the
>>tabpage.  I have tried regenerating each of the objects involved all the
way
>>up the ancestor chain.  I have tried creating a new tab control object
both
>>by inheriting from u_tab and also by creating a new tab from scratch
(which
>>gets inherited from tab).  Neither of these methods will work.  However, I
>>can define my variable of ltab_test as a type 'tab' and this works fine.
>>Also, I have another tab control that is called tab_bar_code and when I
>>assign my variable of ltab_test to this control, the GetParent things
works
>>fine for it also.
>>
>>I am not able to determine what causes this to die.  Like I said, I can
>>create a tab control object from scratch and the GetParent function will
die
>>on it as well.  Note that this code worked just fine under the 6.5.1 PB
>>code.
>>
>>Does anybody have any ideas what in the world is going on here?  I have
>>spent 3 days trying to figure this mess out.
>>Thank you for your help.
>>Monte
>>
>>
>>
>
>Bruce Armstrong [TeamSybase]
>http://www.needhim.org/
>
>-----------== Posted via the PFCGuide Web Newsreader ==----------
>http://www.pfcguide.com/_newsgroups/group_list.asp


0
monte_ctr_schibbelhu
1/31/2001 6:03:53 PM
I believe one of the things that PB 7 tightened up on was assigning an object
of an ancestor class to a variable that is of a descendant class.  I didn't
quite follow your explanation of what you were doing, but that is generally
what causes that error message.  You might need to re-examine your code in
light of that.

On Tue, 30 Jan 2001 16:01:36 -0600,
 in powersoft.public.powerbuilder.general
 <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote: 
>I am running P/B 7.0.3 Build 10009 against an Oracle 8.0.5 database on
>Windows NT 4.0 Service Pack 4.
>
>I have a PFC application that ran just fine under 6.5.1 but is dying at
>runtime now with an Error Number 23 (which says you cannot assign an object
>of type 'x' to variable of type 'x'.  There are 2 separate occurrences of
>this.  One involves a window variable and the other involves a tab variable.
>
>Right now I am concentrating on the tab control.  I have a userobject called
>tab_control which contains 2 tab pages (tabpg_list and tabpg_detail).  In
>the tabpg_list object, I am defining a variable tab_control with a name of
>ltab_test  (defined like this:  tab_control    ltab_test).  When you run the
>application and it hits the constructor event, the application dies when I
>try to obtain a reference to the tab control by issuing a GetParent from the
>tabpage.  I have tried regenerating each of the objects involved all the way
>up the ancestor chain.  I have tried creating a new tab control object both
>by inheriting from u_tab and also by creating a new tab from scratch (which
>gets inherited from tab).  Neither of these methods will work.  However, I
>can define my variable of ltab_test as a type 'tab' and this works fine.
>Also, I have another tab control that is called tab_bar_code and when I
>assign my variable of ltab_test to this control, the GetParent things works
>fine for it also.
>
>I am not able to determine what causes this to die.  Like I said, I can
>create a tab control object from scratch and the GetParent function will die
>on it as well.  Note that this code worked just fine under the 6.5.1 PB
>code.
>
>Does anybody have any ideas what in the world is going on here?  I have
>spent 3 days trying to figure this mess out.
>Thank you for your help.
>Monte
>
>
>

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

-----------== Posted via the PFCGuide Web Newsreader ==----------
http://www.pfcguide.com/_newsgroups/group_list.asp
0
Bruce
1/31/2001 6:04:34 PM
>itab_parent = This.GetParent()

That's the problem.  GetParent returns a PowerObject.  It doesn't have to
be a tagpage, it could be a window or something else.

Instead, add a funtion to your tabpage called something like of_register
that takes an argument of tab_control.  Have your tab object then call
that function and pass itself in.

On Wed, 31 Jan 2001 12:03:53 -0600,
 in powersoft.public.powerbuilder.general
 <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote: 
>Thank you for responding Bruce.
>
>Here's my situation.
>I have a 4 objects in my pbl consisting of:
>w_bar_code  (the window)
>tab_control (a userobject inherited from u_tab)
>tabpg_list (a userobject inherited from u_tabpg)
>tabpg_detail (a userobject inherited from u_tabpg)
>
>The object tab_control contains the 2 tab pages (tabpg_list and
>tabpg_detail) on it.  On the tabpg_list userobject, I have declared a
>variable named itab_parent that is of a type tab_control.  It is defined
>like this in the instance variable declaration:
>tab_control    itab_parent
>
>In the constructor event of tabpg_list, I am issuing this statement:
>itab_parent = This.GetParent()
>
>This is causing my error number 23.  All I am trying to do here is to get a
>reference to the tab control from one of the tab pages.  This is a PFC
>application and it is strictly object-oriented.  I do not know of any other
>way to obtain a reference to the parent (in this case, the tab control).
>
>This code worked just fine in 6.5.1.  Now, if I define my variable
>itab_parent as a type of just 'tab'; it works fine as far as the GetParent
>thing is concerned.  I cannot do this however because there are function and
>tab pages on my tab control tab that are not found in just a generic tab
>control.
>What am I doing wrong?  What are my options around this?
>Thank you for your help!
>Monte
>
>
>
>Bruce Armstrong [TeamSybase] wrote in message ...
>>I believe one of the things that PB 7 tightened up on was assigning an
>object
>>of an ancestor class to a variable that is of a descendant class.  I didn't
>>quite follow your explanation of what you were doing, but that is generally
>>what causes that error message.  You might need to re-examine your code in
>>light of that.
>>
>>On Tue, 30 Jan 2001 16:01:36 -0600,
>> in powersoft.public.powerbuilder.general
>> <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote:
>>>I am running P/B 7.0.3 Build 10009 against an Oracle 8.0.5 database on
>>>Windows NT 4.0 Service Pack 4.
>>>
>>>I have a PFC application that ran just fine under 6.5.1 but is dying at
>>>runtime now with an Error Number 23 (which says you cannot assign an
>object
>>>of type 'x' to variable of type 'x'.  There are 2 separate occurrences of
>>>this.  One involves a window variable and the other involves a tab
>variable.
>>>
>>>Right now I am concentrating on the tab control.  I have a userobject
>called
>>>tab_control which contains 2 tab pages (tabpg_list and tabpg_detail).  In
>>>the tabpg_list object, I am defining a variable tab_control with a name of
>>>ltab_test  (defined like this:  tab_control    ltab_test).  When you run
>the
>>>application and it hits the constructor event, the application dies when I
>>>try to obtain a reference to the tab control by issuing a GetParent from
>the
>>>tabpage.  I have tried regenerating each of the objects involved all the
>way
>>>up the ancestor chain.  I have tried creating a new tab control object
>both
>>>by inheriting from u_tab and also by creating a new tab from scratch
>(which
>>>gets inherited from tab).  Neither of these methods will work.  However, I
>>>can define my variable of ltab_test as a type 'tab' and this works fine.
>>>Also, I have another tab control that is called tab_bar_code and when I
>>>assign my variable of ltab_test to this control, the GetParent things
>works
>>>fine for it also.
>>>
>>>I am not able to determine what causes this to die.  Like I said, I can
>>>create a tab control object from scratch and the GetParent function will
>die
>>>on it as well.  Note that this code worked just fine under the 6.5.1 PB
>>>code.
>>>
>>>Does anybody have any ideas what in the world is going on here?  I have
>>>spent 3 days trying to figure this mess out.
>>>Thank you for your help.
>>>Monte
>>>
>>>
>>>
>>
>>Bruce Armstrong [TeamSybase]
>>http://www.needhim.org/
>>
>>-----------== Posted via the PFCGuide Web Newsreader ==----------
>>http://www.pfcguide.com/_newsgroups/group_list.asp
>
>

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

-----------== Posted via the PFCGuide Web Newsreader ==----------
http://www.pfcguide.com/_newsgroups/group_list.asp
0
Bruce
1/31/2001 10:49:23 PM
Not true - GetParent returns a PowerObject, which in this case *will* be a
tab, so the assignment should (and in our app, does) work correctly.
S.

--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 Fax 01904 481666
Visit us at www.getrealsystems.com

Specialists in e-Procurement and supply chain technology


"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
wrote in message news:u1XcOg9iAHA.316@forums.sybase.com...
> >itab_parent = This.GetParent()
>
> That's the problem.  GetParent returns a PowerObject.  It doesn't have to
> be a tagpage, it could be a window or something else.
>
> Instead, add a funtion to your tabpage called something like of_register
> that takes an argument of tab_control.  Have your tab object then call
> that function and pass itself in.
>
> On Wed, 31 Jan 2001 12:03:53 -0600,
>  in powersoft.public.powerbuilder.general
>  <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote:
> >Thank you for responding Bruce.
> >
> >Here's my situation.
> >I have a 4 objects in my pbl consisting of:
> >w_bar_code  (the window)
> >tab_control (a userobject inherited from u_tab)
> >tabpg_list (a userobject inherited from u_tabpg)
> >tabpg_detail (a userobject inherited from u_tabpg)
> >
> >The object tab_control contains the 2 tab pages (tabpg_list and
> >tabpg_detail) on it.  On the tabpg_list userobject, I have declared a
> >variable named itab_parent that is of a type tab_control.  It is defined
> >like this in the instance variable declaration:
> >tab_control    itab_parent
> >
> >In the constructor event of tabpg_list, I am issuing this statement:
> >itab_parent = This.GetParent()
> >
> >This is causing my error number 23.  All I am trying to do here is to get
a
> >reference to the tab control from one of the tab pages.  This is a PFC
> >application and it is strictly object-oriented.  I do not know of any
other
> >way to obtain a reference to the parent (in this case, the tab control).
> >
> >This code worked just fine in 6.5.1.  Now, if I define my variable
> >itab_parent as a type of just 'tab'; it works fine as far as the
GetParent
> >thing is concerned.  I cannot do this however because there are function
and
> >tab pages on my tab control tab that are not found in just a generic tab
> >control.
> >What am I doing wrong?  What are my options around this?
> >Thank you for your help!
> >Monte
> >
> >
> >
> >Bruce Armstrong [TeamSybase] wrote in message ...
> >>I believe one of the things that PB 7 tightened up on was assigning an
> >object
> >>of an ancestor class to a variable that is of a descendant class.  I
didn't
> >>quite follow your explanation of what you were doing, but that is
generally
> >>what causes that error message.  You might need to re-examine your code
in
> >>light of that.
> >>
> >>On Tue, 30 Jan 2001 16:01:36 -0600,
> >> in powersoft.public.powerbuilder.general
> >> <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote:
> >>>I am running P/B 7.0.3 Build 10009 against an Oracle 8.0.5 database on
> >>>Windows NT 4.0 Service Pack 4.
> >>>
> >>>I have a PFC application that ran just fine under 6.5.1 but is dying at
> >>>runtime now with an Error Number 23 (which says you cannot assign an
> >object
> >>>of type 'x' to variable of type 'x'.  There are 2 separate occurrences
of
> >>>this.  One involves a window variable and the other involves a tab
> >variable.
> >>>
> >>>Right now I am concentrating on the tab control.  I have a userobject
> >called
> >>>tab_control which contains 2 tab pages (tabpg_list and tabpg_detail).
In
> >>>the tabpg_list object, I am defining a variable tab_control with a name
of
> >>>ltab_test  (defined like this:  tab_control    ltab_test).  When you
run
> >the
> >>>application and it hits the constructor event, the application dies
when I
> >>>try to obtain a reference to the tab control by issuing a GetParent
from
> >the
> >>>tabpage.  I have tried regenerating each of the objects involved all
the
> >way
> >>>up the ancestor chain.  I have tried creating a new tab control object
> >both
> >>>by inheriting from u_tab and also by creating a new tab from scratch
> >(which
> >>>gets inherited from tab).  Neither of these methods will work.
However, I
> >>>can define my variable of ltab_test as a type 'tab' and this works
fine.
> >>>Also, I have another tab control that is called tab_bar_code and when I
> >>>assign my variable of ltab_test to this control, the GetParent things
> >works
> >>>fine for it also.
> >>>
> >>>I am not able to determine what causes this to die.  Like I said, I can
> >>>create a tab control object from scratch and the GetParent function
will
> >die
> >>>on it as well.  Note that this code worked just fine under the 6.5.1 PB
> >>>code.
> >>>
> >>>Does anybody have any ideas what in the world is going on here?  I have
> >>>spent 3 days trying to figure this mess out.
> >>>Thank you for your help.
> >>>Monte
> >>>
> >>>
> >>>
> >>
> >>Bruce Armstrong [TeamSybase]
> >>http://www.needhim.org/
> >>
> >>-----------== Posted via the PFCGuide Web Newsreader ==----------
> >>http://www.pfcguide.com/_newsgroups/group_list.asp
> >
> >
>
> Bruce Armstrong [TeamSybase]
> http://www.needhim.org/
>
> -----------== Posted via the PFCGuide Web Newsreader ==----------
> http://www.pfcguide.com/_newsgroups/group_list.asp


0
Simon
2/1/2001 11:08:55 AM
Anytime I've had this, a full rebuild resolved the problem. Does that
not work for you?

Good luck,

Terry [TeamSybase] and Sequel the techno-kitten

On Wed, 31 Jan 2001 12:03:53 -0600,
<monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote:

>Thank you for responding Bruce.
>
>Here's my situation.
>I have a 4 objects in my pbl consisting of:
>w_bar_code  (the window)
>tab_control (a userobject inherited from u_tab)
>tabpg_list (a userobject inherited from u_tabpg)
>tabpg_detail (a userobject inherited from u_tabpg)
>
>The object tab_control contains the 2 tab pages (tabpg_list and
>tabpg_detail) on it.  On the tabpg_list userobject, I have declared a
>variable named itab_parent that is of a type tab_control.  It is defined
>like this in the instance variable declaration:
>tab_control    itab_parent
>
>In the constructor event of tabpg_list, I am issuing this statement:
>itab_parent = This.GetParent()
>
>This is causing my error number 23.  All I am trying to do here is to get a
>reference to the tab control from one of the tab pages.  This is a PFC
>application and it is strictly object-oriented.  I do not know of any other
>way to obtain a reference to the parent (in this case, the tab control).
>
>This code worked just fine in 6.5.1.  Now, if I define my variable
>itab_parent as a type of just 'tab'; it works fine as far as the GetParent
>thing is concerned.  I cannot do this however because there are function and
>tab pages on my tab control tab that are not found in just a generic tab
>control.
>What am I doing wrong?  What are my options around this?
>Thank you for your help!
>Monte
>
>
>
>Bruce Armstrong [TeamSybase] wrote in message ...
>>I believe one of the things that PB 7 tightened up on was assigning an
>object
>>of an ancestor class to a variable that is of a descendant class.  I didn't
>>quite follow your explanation of what you were doing, but that is generally
>>what causes that error message.  You might need to re-examine your code in
>>light of that.
>>
>>On Tue, 30 Jan 2001 16:01:36 -0600,
>> in powersoft.public.powerbuilder.general
>> <monte_ctr_schibbelhute@mmacmail.jccbi.gov> wrote:
>>>I am running P/B 7.0.3 Build 10009 against an Oracle 8.0.5 database on
>>>Windows NT 4.0 Service Pack 4.
>>>
>>>I have a PFC application that ran just fine under 6.5.1 but is dying at
>>>runtime now with an Error Number 23 (which says you cannot assign an
>object
>>>of type 'x' to variable of type 'x'.  There are 2 separate occurrences of
>>>this.  One involves a window variable and the other involves a tab
>variable.
>>>
>>>Right now I am concentrating on the tab control.  I have a userobject
>called
>>>tab_control which contains 2 tab pages (tabpg_list and tabpg_detail).  In
>>>the tabpg_list object, I am defining a variable tab_control with a name of
>>>ltab_test  (defined like this:  tab_control    ltab_test).  When you run
>the
>>>application and it hits the constructor event, the application dies when I
>>>try to obtain a reference to the tab control by issuing a GetParent from
>the
>>>tabpage.  I have tried regenerating each of the objects involved all the
>way
>>>up the ancestor chain.  I have tried creating a new tab control object
>both
>>>by inheriting from u_tab and also by creating a new tab from scratch
>(which
>>>gets inherited from tab).  Neither of these methods will work.  However, I
>>>can define my variable of ltab_test as a type 'tab' and this works fine.
>>>Also, I have another tab control that is called tab_bar_code and when I
>>>assign my variable of ltab_test to this control, the GetParent things
>works
>>>fine for it also.
>>>
>>>I am not able to determine what causes this to die.  Like I said, I can
>>>create a tab control object from scratch and the GetParent function will
>die
>>>on it as well.  Note that this code worked just fine under the 6.5.1 PB
>>>code.
>>>
>>>Does anybody have any ideas what in the world is going on here?  I have
>>>spent 3 days trying to figure this mess out.
>>>Thank you for your help.
>>>Monte
>>>
>>>
>>>
>>
>>Bruce Armstrong [TeamSybase]
>>http://www.needhim.org/
>>
>>-----------== Posted via the PFCGuide Web Newsreader ==----------
>>http://www.pfcguide.com/_newsgroups/group_list.asp
>


Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a PowerBuilder Developer's Toolkit, 
winner of PowerTimes 1999 "Little Helper of the Year"
0
Terry
2/1/2001 2:29:24 PM
Goto sybase's website..In the EBFs/Updates section, make sure timeframe is
set to all and see what's available for 7x


--
Evita R. Chapa
Senior Systems Analyst II
Command Technologies, Inc.

<Laurie_W.> wrote in message
news:0EBA19BCB15E674400510DDB85256CFC.00516D95852569EE@webforums...
> I've been trying to solve this problem myself - looking here for
> suggestions.  So far the rebuild has not worked.  However, one twist.  I'm
> only getting this error when I run my application (via the "running man")
> directly in PowerBuilder.  I have generated an executable of the
> application and I do not get the error when running the executable.
>
> I just upgraded to PB7.0.3 build 10009(from 6.5.1).  Running on Windows
> 2000.
>
> I noticed one response that this is a problem with build 10009, but
perhaps
> not with a later build.  How do I get a later build?
>
> Any other suggestions or help would be GREATLY appreciated.  My timeframe
> is ticking down and I may end up having to do work arounds when developing
> (ie: generate the .exe and run it in development...ugh) instead of
actually
> using pb to the best of it's ability.
>
> Thanks,
> Laurie


0
E
4/2/2003 2:18:05 PM
I've been trying to solve this problem myself - looking here for 
suggestions.  So far the rebuild has not worked.  However, one twist.  I'm 
only getting this error when I run my application (via the "running man") 
directly in PowerBuilder.  I have generated an executable of the 
application and I do not get the error when running the executable.

I just upgraded to PB7.0.3 build 10009(from 6.5.1).  Running on Windows 
2000.

I noticed one response that this is a problem with build 10009, but perhaps 
not with a later build.  How do I get a later build?

Any other suggestions or help would be GREATLY appreciated.  My timeframe 
is ticking down and I may end up having to do work arounds when developing 
(ie: generate the .exe and run it in development...ugh) instead of actually 
using pb to the best of it's ability.

Thanks,
Laurie
0
Laurie_W
4/2/2003 2:45:19 PM
I couldn't find the original that this post is a reply to, but it sounds
like a known bug in PB7 -- when you add a new control to a visual
userobject, you need to regenerate all the objects or windows that contain
that object, or else you get that error.  It may have been fixed in a later
build of PB7; it does seem to be resolved in PB8.

Ken

<Laurie_W.> wrote in message
news:0EBA19BCB15E674400510DDB85256CFC.00516D95852569EE@webforums...
> I've been trying to solve this problem myself - looking here for
> suggestions.  So far the rebuild has not worked.  However, one twist.  I'm
> only getting this error when I run my application (via the "running man")
> directly in PowerBuilder.  I have generated an executable of the
> application and I do not get the error when running the executable.
>
> I just upgraded to PB7.0.3 build 10009(from 6.5.1).  Running on Windows
> 2000.
>
> I noticed one response that this is a problem with build 10009, but
perhaps
> not with a later build.  How do I get a later build?
>
> Any other suggestions or help would be GREATLY appreciated.  My timeframe
> is ticking down and I may end up having to do work arounds when developing
> (ie: generate the .exe and run it in development...ugh) instead of
actually
> using pb to the best of it's ability.
>
> Thanks,
> Laurie


0
Ken
4/2/2003 3:06:47 PM
Reply:

Similar Artilces:

"x = " vs. "var x = "
Just a quick q: why does the expression "var x = 5" return "undefined"? The expression "x = 5" returns 5, as I would expect. Inside jsshell "var x = 5" doesn't print a value (I assume it's suppressing undefined results). Sterling Sterling Bates wrote: > Just a quick q: why does the expression "var x = 5" return "undefined"? This is not an expression. This is a statement, declaring a variable x initializing it with 5. > The expression "x = 5" returns 5, as I would expect. This is an e...

Keyboard behavior change for <input type="number"> and <input x-inputmode="numeric">
Greetings everyone, Starting with bug 1024298 (which has landed), for <input type="number"> [1] and <input type="text" x-inputmode="numeric"> input fields, we bring up the full keyboard, instead of the old four-by-three digit-only numpad. The full keyboard brought up is defaulted to display the number panel first. [1] This excludes <input type="number" x-inputmode="digit">, for which the numpad panel would display. As this change is system-wide, I'd like to invite you to kindly check that it has not br...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD 9.0.0.580. Bruce "Bruce Lamb" <lamb.bruce@mayo.edu> wrote in message news:6HgI315nCHA.155@forums.sybase.com... > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <chip@pobox.com> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

$x ="('what is happening here?')"; print "${$x}";
This is a bug report for perl from dmi@questrel.com, generated with the help of perlbug 1.28 running under perl v5.6.0. ----------------------------------------------------------------- [Please enter your report here] $x ="('what is happening here?')"; print "${$x}"; [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=core severity=low --- Site configuration information for perl v5.6.0: Configured by dmi at Sat Jun 3 20:07:43 PDT 2000. Summary of...

"Time Server Type" vs. "Timesync Type"
We have two time sources within our network: a Reference server and a Primary server . . . both are pointing to External Time Source servers and to each other. I was looking at their settings and confess I'm confused about the difference between two settings: - Default Time Server Type - Timesync Type Both settings offer the standard selection of Single, Secondary, Primary, and Reference. I've matched both settings to their server (either Primary or Reference) but I don't know what the difference represents. Could someone confirm how these settings should b...

RFE: for "%%" becoming to "&&" as "//" is to "||"; the "defined(x) && expr" operator...
In looking at the 5.10 perl5op doc's, I was thinking about the "//" operator and how in an expression "a // b" it tests 'definedness' the left-hand-side and returns it if it is defined, otherwise, it returns the right hand side. The idea being that you might normally use "||" but if the 'lhs' could be integer '0', it wouldn't work as desired. I think it could be useful to provide an equivalent operator for '&&', say '%%', that tests 'defined(lhs)' and if true, returns the 2nd part (rig...

quotes, quotes, quotes...
I am getting this error and I know what is causing it, but I have no idea how to fix it, any help would be great. The script steps through the /var/log/messages file on a linux server and puts The entries into a mysql database. However when it gets to the 'hlt' line in the messages file it just barfs. The single quotes are freaking it out. I know about quotes but not how to use in this situation. Thanks, Paul Error: May 27 17:53:00 localhost kernel: Checking 'hlt' instruction... OK. <----- doesn't like this in the messages file DBD::mysql::st exec...

Converting a type "void" to a type "System.Drawing.Image"
I'm trying to input a thumbnail image in to a a image control.  I keep getting the same error "Cannot implicitly convert type void to type System.Drawing.Image".  I'm coding in C# I've been looking throught object browser to try to find a way to convert the type but it is not working. can anyone help   Hi, could it be that method has incorrect return type? is it your own method raising it? Post some code.Thanks,Teemu KeiskiFinland, EU Here is the code:  The error is commented.  public static bool ThumbNailCallBack() { return false; } public s...

$x ="('what is happening here?')"; print "${$x}"; #2
Richard Foley <Richard.Foley@m.dasa.de> claimed to have written: > $x ="('what is happening here?')"; > print "${$x}"; What indeed *is* happening here? It's bad enough that all these reposted bug reports have apparent source <Richard.Foley@m.dasa.de>, since it's generally impossible to reply to the original poster without rummaging in the bug database to find the real message details. But this one doesn't even have the bug ID (which should be 20000607.009). What gives? (I also notice that in the bug database, the bug ...

Error Number 23 , cannot Assign Object of Type 'X' to Variable of type 'X', Inherited object
Hi!, i am having a Problem, with powerbuilder , When I am trying to inherit an object and place on my tabpage, It give an error on runtime, saying, Error Number 23, Cannot assign object of type ddlb_1 to variable of type ddld_1 create script line number 5 Please can you help me with this, Thanx, Regenerate. Regenerate. <Jimmy> wrote in message news:14BE37B5F96EDA61007279FA85256AB1.00727A0885256AB1@webforums... > Hi!, > i am having a Problem, with powerbuilder , > > When I am trying to inherit an object and place on my tabpage, > It give a...

How to adopt: Dim rowValues As Object() = {"","",""}?
Hi guys! I'm trying to adopt the code from the Editable Data Grid template. My underlying table has 3 columns: 1st: int(4), identity, autoincrement; 2nd:datetime(8); 3rd:varchar. What do I need to specify in Dim rowValues As Object() = {"","",""} instead of the first and second "" to get rid of the System.FormatException: Input string was not in a correct format… Thanks ...

Proposal: "is defined" trait, "is typed" trait, "traits" pragma.
--Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline So I'm starting to write the inferencer. Immediately I encounter the problem that every type can potentially contain "undef": my IO $x = open('/etc/passwd'); $x = undef; $x.close; This raises the runtime error: *** Can't call method "close" on an undefined value. The "undef" literal can defeat the type checker freely: my Int @x := undef; say @x.end; # boom, undefined list generator, per S04 I understand $Larr...

What is this for? "<label style=""display:none;"" for=""" & cboFieldType.ClientID.ToString & """>Type</label>"
I'm digging through the code of DNN and I found many ocurrences of this type of code: lblFieldType.Text = "<label style=""display:none;"" for=""" & cboFieldType.ClientID.ToString & """>Type</label>" What is that code for? The label is never displayed and I could not figure out what DDN uses it for. thank you This is for ADA compliance. The guidelines require that form elements have an associated label. This helps the text readers out with identifying the different parts of the form. BruceDynamic...

Web resources about - Error Number 23: cannot assign object of type "x" to variable of type "x" - sybase.powerbuilder.general

Resources last updated: 12/26/2015 10:15:50 PM