Post a reply to this user comment: Bug Fixes & Updates '**Thanks to all for feedback. '**Protecting a hidden folder gets a system attribute, to fix this :- '**Type the code in the General Declaration Section of Directory Security module (FolderProtect.BAS) '********========== Private Const FileAttributeHidden = &H2 Private Const FileAttributeReadonly = &H1 Private Const FileAttributeDirectory = &H10 'Hide_Folder Public Sub SetFolderHide(folderSpec) Dim fs, f Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFolder(folderspec) f.Attributes = FileAttributeHidden + FileAttributeDirectory + FileAttributeReadonly End Sub 'Show_Folder Public Sub ClearFolderHide(folderSpec) Dim fs, f Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFolder(folderspec) f.Attributes = FileAttributeDirectory + FileAttributeReadonly End Sub '******========== '**** For the Login encrypt issue, the bug is when the length of user name and password is the same. Change the Encrypt function to fix it. '**** (c)2003 Dipankar Basu. |
Sponsored links
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Localize software in three simple steps
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Localize .Net, C/C++ & Delphi apps visually. HTML, HTML Help, XML & databases. Try Sisulizer now!
Localize Delphi software in three simple steps
Localize Delphi VCL & .Net apps visually. Plus HTML, HTML Help, XML & databases. Try Sisulizer now!
Localize Delphi VCL & .Net apps visually. Plus HTML, HTML Help, XML & databases. Try Sisulizer now!
Web based bug tracking - AdminiTrack.com
AdminiTrack offers an effective web-based bug tracking system designed for professional software development teams.
AdminiTrack offers an effective web-based bug tracking system designed for professional software development teams.
