Tuesday, June 12, 2007

Collecting Remote System Information With WMI + C#.NET

While developing a windows application we often need to develop application that will collect information about remote pc. I have found a great article which will use WMI classes in .net framework to get information about remote pc.

here is the link for that article....
http://www.codeproject.com/cs/internet/remotesysinformation.asp?df=100&forumid=127088&exp=0&select=1498523
Share:

Consuming webservice with asp.net ajax

ASP.NET Developer uses Ajax to build great user interfaces. But few developer only know that with asp.net Ajax you can do lost of other things then building great user interfaces. Few developers know you can consume web services with asp.net.

I have found great articles that discuss all things that comes in way to consume web services from Ajax asp.net.

here is the link for that article...
http://www.singingeels.com/Articles/Consuming_Web_Services_With_ASPNET_AJAX.aspx
Share:

ASP.NET AJAX - Things To Know

Ajax is one of the hottest buzz in today's web development world and Google and some other companies have used Ajax very wisely to improve his web applications and services. Every web developer is thinking about ajax. Ajax is a universal technique you can use it with any platform.
Whether it is php,jsp,pearl,javascript,html,coldfusion,asp or asp.net you can use it with all the platforms.

Microsoft has also built Ajax framework called Microsoft Asp.net Ajax formerly know as atlas. ASP.NET Ajax is very easy to user and simple to develop Ajax enabled applications.

I have found a great article which consider things a developer( who is developing Ajax enabled applications ) should know.

here is the link for that article.

http://www.singingeels.com/Articles/ASPNET_AJAX__Things_To_Know.aspx
Share:

Google Corporate Information-History and milestones

I have found a very good articles about Google corporate history and milestone. How the Google was started by Larry Page and Sergy Bin. How the every mile stone are achieved. What help Google to successful like today everything is explained in very good manner and year to year. One must read this to take inspiration from it.

here is the link for that article...

http://www.google.co.uk/corporate/history.html
Share:
Friday, June 8, 2007

How to send email from C# windows application

First find the System.Web.dll in your computer drive where .NET Framework installed

Then add a reference to that dll in your C# windows application.

then write following code to send email....

string smtpServer;
smtpServer= "127.0.0.1";
System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage();
msg.From = "From Email Address";
msg.To = "To Email Address";
msg.Body = "Body here";
System.Web.Mail.MailAttachment attachFile = new System.Web.Mail.MailAttachment("Filepath");
System.Web.Mail.SmtpMail.SmtpServer = smtpServer; System.Web.Mail.SmtpMail.Send(msg);
Share:

How to take ScreenShot in C#

To create a screenshot in c# we need to use drawing api of the .net framework

First you have import System.Drawing.Imaging name space with following code...

using System.Drawing.Imaging;

here is the code in C# for screenshot.

int screenWidth = Screen.GetBounds(new Point(0, 0)).Width;
int screenHeight = Screen.GetBounds(new Point(0, 0)).Height;
Bitmap bmpScreenShot = new Bitmap(screenWidth, screenHeight);
Graphics gfx = Graphics.FromImage((Image)bmpScreenShot);
gfx.CopyFromScreen(0, 0, 0, 0, new Size(screenWidth, screenHeight));

bmpScreenShot.Save("test.jpg", ImageFormat.Jpeg);
Share:
Thursday, June 7, 2007

Create a Site Search Engine in ASP.NET - SiteSearch.aspx

I have found a very interesting link to design search engine in asp.net. Which describes the sorting and searching mechanism in result data grid.

following the link of that article.............

http://www.developerfusion.co.uk/show/4389/2/
Share:

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews