Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums

8 Posted Topics

Member Avatar for srvishnukumar

[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 …

Member Avatar for greeny_1984
0
183
Member Avatar for AnilReddy

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 …

Member Avatar for neel05
0
138
Member Avatar for ff4930

Chk this site. You will get an idea [url]http://asp.net-tutorials.com/state/viewstate/[/url] Regards Anil

Member Avatar for greeny_1984
0
386
Member Avatar for AnilReddy

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 …

Member Avatar for AnilReddy
0
122
Member Avatar for AnilReddy

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

0
80
Member Avatar for AnilReddy

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

Member Avatar for AnilReddy
0
63
Member Avatar for latikapuri

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 …

Member Avatar for AnilReddy
0
148
Member Avatar for RamanRajesh

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 …

Member Avatar for AnilReddy
-1
98

The End.