Thanks guys, I was very busy this weekend and did not have a chance to look at it, I will look at it this afternoon.
Eddymvp
Posts
-
how to execute another application thru C#? -
how to execute another application thru C#?can someone give me a sample code on how I can execute a different application thru C#?
-
Mysql Hash Password?I'm not sure how to use this md5 hash. Can you give me a sample code to hash a basic string "string"?
-
Mysql Hash Password?I want to write a little program that would convert any specific string into a mysql hash password. I can do this thru mysql itself, however I want to implimenent with C#. it Mysql I would just do Password('string') and that would give me 5569C9CAE94A5E43CD192F9F6AD2A1C171D5465F, How can I do this with C#?
-
How Making windows Fax Services to send multiple faxes.I made a little application using the FAXCOMLib library that will send a job to the win fax services, however I have attached 3 modems to my computer with 3 different phone lines, and I added the modem to the fax services, however when I send multiple faxes to the queue it sends one at a time even though the other two modems are sitting there. so How can I make windows fax service to use the next available modem as long as there are jobs in the queue?
-
Secure POP3 Connection with Gmail.I'm using .net 2.x, What is the name of the package and also the name of the class.
-
Secure POP3 Connection with Gmail.I'm using the TcpClient(hostname,port) to retreive my emails, When the port is 110 and is not using a secure connection, i'm successful getting my email, however when I try to read my Gmail account the Tcp,Client just hangs there and there is no option to use the secure connection, how can I make this program connect to my gmail account?
-
C# DecompilerI tried using that, but it doesn't give me the option to extract the class the create a new project.
-
C# DecompilerHow can I decompile a C# executible file and see the source code?
-
How to write on a textarea when going thru a big loop?Thanks for the reply, I'm making more progress, now that I can move the windows and the proccess is going too long. The Application doesn't allow me to click any buttons until it executes that loop, Which other methods do I have to call to be able to perform that request.
-
How to write on a textarea when going thru a big loop?Thanks for the reply Guffa, I didn't think that was possible to do. I tried going to this.DoEvent and it wasn't on the list, can you give me an example on how I would call that method?
-
How to write on a textarea when going thru a big loop?Thanks alot, I didn't know there was a refresh method. I solved the problem by using this.Refresh();
-
How to write on a textarea when going thru a big loop?I have a program that I want to write on a textarea before it goes thru the the loop, and for some reason it just hands there and write to the text area after it finished going thru the loop. I tried putting a Thread.Sleep timeout of 5 seconds and it still doesn't display the text. How can I get it to display the text before it enters to the loop.
messageRTB.Text= "Running \r\n"; messageRTB.Text += " Please Wait, this will take a while..."; Thread.Sleep(5000); // Num is unknown and it can be greater than 100. for (int i=1; i<=Num; i++) { // Do Something. }
-
Decoding Attachment from rfc822?thanks for the reply Guffa, i did a search on the Convert.FromBase64String and found a good source of code in http://msdn2.microsoft.com/en-us/library/system.convert.frombase64string(VS.71).aspx[^] however when I run the following code I get the error Base 64 string length is not 4 or is not an even multiple of 4. Did I miss something or Am I doing something wrong?
byte[] binaryData; try { binaryData = System.Convert.FromBase64String(attach); } catch (System.ArgumentNullException) { MessageBox.Show("Base 64 string is null."); return; } catch (System.FormatException) { MessageBox.Show("Base 64 string length is not " + "4 or is not an even multiple of 4." ); return; } // Write out the decoded data. System.IO.FileStream outFile; try { outFile = new System.IO.FileStream(Application.StartupPath+"\\josetest.gif", System.IO.FileMode.Create, System.IO.FileAccess.Write); outFile.Write(binaryData, 0, binaryData.Length); outFile.Close(); } catch (System.Exception exp) { // Error creating stream or writing to it. System.Console.WriteLine("{0}", exp.Message); }
-
Decoding Attachment from rfc822?I can't seems to find enough sources to decode an attachment. I get the following line. it tells me the name of the image and what type of content is it. ------=_NextPart_000_0010_01C74AC1.03E2B080 Content-Type: image/gif; name="mapping.gif" Content-ID: 001301c74ac1$03e2b080$0124cc3c@VALERIA Content-Transfer-Encoding: base64 Where i'm having problem is on the attachment that will look like this, how can i convert that?
R0lGODlhygHoAIcAAAAAAP///5n///8A/wD//1Vm//+Z//+q/1X///8R/wBm//8i//8z/xH/ /5lm/wAAmTOIIv8AAGb//yL//0T//4j//8z//93///9E/wCZZplE//8zADNmmcwAACLdAP/M ////AGbud///Zv+Imf93////d//d////mf/u///d3f//u///iP//7v//qv//3f//zP+I//+7 4xgYGE1NTYKCgre3t+zs7CEhIVZWVouLi8DAwPX19SoqKl9fX5SUlMnJyf7+/jMzM2hoaJ2d ------=_NextPart_000_0010_01C74AC1.03E2B080--
-
send fax with C#I'm using Leon v Wyk's sample code to send a fax and I was successful to send the fax. However I will be sending around 60 fax an hour and I have added a new Modem with another telephone line to my computer. How can I check this code if Modem 1 is busy to use Modem 2?
-
perform multiple taskWhat is the easier way to write a program to run a method and while that methods is being performing to run another method. Is this possible to do?
-
how to decode mime from email attachment.I can do the regular expression since the email tells you what type of mime is, and what is rfc's? do you have any example that I can follow?
-
how to decode mime from email attachment.I'm able to connect to a pop3 email using the tcpclient and i'm also able to get the email, i'm having problem when someone send me an attachment like an image or a .doc file. How can i decode the attachment from the email and save it to my computer?
-
Thread Problem Again.Thanks a lot Luc, I will give it a try in a few.