Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

How to get File Permissions in PowerBiulder

I'm having difficulty in getting file permissions.  What is the best way in Powerbuilder to see if a user has rights to delete a file.
0
wittkieffer
Asked:
wittkieffer
1 Solution
 
sandeep_patelCommented:
I think you may need to use window API (if your application is running on windows). and use ReadOnly attribute.

// code in powerbuilder
http://www.lawebdelprogramador.com/news/mostrar_new.php?id=73&texto=Power+Builder&n1=472027&n2=1&n3=1&n4=1&n5=0&n6=0&n7=0&n8=0&n9=0&n0=0

windows API help
http://msdn2.microsoft.com/en-us/library/aa364946.aspx
http://msdn2.microsoft.com/en-us/library/aa365739.aspx

Regards,
Sandeep
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now