5
Answers

RichTextBox

Photo of Administrator

Administrator

22y
1.6k
1
Hi, I have a problem with link in richtextbox. if link is like "file:\\\C:/Program File/file.txt" it does not work because there is a blank. I fix the problem replacing blank with %20, but I do not like this!! have you any idea???

Answers (5)

0
Photo of Administrator
Admin 2.3k 1.3m 22y
You can use single slash as double backslash as well. May be an error is in using triple backslashes after file:
0
Photo of Administrator
Admin 2.3k 1.3m 22y
More clear: C:\\Program File\\file.txt Usually Windows uses backslashes like DOS. It isn't "internet like" but works in other cases (not tested in RichTextBox).
0
Photo of Administrator
Admin 2.3k 1.3m 22y
I guess the first hint was meant like that: file:\\C://Program Files//file.txt Greetings, gilthanas
0
Photo of Administrator
Admin 2.3k 1.3m 22y
I made this, In fact in the richtextbox I write "\"file:\\\\\\C:/Program Files/file.txt\"" But the problem is blank. Thank you for your reply.
0
Photo of Administrator
Admin 2.3k 1.3m 22y
Try to use \\ instead of single \. Not tested