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
Bad
NA
1
0
Drop and Drag Text File into RichTextBox - file opens but icon appears
Oct 7 2006 6:18 PM
Hi,
I hope this post is in the right place.
I am using C# with Visual Studio 2005 and trying to write an application which will allow text files to be dragged over the rtb and then the text will be displayed.
It is almost working except for one showstopper - the icon of the file is always in the rtb before all the text from the file. You will see the same effect if you drag a text file into WordPad. I really need a way of being able to consume or wipe this icon before I display my text.
I have tried setting the text = "" before adding mine and calling the Clear method but neither seem to work.
Any help will be much appreciated. If I haven't explained this properly or anyone wants to see my code let me know.
Thanks,
badwolf500
Reply
Answers (
0
)
exe and dll communication
Open word document without showing in task bar