Converting C# to PB 12.1 .NET

As there is a shortage of PB sample .NET code I find I am
being forced to convert C# code to PB(especially for .NET
3rd party controls). I am currently trying to rewrite this
C# dragdrop sample app
http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx

Which is fine, great way to learn C#, but some of the things
C# does makes my head spin, in particular how do you use PB
WPF interfaces, Enumerated constants and how do you create a
C# class that takes args  at its declaration in PB .NET like
(or what=92s the best work around) to achieve this.
DragManager dragHelperTabControl0 =3d new
DragManager(this.docTabControl0, tabControlDataProvider);

I thought maybe if we pooled our efforts and knowledge we
could kill the beast. I have already achieved extensive how
to=92s in using Dockpanels and how to convert PFC sheets to
dockable windows and will share what I have found so far. I
have found PB WPF is shaping up to be a very powerful
version of PB, but getting up to speed is a steep learning
curve.
0
Peter
1/12/2011 6:27:32 PM
sybase.powerbuilder.net 284 articles. 0 followers. Follow

10 Replies
897 Views

Similar Articles

[PageSpeed] 47

Peter,
Isn't that just a parameterized constructor?
http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/

Paul Horan[Sybase]
http://paulhoran.ulitzer.com

<Peter Conn> wrote in message news:4d2df294.56db.1681692777@sybase.com...
As there is a shortage of PB sample .NET code I find I am
being forced to convert C# code to PB(especially for .NET
3rd party controls). I am currently trying to rewrite this
C# dragdrop sample app
http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx

Which is fine, great way to learn C#, but some of the things
C# does makes my head spin, in particular how do you use PB
WPF interfaces, Enumerated constants and how do you create a
C# class that takes args  at its declaration in PB .NET like
(or what's the best work around) to achieve this.
DragManager dragHelperTabControl0 = new
DragManager(this.docTabControl0, tabControlDataProvider);

I thought maybe if we pooled our efforts and knowledge we
could kill the beast. I have already achieved extensive how
to's in using Dockpanels and how to convert PFC sheets to
dockable windows and will share what I have found so far. I
have found PB WPF is shaping up to be a very powerful
version of PB, but getting up to speed is a steep learning
curve. 


0
Paul
1/12/2011 7:19:09 PM
OMG yes that's it, see we just don't know where all this
stuff is hiding. OK Paul what about an example of using a
local or global Interface. Plus in enumeration C# does see
below, I got all done but the last one         AllowDropMask
= DragEnter | DragOver | Drop | DragLeave,

    public enum DataConsumerActions
    {
        DragEnter = 0x01,
        DragOver  = 0x02,
        Drop      = 0x04,
        DragLeave = 0x08,

        None      = 0x00,

        AllowDropMask = DragEnter | DragOver | Drop |
DragLeave,
    }

> Peter,
> Isn't that just a parameterized constructor?
>
http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>
> Paul Horan[Sybase]
> http://paulhoran.ulitzer.com
>
> <Peter Conn> wrote in message
> news:4d2df294.56db.1681692777@sybase.com... As there is a
> shortage of PB sample .NET code I find I am being forced
> to convert C# code to PB(especially for .NET 3rd party
> controls). I am currently trying to rewrite this C#
> dragdrop sample app
>
http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>
> Which is fine, great way to learn C#, but some of the
> things C# does makes my head spin, in particular how do
> you use PB WPF interfaces, Enumerated constants and how do
> you create a C# class that takes args  at its declaration
> in PB .NET like (or what's the best work around) to
> achieve this. DragManager dragHelperTabControl0 = new
> DragManager(this.docTabControl0, tabControlDataProvider);
>
> I thought maybe if we pooled our efforts and knowledge we
> could kill the beast. I have already achieved extensive
> how to's in using Dockpanels and how to convert PFC sheets
> to dockable windows and will share what I have found so
> far. I have found PB WPF is shaping up to be a very
> powerful version of PB, but getting up to speed is a steep
> learning curve.
>
>
0
Peter
1/12/2011 8:29:48 PM
How about adding a USING interface, does anyone understand
how that works?

> As there is a shortage of PB sample .NET code I find I am
> being forced to convert C# code to PB(especially for .NET
> 3rd party controls). I am currently trying to rewrite this
> C# dragdrop sample app
>
http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>
> Which is fine, great way to learn C#, but some of the
> things C# does makes my head spin, in particular how do
> you use PB WPF interfaces, Enumerated constants and how do
> you create a C# class that takes args  at its declaration
> in PB .NET like (or what=92s the best work around) to
> achieve this. DragManager dragHelperTabControl0 =3d new
> DragManager(this.docTabControl0, tabControlDataProvider);
>
> I thought maybe if we pooled our efforts and knowledge we
> could kill the beast. I have already achieved extensive
> how to=92s in using Dockpanels and how to convert PFC
sheets
> to dockable windows and will share what I have found so
> far. I have found PB WPF is shaping up to be a very
> powerful version of PB, but getting up to speed is a steep
> learning curve.
0
Peter
1/12/2011 10:11:48 PM
OMG yes thats it, thx Paul

> Peter,
> Isn't that just a parameterized constructor?
>
http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>
> Paul Horan[Sybase]
> http://paulhoran.ulitzer.com
>
> <Peter Conn> wrote in message
> news:4d2df294.56db.1681692777@sybase.com... As there is a
> shortage of PB sample .NET code I find I am being forced
> to convert C# code to PB(especially for .NET 3rd party
> controls). I am currently trying to rewrite this C#
> dragdrop sample app
>
http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>
> Which is fine, great way to learn C#, but some of the
> things C# does makes my head spin, in particular how do
> you use PB WPF interfaces, Enumerated constants and how do
> you create a C# class that takes args  at its declaration
> in PB .NET like (or what's the best work around) to
> achieve this. DragManager dragHelperTabControl0 = new
> DragManager(this.docTabControl0, tabControlDataProvider);
>
> I thought maybe if we pooled our efforts and knowledge we
> could kill the beast. I have already achieved extensive
> how to's in using Dockpanels and how to convert PFC sheets
> to dockable windows and will share what I have found so
> far. I have found PB WPF is shaping up to be a very
> powerful version of PB, but getting up to speed is a steep
> learning curve.
>
>
0
Peter
1/12/2011 10:14:49 PM
Hi Peter

Not sure how to accomplish this in PowerScript

The only bit operators in PowerScript 12 (that I am aware of) are >>  << 
  left and right bit shifting

Of course & is the reserved line continuation character so that can be 
the bit wise And operator  there is no |  or || operator

To my knowledge PowerScript  And Or are logical operators not bit operators


-- 
Yakov [TeamSybase]
eLearnIT LLC
Twitter: http://twitter.com/eLearnPB
Blog: http://yakovwerde.sys-con.com
Web Site: http://www.eLearnITOnline.com


On 1/12/2011 3:29 PM, Peter wrote:
> OMG yes that's it, see we just don't know where all this
> stuff is hiding. OK Paul what about an example of using a
> local or global Interface. Plus in enumeration C# does see
> below, I got all done but the last one         AllowDropMask
> = DragEnter | DragOver | Drop | DragLeave,
>
>      public enum DataConsumerActions
>      {
>          DragEnter = 0x01,
>          DragOver  = 0x02,
>          Drop      = 0x04,
>          DragLeave = 0x08,
>
>          None      = 0x00,
>
>          AllowDropMask = DragEnter | DragOver | Drop |
> DragLeave,
>      }
>
>> Peter,
>> Isn't that just a parameterized constructor?
>>
> http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>>
>> Paul Horan[Sybase]
>> http://paulhoran.ulitzer.com
>>
>> <Peter Conn>  wrote in message
>> news:4d2df294.56db.1681692777@sybase.com... As there is a
>> shortage of PB sample .NET code I find I am being forced
>> to convert C# code to PB(especially for .NET 3rd party
>> controls). I am currently trying to rewrite this C#
>> dragdrop sample app
>>
> http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>>
>> Which is fine, great way to learn C#, but some of the
>> things C# does makes my head spin, in particular how do
>> you use PB WPF interfaces, Enumerated constants and how do
>> you create a C# class that takes args  at its declaration
>> in PB .NET like (or what's the best work around) to
>> achieve this. DragManager dragHelperTabControl0 = new
>> DragManager(this.docTabControl0, tabControlDataProvider);
>>
>> I thought maybe if we pooled our efforts and knowledge we
>> could kill the beast. I have already achieved extensive
>> how to's in using Dockpanels and how to convert PFC sheets
>> to dockable windows and will share what I have found so
>> far. I have found PB WPF is shaping up to be a very
>> powerful version of PB, but getting up to speed is a steep
>> learning curve.
>>
>>

0
Yakov
1/12/2011 10:29:20 PM
Here ya go

http://video.sybase.com/products/powerbuilder/powerscript-dot-net-tutorial/player.html?slide=111

This is one bug that I discovered and reported.  When an interface 
defines properties, you will see them in the Solution Explorer but when 
you attempt to implement the getters and setters you will get compiler 
errors

HTH


-- 
Yakov [TeamSybase]
eLearnIT LLC
Twitter: http://twitter.com/eLearnPB
Blog: http://yakovwerde.sys-con.com
Web Site: http://www.eLearnITOnline.com

On 1/12/2011 5:11 PM, Peter wrote:
> How about adding a USING interface, does anyone understand
> how that works?
>
>> As there is a shortage of PB sample .NET code I find I am
>> being forced to convert C# code to PB(especially for .NET
>> 3rd party controls). I am currently trying to rewrite this
>> C# dragdrop sample app
>>
> http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>>
>> Which is fine, great way to learn C#, but some of the
>> things C# does makes my head spin, in particular how do
>> you use PB WPF interfaces, Enumerated constants and how do
>> you create a C# class that takes args  at its declaration
>> in PB .NET like (or what�s the best work around) to
>> achieve this. DragManager dragHelperTabControl0 = new
>> DragManager(this.docTabControl0, tabControlDataProvider);
>>
>> I thought maybe if we pooled our efforts and knowledge we
>> could kill the beast. I have already achieved extensive
>> how to�s in using Dockpanels and how to convert PFC
> sheets
>> to dockable windows and will share what I have found so
>> far. I have found PB WPF is shaping up to be a very
>> powerful version of PB, but getting up to speed is a steep
>> learning curve.

