hi,
i want to change fiile's pemissions how can i do it with vb6?
and how can i get the windows directoy?
how can i run some exe fom the code?
thanks
omer
Printable View
hi,
i want to change fiile's pemissions how can i do it with vb6?
and how can i get the windows directoy?
how can i run some exe fom the code?
thanks
omer
What do you mean by File Permissions, exactly?
there is permission called Everyone and i need to change the file permission to it
that permission allows to everyone to watch that file and use it
and how can i change the inheritance of the file with the code?
omer
Quote:
Originally Posted by omerg84
As far as changing permissions goes, will all the people running your program be administrators on their machines?vb Code:
Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" _ (ByVal lpBuffer As String, ByVal nSize As Long) As Long Private WinDir As String Private Sub GetWinDir() On Error Resume Next Dim sBuffer As String Dim lSize As Long Dim Rs As Recordset sBuffer = Space$(255) lSize = Len(sBuffer) Call GetWindowsDirectory(sBuffer, lSize) If lSize > 0 Then WinDir = Left$(sBuffer, lSize - 1) Else WinDir = vbNullString End If End Sub
yes everyone admins,who can i change the permissions with code?
help'please....