Saturday, November 29, 2008

No xaml designer in vs2008 Team System

I have faced the problem after installing vs2008 team system, there was no xaml design view & no graphical toolbox. I have repaired & reinstalled but problem was still occurring.....

Finally i got the solution from a forum. I m gonna make it clear

1. Close vs2008 team system if it is open.
2. Go to: start menu>all programs>Microsoft Visual Studio 2008> Visual Studio Tools> Visual Studio 2008 Command Prompt.
3. Write on the command prompt: devenv/resetskippkgs
4. Then open a wpf solution & right click a .xaml file and select open with, u will appear a dialog. U should set windows presentation foundation designer as default designer.

Now everything is right.

Monday, November 24, 2008

Sending Mail using your gmail account

c# source code u can use it and can develop ur own mail sender

System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();

System.Net.NetworkCredential cred = new System.Net.NetworkCredential("yourid@gmail.com", "yourpwd");

mail.To.Add("acme@acme.com");
mail.Subject = "subject";

mail.From = new System.Net.Mail.MailAddress("yourid@gmail.com");
mail.IsBodyHtml = true;
mail.Body = "message";

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.Send(mail);

Saturday, November 15, 2008

Dmitri Gaskin 12yrs genius...

Dmitri Gaskin is a very talented boy of only 12yrs.....follow this link and see this little boy is presenting on JQUERY infront of google employee.....

http://www.youtube.com/watch?v=8mwKq7_JlS8

PC Magazine Tips and Solutions

PC World: Latest Technology News

PCWorld.com - Most Popular Downloads of the Week