0
Yakov
1/12/2011 10:55:39 PM
This is a multi-part message in MIME format.

------=_NextPart_000_008F_01CBB299.C6B78F10
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=response
Content-Transfer-Encoding: 7bit

Hi Yakov;

FYI: All the bit operators are coded in my STD Foundation Classes (on 
SourceForge). Have a look at the "nc_numerical" NVUO (see attached). This 
object has been around since 2003/2004 and implements all the Bitwise 
operations (and a few more) in native PS code that is found in PB 12.net. 
This allows the PB Win32 applications to have bitwise functions.  :-)

PS: Also available for EAServer, Appeon and PocketBuilder!

Regards ... Chris
President: OSUG / STD Inc.
Blog: http://chrispollach.blogspot.com
PBDJ: http://chrispollach.sys-con.com
SourceForge: http://sourceforge.net/projects/stdfndclass

"Yakov Werde [TeamSybase]"  wrote in message news:4d2e2b40@forums-1-dub...

Hi Peter

Not sure how to accomplish this in PowerScript

The only bit operators in PowerScript 12 (that I am aware of) are >>  <<
  left and right bit shifting

Of course & is the reserved line continuation character so that can be
the bit wise And operator  there is no |  or || operator

To my knowledge PowerScript  And Or are logical operators not bit operators


-- 
Yakov [TeamSybase]
eLearnIT LLC
Twitter: http://twitter.com/eLearnPB
Blog: http://yakovwerde.sys-con.com
Web Site: http://www.eLearnITOnline.com


