2012年6月11日
该文被密码保护。 阅读全文
posted @ 2012-06-11 09:57 西西弗斯 阅读(0) 评论(0) 推荐(0) 编辑
  2012年3月30日
摘要: public static MessageResult ResetProgressBar(Session session, int totalStatements){ var record = new Record(3); record[1] = 0; // "Reset" message record[2] = totalStatements; // total ticks record[3] = 0; // forward motion return session.Message(InstallMessage.Progress, record);}public sta 阅读全文
posted @ 2012-03-30 11:08 西西弗斯 阅读(472) 评论(0) 推荐(0) 编辑
  2012年3月20日
摘要: When I add a new configuration and try to build the wixproj, I get the below errors:C:\Program Files\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(444,7): error : The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combin 阅读全文
posted @ 2012-03-20 11:40 西西弗斯 阅读(2552) 评论(0) 推荐(0) 编辑
  2012年2月21日
摘要: 1) Embedded Resource (Build Action 设置为 Embedded Resource) 在运行时使用GetManifestResourceStream读取Image.FromStream(Assembly.GetExecutingAssembly().GetManifestResourceStream("WindowsFormsApplication1.Properties.Resources.warning.png"));2) Resource (Build Action 设置为 Resource) 在运行时使用 Resource Manage 阅读全文
posted @ 2012-02-21 10:23 西西弗斯 阅读(3337) 评论(0) 推荐(2) 编辑
  2012年2月1日
该文被密码保护。 阅读全文
posted @ 2012-02-01 14:14 西西弗斯 阅读(0) 评论(0) 推荐(0) 编辑
  2011年12月21日
摘要: HTML格式的邮件能够使用所有html/css使得邮件更丰富,比如现在很多newsletter 都是使用的html邮件. 今天试了一下,如何把图片嵌入到html中呢?方法一,你的图片host到了internet上 SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); message.IsBodyHtml = true; message.Body = "<div style='border:thin solid #00FFFF'> <p> 阅读全文
posted @ 2011-12-21 11:03 西西弗斯 阅读(2423) 评论(1) 推荐(1) 编辑
  2011年12月15日
摘要: handle 是代表系统的内核对象,如文件句柄,线程句柄,进程句柄。 hmodule 是代表应用程序载入的模块,win32系统下通常是被载入模块的线性地址。 hinstance 在win32下与hmodule是相同的东西,在win32下还存在主要是因为win16程序使用hinstance来区别task。 hwnd 是窗口句柄 阅读全文
posted @ 2011-12-15 15:23 西西弗斯 阅读(1527) 评论(0) 推荐(0) 编辑
  2011年12月8日
摘要: 添加WinForm和ASP.NET控件的方法是:在HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\ToolboxControlsInstaller\下添加键名称为: assembly 的strong name比如:CustomerControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=327c3516b1b18457, processorArchitecture=MSIL给这个键的默认value 给定一个字符串,比如"My Controls" -- 这 阅读全文
posted @ 2011-12-08 10:04 西西弗斯 阅读(793) 评论(0) 推荐(0) 编辑
  2011年11月30日
该文被密码保护。 阅读全文
posted @ 2011-11-30 11:44 西西弗斯 阅读(0) 评论(0) 推荐(0) 编辑
  2011年11月28日
摘要: By Jim White (Director of Training and Instructor)Last week, my fellow Intertech colleague and Microsoft MVP, Tim Star, and I presented theWindows Azure Bootcampfor the Twin Cities. According to Microsoft reps, we broke the record for the most attended bootcamp in the US with nearly a hundred people 阅读全文
posted @ 2011-11-28 16:03 西西弗斯 阅读(287) 评论(0) 推荐(0) 编辑