|
It's not easy.
I worked with RTF a few years ago and it's a real pain. I never did anything with images though, sorry.
Try downloading the RTF Spec[^]. You'll have to read that and understand how images are stored in the RTF file, and figure out how you can extract them.
Simon
|
|
|
|
|
|
I've tried with the RichTextBox in C#. But doesn't work. Only the text can retrieve from the RTF box. Not any icons..
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi,
I need to create a windows service in C# what will connect to a Windows Exchange Server via POP3 protocol, and fetch the mails from an account what will be same user on behalf the windows service is running. So I don't want to hard code the authentication infromation what is necessary for POP3 authentication, but I want to use somehow the user information on behalf the service is running.
Does somebody know how can I got the mentioned authentication information?
Thank You in advanced!
Br,
Ernest
|
|
|
|
|
Is Environment.Username the sort of thing you are after?
Regards,
Rob Philpott.
|
|
|
|
|
Partially...
I need user and pass too. I assume I cannot get it in readable format, so I looking for some kind off class what stores all logon information, and I can pass it forward for pop3 authentication.
Thank You!
|
|
|
|
|
Yeah, POP3 is as old as the hills and needs a username/password combination. Windows is not going to give you passwords for obvious reasons. I think you're going to have to create your own mapping from Environment.Username to a POP3 username/password combination.
I guess the password on Exchange will be the same as on the domain. In which case you've got a real problem I'm afraid. Bear in mind too that POP3 is a text based protocol which doesn't do encryption or anything like that, although I think Exchange can SSL it.
Regards,
Rob Philpott.
|
|
|
|
|
|
I didn't know that. Cool. But slightly unpleasant looking...
Regards,
Rob Philpott.
|
|
|
|
|
Thank You! I found it previously, but it isn't solve all of my problems. I still need to give the password manually to the service...
|
|
|
|
|
I've been always wondering on how to show where my applications is currently located in the proccess it is doing.
A good example would be - file moving (big files or something). I would make a "for" loop and go through files located in the selected directory and then move them to some other... but how could i show which file is currently being moved? If i put this inside the "for" - label1.text = file[i]; - it wouldnt show nothing. (as it is too fast to show).
So can you please give me a hint on how to do that? This is not a top priority question. Just my curiosity, so dont judge me on asking how to do it.
Thanks
Have a nice day
Regards,
Matjaž
|
|
|
|
|
use background worker
report progress
update label or progressbar or whatever to say current progress
easy
if the files are copying quick maybe you should you a multiline textbox and append the file status as desired
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I am getting error when I do following.
string[,] myArray = new string[2,2];
myArray[0,0] = "elad";
myArray[0,1] = "3";
myArray[1,0] = "david";
myArray[1,1] = "5";
grd.DataSource = myArray;
grd.DataBind();
thanks
|
|
|
|
|
What error? Compile error? Did your app crash? Did it screw your hard disk? Kick your dog? Steal your girlfriend?
How are people supposed to help you if you don't tell them what's wrong in the first place?
|
|
|
|
|
Error was : "Array was not a one dimentional array"
thanks
|
|
|
|
|
saksp wrote: Error was : "Array was not a one dimentional array"
OMG!
How can people not understand a problem when the error message is so clear!
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
There you have it!!! Your array is jagged (multidimensional), but the grid expects a single dimensional array.
Create a struct or a class with public properties for the grid's columns. Create an array of this type to represent the rows, and use that array as the data source.
|
|
|
|
|
|
Hello.
Im having a program that surf between some sites automatic. It is being done with a webbrowser module.
Is it now possible for me to make that webbrowser browse through a proxy?
I can see that WebClient and HttpWebRequest supports proxy browsing, but can't see anything with the webbrowser module.
Anyone who knows that ?
|
|
|
|
|
Hello,
How we can test if a programme was reliable? thank you verry mutch.
|
|
|
|
|
Is this a trick question ? You test it by testing it. By giving it every sort of input you can think of ( type text into fields that expect numbers, etc ), as well as walking through the obvious, central cases.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how i can determine each running process depends on which other processes
in c#?
|
|
|
|
|
You want to write a process walker in C# ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I want to make a program that retrieve each process and all process that depend on it
such that if i kill(end) main process,all process that depend on it will be killed automatically
|
|
|
|
|
So basicly your writing a virus. Nobody is going to help you with that.
If you ask such questions you better provide a real good explanation as to why you want to do this otherwise people are going to think your writing viruses and either respond with just that or even (if they are in a bad mood) start flaming you.
And even with the explanation you'd better pray to the ancients gods that you get an answer.
It is NEVER a good idea to kill processes.
|
|
|
|