Solved

How to get File Permissions in PowerBiulder

Posted on 2007-11-20
3
232 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now