Results 1 to 7 of 7

Thread: Set permissions

  1. #1

    Thread Starter
    Hyperactive Member thebloke's Avatar
    Join Date
    May 2003
    Posts
    358

    Set permissions

    Hello

    Is there any way I can set permissions on a named file to allow/deny access using vb6?

    Cheers
    The Bloke
    www.blokeinthekitchen.com
    making cooking cool for blokes

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132
    Check out this link .

  3. #3

    Thread Starter
    Hyperactive Member thebloke's Avatar
    Join Date
    May 2003
    Posts
    358
    Won't let me see that unless I sign up. And I don't want to.
    The Bloke
    www.blokeinthekitchen.com
    making cooking cool for blokes

  4. #4
    Addicted Member d.patrick's Avatar
    Join Date
    Nov 2004
    Location
    Oshkosh, WI
    Posts
    172
    Sure, look into using the SetAttr statement.

    Code:
    SetAttr "MyFile.tmp", vbReadOnly

  5. #5

    Thread Starter
    Hyperactive Member thebloke's Avatar
    Join Date
    May 2003
    Posts
    358
    Originally posted by d.patrick
    Sure, look into using the SetAttr statement.

    Code:
    SetAttr "MyFile.tmp", vbReadOnly
    Thanks. That's good to know however I want to deny all access, including read.

    The Bloke
    www.blokeinthekitchen.com
    making cooking cool for blokes

  6. #6
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132
    Originally posted by thebloke
    Won't let me see that unless I sign up. And I don't want to.
    You don't have to ... just scroll it down to see some suggestions.
    On the other hand why wouldn't you ???
    You are looking for the answer, aren't you?

    Cheers

  7. #7

    Thread Starter
    Hyperactive Member thebloke's Avatar
    Join Date
    May 2003
    Posts
    358
    Originally posted by RhinoBull
    You don't have to ... just scroll it down to see some suggestions.
    Ah, I see! Hmm, a bit over my head that. Isn't there a simple way? There usually is for most things!


    On the other hand why wouldn't you ???
    You are looking for the answer, aren't you?


    Yes, I am looking for answers, but not for the 10 dollars a month the site asked me for to sign up!
    The Bloke
    www.blokeinthekitchen.com
    making cooking cool for blokes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width