TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bert_cox
NA
14
0
string.replace
Mar 26 2004 8:58 AM
How come this doesn't work? string words = @".,[rootdirectory]\usr\%username%,[rootdirectory]\fastforward\pvs100,[rootdirectory]\fastforward\pvs100\obj,[rootdirectory]\fastforward\pvs100\src,[rootdirectory],[rootdirectory]\start\general,[rootdirectory]\fastforward\ffw100\obj,[rootdirectory]\fastforward\ffw100\src,[rootdirectory]\fastforward\ffw100\test,[rootdirectory]\realapplied\operations\opr300\obj,[rootdirectory]\realapplied\operations\opr300\src,[rootdirectory]\realapplied\operations\opr300\test" string dir = "n:\realsoftware" string dir2 = "[rootdirectory]"; words.Replace(dir2,dir); textBox1.Text=words; So i want to replace [rootdirectory] with n:\realsoftware What am i doing wrong? Thx in advance
Reply
Answers (
2
)
print a listbox
help regarding dll programming