Solved

How to get File Permissions in PowerBiulder

Posted on 2007-11-20
3
236 Views
Last Modified: 2013-12-26
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
Comment
Question by:wittkieffer
3 Comments
 
LVL 14

Accepted Solution

by:
sandeep_patel earned 500 total points
ID: 20396613
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
 
LVL 1

Expert Comment

by:Computer101
ID: 20632810
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question