Ouch Vista - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Ouch Vista

Bought new machine with Vista
Bought new Visual Studio 2008 IDE

I'm trying an example from a WROX book and the code compiled, but would not run.
Found file was read only and tried to change it to 'not read only' and when I looked at the file properties again it was read only. I tried to delete it and dialog said I didn't have the permissions for that.

Copied it to the desktop and did all those steps again with the same results.

My apology for asking for help, but I'm really a Mac/Unix/linux coder and I'm trying to learn the Windows side and I'm not sure how to fix this permissions thing.

I'm spending the weekend at Lynda.com doing the Windows Vista Essential training to see if I can find this, but maybe one of you Vista Masters can help me sooner.

Many Thanks

Comments

  • LundinLundin Posts: 3,711Member
    I'm not sure if I understand what you mean. Are you trying to change the read-only property through Windows explorer or through the API function SetFileAttributes()?

    In case of the former, you are off-topic. In case of the latter, could you please post the code?
Sign In or Register to comment.