|
ROTFL !!! I am enjoying this. Poor guy thought he'd get something written for free, and instead he gets exposed.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Christian Graus wrote: Poor guy thought he'd get something written for free, and instead he gets exposed.
I just call them as I see them.
|
|
|
|
|
Went through your code a bit. Looks like you are dealing with some kind of delimited files. You can create a datatable out of it using OleDB classes instead of all those loops. Also, at one place you are replacing space by space. Why is that?
Here:
str = str.Replace(" ", " ");
This is not going to solve your problem but will reduce the amount of code. Can you explain what exactly is the problem since your post isn't clear enough.
|
|
|
|
|
hi,
IMO you shouldn't bother reading through many lines of unformatted code. When the OP is lazy, I skip the thread. Period.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Why this post was voted down?
|
|
|
|
|
Absolutely no one is going to author all that code for you.
|
|
|
|
|
|
We're not going to do your homework for you.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Sammy works for a "boiler room" fraud. Do not assist him in any way.
|
|
|
|
|
i GOT ENOUGH HELP FROM EVERYBODY. dONT REQUIRE ANYMORE THANKS
|
|
|
|
|
sammy15024 wrote: i GOT ENOUGH HELP FROM EVERYBODY. dONT REQUIRE ANYMORE THANKS
Did you go to Rent A Coder[^] like I suggested?
You are a scam artist who should be blacklisted by everyone on this site.
|
|
|
|
|
PLEASE ASK ADMIN TO BLOCK ME AT THIS POINT IN TIME THIS IS THE ONLY THING I WANT. THANKS
|
|
|
|
|
sammy15024 wrote: PLEASE ASK ADMIN TO BLOCK ME AT THIS POINT IN TIME THIS IS THE ONLY THING I WANT. THANKS
Why don't you make that request?
It is sufficient to expose you as the fraud you are and let people decide if they want to deal with you.
P.S. - you never did give your company name. What is it?
|
|
|
|
|
This is the thread to discus C# programmes is not that. And you are making noise constantly why should i telll you my company name who are YOU"? BILL GATES????
|
|
|
|
|
|
sammy15024 wrote: why should i telll you my company name
Because if your company is legitimate, he could become a client ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
You want to be BLOCKED ? You want us to do it for you ? I don't get people who ask this. You have already deleted your posts like a little girl, so just don't post anymore if you don't want to.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
What help was that?
only two letters away from being an asset
|
|
|
|
|
I think he found my help web page:
Help[^]
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
You may want to copyright that
only two letters away from being an asset
|
|
|
|
|
Im trying to add a new feature in the "Image Processing for Dummies with C# and GDI+ Part 2 - Convolution Filters" system.
the problem is that i get this error
A first chance exception of type 'System.InvalidOperationException' occurred in System.Drawing.dll
An unhandled exception of type 'System.InvalidOperationException' occurred in System.Drawing.dll
Additional information: Bitmap region is already locked.
the error occurs in the following line
g.DrawImage(m_Bitmap, new Rectangle(this.AutoScrollPosition.X, this.AutoScrollPosition.Y, (int)(m_Bitmap.Width*Zoom), (int)(m_Bitmap.Height * Zoom)));
any help will be appreciated
|
|
|
|
|
Make sure you call UnlockBits on m_Bitmap before calling DrawImage.
Eslam Afifi
|
|
|
|
|
livewirerules wrote: Im trying to add a new feature in the "Image Processing for Dummies with C# and GDI
|
|
|
|
|
how can i send an email with an Attachments of zip/rar file?
I write this code :
<code>System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
System.Net.NetworkCredential cred = new System.Net.NetworkCredential("username@gmail.com", "password");
mail.To.Add("username@gmail.com");
mail.Subject = "Subject";
mail.From = new System.Net.Mail.MailAddress("username@gmail.com");
mail.IsBodyHtml = true;
mail.Body = filename;
mail.Attachments.Add(new Attachment(@"c:\1.zip",MediaTypeNames.Application.Zip));
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("smtp.gmail.com");
smtp.UseDefaultCredentials = false;
smtp.EnableSsl = true;
smtp.Credentials = cred;
smtp.Port = 587;
smtp.Timeout = 1000000;
smtp.Send(mail);</code>
The size of the file "1.zip" is 500kb and i get this message:
{"Exceeded storage allocation. The server response was: 5.7.0 Our system detected an illegal attachment on your message. Please"}
Can someone please help to solve this issue?
|
|
|
|
|
shai sherman wrote: The size of the file "1.zip" is 500kb and i get this message:
{"Exceeded storage allocation. The server response was: 5.7.0 Our system detected an illegal attachment on your message. Please"}
As the error message suggests, the error is a response from the other end of the email: the recipient server.
The remote server will not accept the message, the most probable reason being the size of the attachment (from the "Exceeded storage allocation" part.)
Try breaking the .zip file into smaller segments and send them with different messages.
Or try sending the .zip file with a different extension to see if the server lets that through (your user will have to rename it, tho.)
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|