No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
[code=asp.net]using System.Net.Mail; MailMessage msg = new MailMessage(strFrom, strTo, strSubject, strBody); SmtpClient cls = new SmtpClient("ur sys IP or n/w IP"); Attachment atchmntn = new Attachment(abc/xyz....ur attachment); atchmntn.Name = "abc.jpg"; msg.Attachments.Add(atchmntn);[/code] You can use this code. If u get any problem chk ur SMTP settings particularly Relay Restrictions settings.... Hope this …
Hi I am using an instance of System.Drawing.Graphics class in my application System.Drawing.Graphics gfxScreenshot; I have used copyfromscreen method of this class. [code=asp.net]gfxScreenshot.CopyFromScreen(System.Windows.Forms.Screen.PrimaryScreen.Bounds.X, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Y, 0, 0, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Size, System.Drawing.CopyPixelOperation.SourceCopy);[/code] Its working fine locally but on remote machine its firing the error saying System.ComponentModel.Win32Exception: The handle is invalid Iam unable to trace …
Chk this site. You will get an idea [url]http://asp.net-tutorials.com/state/viewstate/[/url] Regards Anil
Hi Am trying to capture the screen in my web application. I am able to capture the image locally but i am not able to capture the image on Client's machine. I am unable to capture the browser settings and properties of client machine. I want to get an equivalent …
Hi I want to install .net framework through c#. I have a button in my web page, once the user clicks that button i need to install the .net framework in user's system. Can anyone help regarding this. Thanks in advance Anil
Hello Everybody Am trying to capture the screen in my web application. Its working fine locally, when i deploy the application am not getting any image. Anyone knows how to achieve this...It is something like getting equivalent code for Print Scrn keystroke. Please revert asap. Thanks in advance Anil
Hii you can try using the following code SmtpClient cls = new SmtpClient("Your N/W IP or your sys IP"); cls.SendCompleted += new SendCompletedEventHandler(cls_SendCompleted); In this event you can chk the status of System.ComponentModel.AsyncCompletedEventArgs You can write a condition if (e.Cancelled) { Now you can do your operations here.... } Hope …
you can use the following command This works with visual studio command prompt aspnet_compiler -p "source path" -v \ "destination path " You can give your application path as source path and the destination folder path where the compiled version of the application to be moved as destination path. Then …
The End.
AnilReddy