Solved

How to get File Permissions in PowerBiulder

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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.
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.

815 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

11 Experts available now in Live!

Get 1:1 Help Now