Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Browsing all 7329 articles
Browse latest View live

Re: Copying column controls in a datawindow.

No, because when you copy a column, you copy the ID attribute with it, which is the numeric position of the linked data set column. Copying a column and changing the name will only create an additional...

View Article


My software needs to detect if it's running on a windows server

I would like ti disable a license check routine if I can determine the software is being run from a server operating system, for example Citrix Is there a way to detect this in Powerbuilder 12.5 I have...

View Article


Re: My software needs to detect if it's running on a windows server

PowerBuilder as a 32bit app can call system functions on a 64bit version of Windows. What you need is to call GetSystemMetrics passing SM_REMOTESESSION (4096). The external function declaration is:...

View Article

Re: My software needs to detect if it's running on a windows server

Roland also has a code sample for using the Citrix api which helped me a lot. Not sure if it's likend on his website but maybe he can post a link here if you need it. regards Christian

View Article

Re: release date of powerbuilder 15

Dear ,          Any update of power builder 15 we are eagerly waiting for 15

View Article


Re: release date of powerbuilder 15

Hi  Muhammad;   As Roland well stated, SAP's policy is to not release a product's GA date until just before they ship the product.   Thatt being said ... the last I heard ( way back in January ) was...

View Article

Image may be NSFW.
Clik here to view.

Re: PB 12.5 Classic how to return a C# dll array

Hi Paul Here is how I am declaring the structure (FIY.. c# created in Visual Studio Express 2013)its coded in the class....(by the way I am new to C# so hopefully I defined it correctly)(sorry had to...

View Article

Image may be NSFW.
Clik here to view.

Re: Absolute position of a control

The issue is solved  The issue is fixed, by using Win32.GetFocus() function and moving the logic to an nvo. I was not able to get the handle of a specific control in the datawindow but only the current...

View Article


Re: Strange Problem with WCF service

Hi ZachariasI am also trying consume WCF service so can you please send me Tutorial link for this which explain how to consume or use WCF service step to step. Thanks in advance,Tahir

View Article


Re: Question about editing a datawindow source file

Thanks, Terry,      In the middle of the night I realized I had simply done the same thing to the source as I had done in the painter and that you had mentioned something about identifiers.  I resolved...

View Article

Re: Powerbuilder 12.5 did not return the identity value in the datawindow...

Rhex, I was able to get the identity to work in the datawindow using PB 12.5.2 and mysql 5.6. Based on the following documentation:MySQL :: MySQL 5.0 Reference Manual :: 3.6.9 Using AUTO_INCREMENT I...

View Article

Re: PB 12.5 Classic how to return a C# dll array

OK - well, that's the C# side and it all looks fine.  That was the first half of my question... What does your method declaration AND invocation code look like in PB?  You have to use a variable of the...

View Article

In PB .net 12.5.2 how does one compile resources (ie bmp etc) into .exe/dll

I've got 2 WPF targets, both were recently migrated from PB 6.5 to PD 12.5 Classic, then to PB .net. It appears that for one of them the resource files are compiled into the exe (don't have to be...

View Article


Re: PB 12.5 Classic how to return a C# dll array

Are you seeing your method in the C# class get invoked?  Put some kind of tracing statements in there (write to a log file, put up a messagebox, etc...)You'll get that error message for literally ANY...

View Article

Image may be NSFW.
Clik here to view.

Re: In PB .net 12.5.2 how does one compile resources (ie bmp etc) into .exe/dll

Thanks Chris, actually either one of those scenarios would be OK, as neither would require deploying the actual resource files. I had that checked for a resource dll, but the resource files were not...

View Article


Re: print a picture

Please specify what version of PowerBuilder and the type and version of database. Also how are you connecting to the database? ODBC? OLE DB? ADO.Net? FileWrite will only write 32k of data. Try using...

View Article

Re: print a picture

If you are connecting to Microsoft SQL Server via ODBC, you might need to set the PBMaxBlobSize in your pbodb###.ini file.

View Article


Re: print a picture

Hi Placide,If you store the image name in the field for your picture you can then check the Display As Picture checkbox on the General tab of the field's properties.  HTH. Ted Zimmerman

View Article

Re: print a picture

.. and do not forget to do a FileClose() after the FileWriteEx().

View Article

Re: print a picture

I am using PB12.5 Build 2511.The database is Sqlanywhere 11 with ODBC.

View Article
Browsing all 7329 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>