摘要:using System; class FormattingNumbers { static void Main() { decimal theDecNumber = 12345.67...
阅读全文
posted @ 2007-10-24 15:44
|
||
随笔分类 - .NET
摘要:using System; class FormattingNumbers { static void Main() { decimal theDecNumber = 12345.67...
阅读全文
posted @ 2007-10-24 15:44
摘要:如果你的VS.NET程序在编译后要花很长时间才可以启动,那可能是因为你没有安装IIS。通过下面的步骤你就可以为VS提速了::-) 1. 从Windows控制面板的Add/Remove Programs,选择Add/Remove Windows Components。选择Internet Information Services并完成安装步骤。 2. 在命令行中输入.NET版本目录,例如:C:\...
阅读全文
posted @ 2007-08-29 13:29
摘要:Application.Run()是"Begins running a standard application message loop on the current thread, and makes the specified form visible." 用代码可以表示为:while(GetMessage(&msg)>0){TranslateMessage(&msg);DispatchMe...
阅读全文
posted @ 2007-08-09 10:52
摘要:在用VS2005中编写一个非常简单的播放器程序时,碰到这个问题。编译是OK的。当我Debug运行的时候,在构造video对象的时候,系统报"loaderlock was detected"错误,然后程序就死住了。其实上次在debug 运行一个程序的时候也遇到过这个问题,不过上次没有研究一下,直接放弃了。:) 现象如下: LoaderLock was detected Message:...
阅读全文
posted @ 2007-08-07 23:51
|
||