1. Tom McArdle
  2. PowerBuilder
  3. Tuesday, 18 June 2019


I'm looking for some code that would allow me to change the screen resolution using PB2017.

I'd like to be to toggle back and forth if possible.

Thank You




Shenn Sellers Accepted Answer Pending Moderation
Try changing the function declaration to...

FUNCTION long ChangeDisplaySettingsW (ref devmode lpst, ulong Flags) LIBRARY "USER32.DLL"
  1. Shenn Sellers
  2. Tuesday, 18 June 2019
Thank you both. i will try those.

  1. Tom McArdle
  2. Wednesday, 19 June 2019

I tried your suggestion, but no luck.


Thank you for the linked. It seemed like the answer might be there, but to be honest I have no idea how to translate to powerscript.

  1. Tom McArdle
  2. Wednesday, 19 June 2019
There are no comments made yet.
  1. Tuesday, 18 June 2019
  2. PowerBuilder
  3. # 1
  • Page :
  • 1

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