1. Alex Hernandez
  2. PowerBuilder
  3. Wednesday, 8 March 2023 08:01 AM UTC


I've added an InkPicture control to a window where I load a blob image from the database (with LoadPicture function), using Powerbuilder 2019 R3. It works perfectly in my computer. But when I deploy the PBD file in the server where the users access the application via Terminal Server, there it does not work.

In my computer the InkPicture control displays with a white background and even I can draw there with the mouse pointer. But in the server where the application is deployed (Windows Server 2012 R2) the InkPicture control appears in a light gray background and I cannot draw in it. It seems that the control is not loaded correctly, so the LoadPicture funcion fails (it returns -1).

I've read that the InkPicture control needs Microsoft.Ink dlls, and I've found these dlls in the server although they are quite older than the ones I have in my computer.

Has anyone faced this issue? Any tips please?

Thank you in advance.


Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 8 March 2023 15:14 PM UTC
  2. PowerBuilder
  3. # Permalink

HI Alex;

  FWIW: I cannot be 100% sure but - if I recall correctly -  the INK Picture and Ink Edit controls are not supported on W2012. I believe that you need to be on W2016 server or higher for this to work properly.

Regards ... Chris

There are no comments made yet.
Alex Hernandez Accepted Answer Pending Moderation
  1. Thursday, 9 March 2023 09:57 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris!

I think you're right, probably it's not compatible with Windows Server 2012. In this case I think that I'll be able to build a workaround with picture controls to do the job. Thanks for your response. 


  1. Chris Pollach @Appeon
  2. Thursday, 9 March 2023 15:10 PM UTC
Hi Alex .. Thanks!

Yes, the picture control should be OK on that MS-Windows release. All the best
  1. Helpful
There are no comments made yet.
  • Page :
  • 1

There are no replies made for this question yet.
However, you are not allowed to reply to this question.