Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
QuestionUser history of last 3 weeks Pin
vincentnl7826-May-09 1:02
vincentnl7826-May-09 1:02 
AnswerRe: User history of last 3 weeks Pin
Dave Kreskowiak26-May-09 4:03
mveDave Kreskowiak26-May-09 4:03 
GeneralRe: User history of last 3 weeks Pin
vincentnl7826-May-09 6:38
vincentnl7826-May-09 6:38 
GeneralRe: User history of last 3 weeks Pin
Dave Kreskowiak26-May-09 7:38
mveDave Kreskowiak26-May-09 7:38 
QuestionWrapping VOIP traffic Pin
B060611526-May-09 0:42
B060611526-May-09 0:42 
AnswerRe: Wrapping VOIP traffic Pin
harold aptroot26-May-09 2:38
harold aptroot26-May-09 2:38 
AnswerRe: Wrapping VOIP traffic Pin
Dave Kreskowiak26-May-09 3:57
mveDave Kreskowiak26-May-09 3:57 
QuestionComplex Question Pin
Rajdeep.NET is BACK25-May-09 23:49
Rajdeep.NET is BACK25-May-09 23:49 
Hi pals,

I am trying to create a small utility which can block folders from direct access. For this purpose, I have a textbox in my form and a two buttons namely: browse and apply.

Now, whenever the user clicks on browse, the Open file dialog box appears and whatever folder has been selected by the user is displayed in the textbox.

Now, comes the major problem. In order to block the particular folder selected by the user, I have to generate two batch files (files with .bat extension) on the location of the folder, that has to be locked. Like if the folder to be blocked is in this 'C:\\myfolder\\subfolder\\lockfolder' location, where lockfolder is the particular folder which I have to lock, then in that case, I have to generate a batch file in 'C:\\my folder\\subfolder\' that will lock the folder 'lockfolder'.

Any Idea how to do that..... please recommend.

Sorry for my poor english,
Cheers to you,
Rajdeep.NET Smile | :)
AnswerRe: Complex Question Pin
Henry Minute25-May-09 23:54
Henry Minute25-May-09 23:54 
GeneralRe: Complex Question Pin
OriginalGriff26-May-09 0:04
mveOriginalGriff26-May-09 0:04 
JokeRe: Simple Question Pin
fly90426-May-09 0:20
fly90426-May-09 0:20 
AnswerRe: Complex Question Pin
stancrm26-May-09 0:00
stancrm26-May-09 0:00 
AnswerRe: Complex Question Pin
0x3c026-May-09 0:13
0x3c026-May-09 0:13 
GeneralRe: Complex Question Pin
Guffa26-May-09 0:49
Guffa26-May-09 0:49 
GeneralRe: Complex Question Pin
0x3c026-May-09 1:06
0x3c026-May-09 1:06 
AnswerRe: Complex Question Pin
DaveyM6926-May-09 0:46
professionalDaveyM6926-May-09 0:46 
AnswerRe: Complex Question Pin
J4amieC26-May-09 1:10
J4amieC26-May-09 1:10 
GeneralRe: Complex Question Pin
Tom Deketelaere26-May-09 1:13
professionalTom Deketelaere26-May-09 1:13 
JokeRe: Complex Question Pin
0x3c026-May-09 1:30
0x3c026-May-09 1:30 
AnswerRe: Complex Question Pin
Dave Kreskowiak26-May-09 3:49
mveDave Kreskowiak26-May-09 3:49 
QuestionC# + Excel Pin
Socheat.Net25-May-09 22:52
Socheat.Net25-May-09 22:52 
AnswerRe: C# + Excel Pin
fly90425-May-09 23:02
fly90425-May-09 23:02 
GeneralRe: C# + Excel Pin
Socheat.Net25-May-09 23:10
Socheat.Net25-May-09 23:10 
GeneralRe: C# + Excel Pin
fly90425-May-09 23:26
fly90425-May-09 23:26 
GeneralRe: C# + Excel Pin
Socheat.Net25-May-09 23:30
Socheat.Net25-May-09 23:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.