Click here to Skip to main content
15,902,893 members
Home / Discussions / Windows Forms
   

Windows Forms

 
QuestionError in VC++ generated code Pin
Khalaris6-May-08 2:11
Khalaris6-May-08 2:11 
AnswerRe: Error in VC++ generated code Pin
Khalaris7-May-08 22:00
Khalaris7-May-08 22:00 
QuestionAdd new property to Standard controls Pin
Ralph_ai2x5-May-08 15:55
Ralph_ai2x5-May-08 15:55 
AnswerRe: Add new property to Standard controls Pin
Christian Graus5-May-08 17:52
protectorChristian Graus5-May-08 17:52 
AnswerRe: Add new property to Standard controls Pin
Thomas Stockwell6-May-08 8:18
professionalThomas Stockwell6-May-08 8:18 
AnswerRe: Add new property to Standard controls Pin
buchstaben8-May-08 5:23
buchstaben8-May-08 5:23 
QuestionUsing a custom string to cacls Pin
Johan134-May-08 22:55
Johan134-May-08 22:55 
AnswerRe: Using a custom string to cacls Pin
Dave Kreskowiak6-May-08 8:54
mveDave Kreskowiak6-May-08 8:54 
Johan13 wrote:
"/c echo y| cacls \"%HOMEDRIVE%\\Documents and Settings\\"%USERNAME%\\"


Your command line would look like this:
cmd /c echo y| cacls "%HOMEDRIVE%\Documents and Settings"%USERNAME%\someText /D Everyone

There's a problem just before %USERNAME%. I think that line should look more like:
String^ customString = "/c echo y| cacls \"%HOMEDRIVE%\\Documents and Settings\\%USERNAME%\\" + SendThisTextToCaclsAsFilename->Text + "\" /D Everyone";



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




AnswerRe: Using a custom string to cacls Pin
Johan137-May-08 21:11
Johan137-May-08 21:11 
QuestionRe: Using a custom string to cacls Pin
Johan138-May-08 21:53
Johan138-May-08 21:53 
AnswerRe: Using a custom string to cacls Pin
Dave Kreskowiak9-May-08 1:37
mveDave Kreskowiak9-May-08 1:37 
GeneralRe: Using a custom string to cacls Pin
Johan1312-May-08 0:05
Johan1312-May-08 0:05 
GeneralRe: Using a custom string to cacls Pin
Johan1312-May-08 0:10
Johan1312-May-08 0:10 
QuestionRe: Using a custom string to cacls Pin
Johan137-May-08 21:10
Johan137-May-08 21:10 
QuestionDrawing Sunpath in my WinForms Pin
Member 38458153-May-08 0:05
Member 38458153-May-08 0:05 
AnswerRe: Drawing Sunpath in my WinForms Pin
Christian Graus3-May-08 1:39
protectorChristian Graus3-May-08 1:39 
QuestionDrawing Sunpath in my WinForms Pin
Member 38458153-May-08 19:30
Member 38458153-May-08 19:30 
AnswerRe: Drawing Sunpath in my WinForms Pin
Christian Graus4-May-08 11:34
protectorChristian Graus4-May-08 11:34 
QuestionTwo TextBoxs and only one can contain any text at a given time [modified] Pin
Steve Messer1-May-08 9:11
Steve Messer1-May-08 9:11 
AnswerRe: Two TextBoxs and only one can contain any text at a given time Pin
SomeGuyThatIsMe2-May-08 8:46
SomeGuyThatIsMe2-May-08 8:46 
GeneralRe: Two TextBoxs and only one can contain any text at a given time Pin
Steve Messer2-May-08 11:57
Steve Messer2-May-08 11:57 
Questioncalling event from inside another event Pin
raydona1-May-08 7:34
raydona1-May-08 7:34 
AnswerRe: calling event from inside another event Pin
Luc Pattyn1-May-08 9:45
sitebuilderLuc Pattyn1-May-08 9:45 
QuestionConvert txt to sysmbols!! Pin
s3rk430-Apr-08 23:46
s3rk430-Apr-08 23:46 
AnswerRe: Convert txt to sysmbols!! Pin
Kschuler1-May-08 3:43
Kschuler1-May-08 3:43 

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.