On 1/12/2011 3:29 PM, Peter wrote:
> OMG yes that's it, see we just don't know where all this
> stuff is hiding. OK Paul what about an example of using a
> local or global Interface. Plus in enumeration C# does see
> below, I got all done but the last one         AllowDropMask
> = DragEnter | DragOver | Drop | DragLeave,
>
>      public enum DataConsumerActions
>      {
>          DragEnter = 0x01,
>          DragOver  = 0x02,
>          Drop      = 0x04,
>          DragLeave = 0x08,
>
>          None      = 0x00,
>
>          AllowDropMask = DragEnter | DragOver | Drop |
> DragLeave,
>      }
>
>> Peter,
>> Isn't that just a parameterized constructor?
>>
> http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>>
>> Paul Horan[Sybase]
>> http://paulhoran.ulitzer.com
>>
>> <Peter Conn>  wrote in message
>> news:4d2df294.56db.1681692777@sybase.com... As there is a
>> shortage of PB sample .NET code I find I am being forced
>> to convert C# code to PB(especially for .NET 3rd party
>> controls). I am currently trying to rewrite this C#
>> dragdrop sample app
>>
> http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>>
>> Which is fine, great way to learn C#, but some of the
>> things C# does makes my head spin, in particular how do
>> you use PB WPF interfaces, Enumerated constants and how do
>> you create a C# class that takes args  at its declaration
>> in PB .NET like (or what's the best work around) to
>> achieve this. DragManager dragHelperTabControl0 = new
>> DragManager(this.docTabControl0, tabControlDataProvider);
>>
>> I thought maybe if we pooled our efforts and knowledge we
>> could kill the beast. I have already achieved extensive
>> how to's in using Dockpanels and how to convert PFC sheets
>> to dockable windows and will share what I have found so
>> far. I have found PB WPF is shaping up to be a very
>> powerful version of PB, but getting up to speed is a steep
>> learning curve.
>>
>> 

------=_NextPart_000_008F_01CBB299.C6B78F10
Content-Type: image/png;
	name="STD_FC_Bitwise.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="STD_FC_Bitwise.png"

iVBORw0KGgoAAAANSUhEUgAAAYUAAAGHCAIAAADQidkUAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAEEjSURBVHhe7Z3fr13Flef9Z8xDRAtlZpRpiVGi
Cf2QtvKQN9RSpHngJUhYSpRIThRaGSly8xJPWgqK1JZCpCYEIvBNFCs/+BEyk4bGBl/AgI0N/gnG
NhgbbLB9jX8bYnVGYurewpXltarWXlW7du2qvdfR0dU5+1StWrWq6rO/tc8+665aWFj45JNPLq48
zAt9aAQ0AhqB2AgYjDiG2Bfehym2atUq+5Elj/m7du3aRx555Ctf+crJkydXIR4xtvQjjYBGQCMQ
Ag3ikeGOQ497HeLRF7/4xaeffvqBf9t3A49MaX1oBDQCGoGECFB9ZDEEwcTw6MSJEw8+uf8GHin7
NQIaAY1Anwi4iz/WCISR3aN592tGH/35z3/+xVMH8H4tdt+o5TUCGgGNgPf6UZQ+MjF86N9f1+tH
fU4GWlcjoBH49OJ0z+tHhkcPP30jjxI2jVpFI6AR0Aj0/H7N7NcMjzZuPqjXj/T8phHQCGSLALp+
hOwy149MxV9ueVN5lG0k1JBGQCNgbyliHqHr2cojnTwaAY1A5gjAa9ih17ZJe+ej+Wvuh7T7tV89
c0j1UebxUHMaAY2AJAKUR7/eevgGHullOY2ARkAjMGgE3AUmyqNNi0cwj4x20odGQCOgERgiAuYm
bIZHv3nubQ+Phru567vf/W6a8WIV39v94uIPvuye5m3I4f/xwCcTeKYNh9bSCJgIXLt2zfDl1KlT
586duwAeZrNm3sEt26VLly5fvry0tMTz6LfPHy3Ko8pH0cLoupNf/uTYMphCSJoAjEwX9KERSI5A
dh79bltZHhWTOS7EUS0uw+iY4dHK07xYXH5uvNMR6oaBUx4lz2OtOI0IZOfRIy8eU33017mxjB7D
IEOi6zA6tvHLd355ajwyHXYwncbC0F6MEoH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SIhDkkflAHxoBjYBGoHAEPNePmtt8qsMaAY3AZCKA
rmf/fxlKsJmMAhsbAAAAAElFTkSuQmCC

------=_NextPart_000_008F_01CBB299.C6B78F10--

0
Chris
1/13/2011 1:46:27 AM
Hi guys,

Refer to this part:

http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc00586.1200/html/dplynet/BABEIIFE.htm

In the .Net environment AND, OR, NOT and XOR operators can be used as 
bitwise ones!
No need of custom objects.

Regards,
Ivaylo


"Yakov Werde [TeamSybase]" <NOSPAM.yakov@yakovwerde.com> wrote in message 
news:4d2e2b40@forums-1-dub...
> Hi Peter
>
> Not sure how to accomplish this in PowerScript
>
> The only bit operators in PowerScript 12 (that I am aware of) are >>  << 
> left and right bit shifting
>
> Of course & is the reserved line continuation character so that can be the 
> bit wise And operator  there is no |  or || operator
>
> To my knowledge PowerScript  And Or are logical operators not bit 
> operators
>
>
> -- 
> Yakov [TeamSybase]
> eLearnIT LLC
> Twitter: http://twitter.com/eLearnPB
> Blog: http://yakovwerde.sys-con.com
> Web Site: http://www.eLearnITOnline.com
>
>
> On 1/12/2011 3:29 PM, Peter wrote:
>> OMG yes that's it, see we just don't know where all this
>> stuff is hiding. OK Paul what about an example of using a
>> local or global Interface. Plus in enumeration C# does see
>> below, I got all done but the last one         AllowDropMask
>> = DragEnter | DragOver | Drop | DragLeave,
>>
>>      public enum DataConsumerActions
>>      {
>>          DragEnter = 0x01,
>>          DragOver  = 0x02,
>>          Drop      = 0x04,
>>          DragLeave = 0x08,
>>
>>          None      = 0x00,
>>
>>          AllowDropMask = DragEnter | DragOver | Drop |
>> DragLeave,
>>      }
>>
>>> Peter,
>>> Isn't that just a parameterized constructor?
>>>
>> http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>>>
>>> Paul Horan[Sybase]
>>> http://paulhoran.ulitzer.com
>>>
>>> <Peter Conn>  wrote in message
>>> news:4d2df294.56db.1681692777@sybase.com... As there is a
>>> shortage of PB sample .NET code I find I am being forced
>>> to convert C# code to PB(especially for .NET 3rd party
>>> controls). I am currently trying to rewrite this C#
>>> dragdrop sample app
>>>
>> http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>>>
>>> Which is fine, great way to learn C#, but some of the
>>> things C# does makes my head spin, in particular how do
>>> you use PB WPF interfaces, Enumerated constants and how do
>>> you create a C# class that takes args  at its declaration
>>> in PB .NET like (or what's the best work around) to
>>> achieve this. DragManager dragHelperTabControl0 = new
>>> DragManager(this.docTabControl0, tabControlDataProvider);
>>>
>>> I thought maybe if we pooled our efforts and knowledge we
>>> could kill the beast. I have already achieved extensive
>>> how to's in using Dockpanels and how to convert PFC sheets
>>> to dockable windows and will share what I have found so
>>> far. I have found PB WPF is shaping up to be a very
>>> powerful version of PB, but getting up to speed is a steep
>>> learning curve.
>>>
>>>
> 


0
Ivaylo
1/13/2011 12:34:54 PM
Wow Ivaylo - What a magician! Can you pull a rabbit out of your hat too!

uint one=1, two=2

uint three

three = one OR two

Works like a charm

In all seriousness your observation underscores the fact that 
PowerBuilder .NET documentation is scattered across two book in the 
documentation;  the PowerBuilder .NET Features Guide ( the new book for 
12 .NET) and the Deploying Applications and Components to .NET book (the 
Classic version book for .NET targets)

You have to look in both places to get the full story.  Its easy to miss 
stuff.  It's also a task to figure out what works where and how

Thanks

-- 
Yakov [TeamSybase]
eLearnIT LLC
Twitter: http://twitter.com/eLearnPB
Blog: http://yakovwerde.sys-con.com
Web Site: http://www.eLearnITOnline.com


On 1/13/2011 7:34 AM, Ivaylo Ivanov wrote:
> Hi guys,
>
> Refer to this part:
>
> http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc00586.1200/html/dplynet/BABEIIFE.htm
>
> In the .Net environment AND, OR, NOT and XOR operators can be used as
> bitwise ones!
> No need of custom objects.
>
> Regards,
> Ivaylo
>
>
> "Yakov Werde [TeamSybase]"<NOSPAM.yakov@yakovwerde.com>  wrote in message
> news:4d2e2b40@forums-1-dub...
>> Hi Peter
>>
>> Not sure how to accomplish this in PowerScript
>>
>> The only bit operators in PowerScript 12 (that I am aware of) are>>   <<
>> left and right bit shifting
>>
>> Of course&  is the reserved line continuation character so that can be the
>> bit wise And operator  there is no |  or || operator
>>
>> To my knowledge PowerScript  And Or are logical operators not bit
>> operators
>>
>>
>> --
>> Yakov [TeamSybase]
>> eLearnIT LLC
>> Twitter: http://twitter.com/eLearnPB
>> Blog: http://yakovwerde.sys-con.com
>> Web Site: http://www.eLearnITOnline.com
>>
>>
>> On 1/12/2011 3:29 PM, Peter wrote:
>>> OMG yes that's it, see we just don't know where all this
>>> stuff is hiding. OK Paul what about an example of using a
>>> local or global Interface. Plus in enumeration C# does see
>>> below, I got all done but the last one         AllowDropMask
>>> = DragEnter | DragOver | Drop | DragLeave,
>>>
>>>       public enum DataConsumerActions
>>>       {
>>>           DragEnter = 0x01,
>>>           DragOver  = 0x02,
>>>           Drop      = 0x04,
>>>           DragLeave = 0x08,
>>>
>>>           None      = 0x00,
>>>
>>>           AllowDropMask = DragEnter | DragOver | Drop |
>>> DragLeave,
>>>       }
>>>
>>>> Peter,
>>>> Isn't that just a parameterized constructor?
>>>>
>>> http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>>>>
>>>> Paul Horan[Sybase]
>>>> http://paulhoran.ulitzer.com
>>>>
>>>> <Peter Conn>   wrote in message
>>>> news:4d2df294.56db.1681692777@sybase.com... As there is a
>>>> shortage of PB sample .NET code I find I am being forced
>>>> to convert C# code to PB(especially for .NET 3rd party
>>>> controls). I am currently trying to rewrite this C#
>>>> dragdrop sample app
>>>>
>>> http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>>>>
>>>> Which is fine, great way to learn C#, but some of the
>>>> things C# does makes my head spin, in particular how do
>>>> you use PB WPF interfaces, Enumerated constants and how do
>>>> you create a C# class that takes args  at its declaration
>>>> in PB .NET like (or what's the best work around) to
>>>> achieve this. DragManager dragHelperTabControl0 = new
>>>> DragManager(this.docTabControl0, tabControlDataProvider);
>>>>
>>>> I thought maybe if we pooled our efforts and knowledge we
>>>> could kill the beast. I have already achieved extensive
>>>> how to's in using Dockpanels and how to convert PFC sheets
>>>> to dockable windows and will share what I have found so
>>>> far. I have found PB WPF is shaping up to be a very
>>>> powerful version of PB, but getting up to speed is a steep
>>>> learning curve.
>>>>
>>>>
>>
>
>

0
Yakov
1/13/2011 2:28:15 PM
ROFL...nothing comes out around my hat... just some earwax :D

I see what you mean - the BitRight and BitLeft operators are documented in 
the new book and bitwise AND OR NOT XOR are in the Classic book.

The topic about the bitwise AND OR NOT XOR is in the same place within PB 
11.5 documentation:

http://infocenter.sybase.com/help/topic/com.sybase.dc00586_1150/html/dplynet/BABEIIFE.htm

I just implied that any PB 11.5 webform/winform/webservice target scripts 
with .NET interoperability that we've previously used enclosed within some 
"#if defined ..." directive should work in PB 12.NET just by removing the 
directive which is not necessary anymore.

Cheers,
Ivaylo

"Yakov Werde [TeamSybase]" <NOSPAM.yakov@yakovwerde.com> wrote in message 
news:4d2f0bff$1@forums-1-dub...
> Wow Ivaylo - What a magician! Can you pull a rabbit out of your hat too!
>
> uint one=1, two=2
>
> uint three
>
> three = one OR two
>
> Works like a charm
>
> In all seriousness your observation underscores the fact that PowerBuilder 
> .NET documentation is scattered across two book in the documentation;  the 
> PowerBuilder .NET Features Guide ( the new book for 12 .NET) and the 
> Deploying Applications and Components to .NET book (the Classic version 
> book for .NET targets)
>
> You have to look in both places to get the full story.  Its easy to miss 
> stuff.  It's also a task to figure out what works where and how
>
> Thanks
>
> -- 
> Yakov [TeamSybase]
> eLearnIT LLC
> Twitter: http://twitter.com/eLearnPB
> Blog: http://yakovwerde.sys-con.com
> Web Site: http://www.eLearnITOnline.com
>
>
> On 1/13/2011 7:34 AM, Ivaylo Ivanov wrote:
>> Hi guys,
>>
>> Refer to this part:
>>
>> http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc00586.1200/html/dplynet/BABEIIFE.htm
>>
>> In the .Net environment AND, OR, NOT and XOR operators can be used as
>> bitwise ones!
>> No need of custom objects.
>>
>> Regards,
>> Ivaylo
>>
>>
>> "Yakov Werde [TeamSybase]"<NOSPAM.yakov@yakovwerde.com>  wrote in message
>> news:4d2e2b40@forums-1-dub...
>>> Hi Peter
>>>
>>> Not sure how to accomplish this in PowerScript
>>>
>>> The only bit operators in PowerScript 12 (that I am aware of) are>>   <<
>>> left and right bit shifting
>>>
>>> Of course&  is the reserved line continuation character so that can be 
>>> the
>>> bit wise And operator  there is no |  or || operator
>>>
>>> To my knowledge PowerScript  And Or are logical operators not bit
>>> operators
>>>
>>>
>>> --
>>> Yakov [TeamSybase]
>>> eLearnIT LLC
>>> Twitter: http://twitter.com/eLearnPB
>>> Blog: http://yakovwerde.sys-con.com
>>> Web Site: http://www.eLearnITOnline.com
>>>
>>>
>>> On 1/12/2011 3:29 PM, Peter wrote:
>>>> OMG yes that's it, see we just don't know where all this
>>>> stuff is hiding. OK Paul what about an example of using a
>>>> local or global Interface. Plus in enumeration C# does see
>>>> below, I got all done but the last one         AllowDropMask
>>>> = DragEnter | DragOver | Drop | DragLeave,
>>>>
>>>>       public enum DataConsumerActions
>>>>       {
>>>>           DragEnter = 0x01,
>>>>           DragOver  = 0x02,
>>>>           Drop      = 0x04,
>>>>           DragLeave = 0x08,
>>>>
>>>>           None      = 0x00,
>>>>
>>>>           AllowDropMask = DragEnter | DragOver | Drop |
>>>> DragLeave,
>>>>       }
>>>>
>>>>> Peter,
>>>>> Isn't that just a parameterized constructor?
>>>>>
>>>> http://blogs.sybase.com/powerbuilder/2009/07/parameterized-constructors-in-powerbuilder-12-net/
>>>>>
>>>>> Paul Horan[Sybase]
>>>>> http://paulhoran.ulitzer.com
>>>>>
>>>>> <Peter Conn>   wrote in message
>>>>> news:4d2df294.56db.1681692777@sybase.com... As there is a
>>>>> shortage of PB sample .NET code I find I am being forced
>>>>> to convert C# code to PB(especially for .NET 3rd party
>>>>> controls). I am currently trying to rewrite this C#
>>>>> dragdrop sample app
>>>>>
>>>> http://www.codeproject.com/KB/WPF/WpfDragAndDropSmorgasbord.aspx
>>>>>
>>>>> Which is fine, great way to learn C#, but some of the
>>>>> things C# does makes my head spin, in particular how do
>>>>> you use PB WPF interfaces, Enumerated constants and how do
>>>>> you create a C# class that takes args  at its declaration
>>>>> in PB .NET like (or what's the best work around) to
>>>>> achieve this. DragManager dragHelperTabControl0 = new
>>>>> DragManager(this.docTabControl0, tabControlDataProvider);
>>>>>
>>>>> I thought maybe if we pooled our efforts and knowledge we
>>>>> could kill the beast. I have already achieved extensive
>>>>> how to's in using Dockpanels and how to convert PFC sheets
>>>>> to dockable windows and will share what I have found so
>>>>> far. I have found PB WPF is shaping up to be a very
>>>>> powerful version of PB, but getting up to speed is a steep
>>>>> learning curve.
>>>>>
>>>>>
>>>
>>
>>
> 


0
Ivaylo
1/14/2011 8:37:10 AM
Reply:

Similar Artilces:

asp.net 1.1 to asp.net 2.0 converter [vb.net to C# and inline code to code behind ]
I have a asp.net 1.1 site which uses vb.net as the language and code is on the aspx page i.e inline [no class file of pages]Now I wan't it to convert to asp.net 2.0 with code in code behind file and language should be C#.Can there is any such converter to do this task{Previously I use asp2aspx to convert asp site to asp.net 1.1 and also asp.net 2.0.Is there any such tool like to fulfill my requirement  ?} Kamran ShahidSr. Software Engineer(MCP,MCAD.net,MCSD.net,MCTS,MCPD.net[web])Netprosys Inc.www.netprosys.comRemember to click "Mark as Answer" on the post that helps U ...

converting to vb.net from c#.net authorize.net
authorize.net offered me some sample code when I signed up with them the only problem is the sample code is in c#.net but my page that they type all of their credit card into is vb.net <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage("https://certification.authorize.net/gateway/transact.dll"); } private String readHtmlPage(string url) { ...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links http://en.wikipedia.org/wiki/.NET_Framework http://blogs.msdn.com/mohammadakif/archive/2006/12/03/net-3-0-different-versions-of-the-net-framework.aspx http://www.codeproject.com/aspnet/ComparisonASP1xASP20.aspAshok Rajawww.iGold.inDon't forget to click "Mark as Answer" on the post that helped you. This credits that m...

Developed C#.net WebService 1.1 for Client C#.net 1.1. Getting error "Server was unable to process the Request" Pls Help
Hi., I developed Microsoft C#.net Web Services2003 for the Client Application C#.net 2003. When it runs in 5 machines it gives good performance and has no errors. But if i run the same application in about 80 client machines. Getting error "Server was unable to process the request". I use Sql Server 2005 as my database. I get error even when i login at a time for about 25 users. Tried modifying machine.config too. But went unsuccessful. Live Server is 2003 using IIS 6.0 I use very expensive data handling.  Its very urgent pls help. Have to post in Live Server. Thank u., ...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would...

Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

Convert Whole project from ASP.net(VB.net) to ASP.net(C#)
I have few projects whch was developed using VB.net but I want to convert them to C# . Is there any tool available which can convert whole ASP.net(VB.net) project to ASP.net(C#) ?. I know there are few web sites which can convert your vb code to c# but could not find any which can convert the whole project. Thanks Arvind Malik Hi, You can use SharpDevelop to convert your pages. visit the following link: http://weblogs.asp.net/jdennany/archive/2004/09/16/230722.aspxHighOnCodingWanna get high! I recommend you check my favorite convertor: VB.NET -> C# re...

Convert Sub in asp.net 1.1 to .net 2.0??
I have a sub that I have that calculates the value of fields and places them in the footer. The .net 2.0 gridview  does not use the databind.eval in the same way How can i get this sub to work in asp.net 2.0??Code is below  I think I just need to change my datagrid eventargs and my databind eval. I tried to change it to no availThanks [code language=VB] Dim TitheCountSum as Double = 0 Dim EducationCountSum as Double = 0 Dim MissionCountSum as Double = 0 Dim SpecialCountSum as Double = 0 Dim GiftValueCountSum as Double = 0 Dim OfferingTotal As Double = 0 Sub ComputeSum(sender As...

CrystalReportViewer problem after converting from .NET 1.1 to .NET 2.0
After converting my web aaplication project from .NET 1.1 to .NET 2.0, I am getting the following error when trying to run reports (and even in the VS 2005 designer):The base class includes the field 'crvBCSOnHandReport', but its type (CrystalDecisions.Web.CrystalReportViewer) is not compatible with the type of control (CrystalDecisions.Web.CrystalReportViewer)Has anybody else had this problem after converting?Thanks,Sacha...

Converting from vb.net to c#.net
Hello I have recently purchased VBGolds RawDataPrinter which should allow users to print directly to label printers on our network directly from a c# web form.  Unfortunately they only supply vb.net examples and I have need of c#.  The component has been installed on our web server.  This is some code that they have supplied as examples in vb.net   "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" >"Head1" runat="server&qu...

CONVERT VISUALBASIC.NET TO C#.NET!
Hi theretrying to complete a login page.  The example I have is written in visual basic, can you please convert the following statement into C# for a submit button (transferring data to a database!!):Sub btnSubmit_Click(sender As Object, e As EventArgs)   If Page.IsValid then      InsertGuestbookEntry(name.Text, email.Text, message.Text)      Response.Redirect("ViewGuestbook.aspx")   End IfEnd SubAlso, the following for retrieving data from a database into a drop down menu:Sub Page_Load (sender as ...

.NET Framework 1.1 and ASP.NET 1.1
I have .NET Framework 1.0 I don't know what verion ASP.NET I have I need to upgrade to .NET Framework 1.1 and ASP.NET 1.1 Help please. Thank you, Mike ASP.NET is part of the .NET Framework, so they have the some version.This posting is provided "AS IS" with no warranties, and confers no rights. Thank you. I tried looking on the Microsoft website but got confused as to which .NET Framework download to install. Mike You may check here.This posting is provided "AS IS" with no warranties, and confers no rights. Thank you Jimmy. Mike :-)...

Why Visual Studio 2005 ask me to convert a solution already got converted Somebody did the conversion of a solution from .net 1.1 to .net 2.0 by using the automatic conversion wizard of Visual Stu
Why Visual Studio 2005 ask me to convert a solution already got converted Somebody did the conversion of a solution from .net 1.1 to .net 2.0 by using the automatic conversion wizard of Visual Studio 2005. Then, he changed to another company. Now, I take over his job. Unfortunately, when I attempted to open that solution, Visual Studio 2005 prompted me the conversion wizard again to forced me to perform a conversion on the solution. Does someone know why?--Harish Patel www.MicrosoftSQLandASP.netpatelharish@gmail.com Hi, How many projects are in the solution, does it have UNLOADE...

ASP.NET under .NET 1.1 and .NET 2.0 combined
Main web site is running under .NET 1.1.  New added page is created using VS2005 and .NET 2.0.  Don't work, can't see the new page and I can't migrate the web site to .NET 2.0.  Can I deploy ASP.NET web page on VS2005 for .NET 1.1 application?  If so, of course, how we do that.  Thanks   It looks like you may have 2 problems: Nested, possibly conflicing web.config files -- see the following KB Article. Different versions of ASP.NET running in the same application pool. In IIS, make sure the .NET 2.0 application is assigned to a different application pool ...

Web resources about - Converting C# to PB 12.1 .NET - sybase.powerbuilder.net

Facebook Begins Converting Users To HTTPS
Are you willing to sacrifice a little bit of speed for a lot more safety? Facebook is asking that very question with its announcement that it ...

Facebook No Longer Converting Groups Into Pages
Back when Facebook first launched Facebook Pages, many businesses and brands who had built up substantial audiences in their Facebook Groups ...

Vert - simply converting for iPhone, iPad, and iPod touch on the iTunes App Store
Get Vert - simply converting on the App Store. See screenshots and ratings, and read customer reviews.

Converting SIM Card to Micro SIM Card - Flickr - Photo Sharing!
Place new Micro SIM into the iPhone SIM card tray

Ayaan Hirsi Ali on Converting Muslims to Christianity - YouTube
Complete video at: http://fora.tv/2010/07/29/Nomad_From_Islam_to_America_with_Ayaan_Hirsi_Ali Ayaan Hirsi Ali explains her support of missionary ...

Click go fears of converting print files
Is there a way to convert a print queue item to a .RTF or .PDF file? I like to save or email them. - The Sydney Morning Herald

Sudanese woman ordered to hang under sharia law for converting to Christianity gives birth
Khartoum, Sudan: A Christian Sudanese woman sentenced to hang for apostasy has given birth in jail, a Western diplomat said on Tuesday.

Imams warn against radicalism to Aboriginal inmates converting to Islam
The prison system has enlisted the help of ASIO to crack down on radicalisation behind bars amid revelations that Aboriginals are converting ...

Converting the world's companies one by one - The Science Show - ABC Radio National (Australian Broadcasting ...
Image: Trucks carrying logs make their way up a road in Jambi, Indonesia. A vast area of the Sumatran forest, and orangutan habitat, is being ...

Converting Churches Into Homes Is The Latest Hollywood Trend
You don't have to be a believer to be moved by the beauty of a church.

Resources last updated: 12/11/2015 5:30:54 PM