摘要: 这个标题好长。乃读通没?分离一下:不能直接拷贝4G以上的单个文件到FAT32格式的移动硬盘上。我上次遇到这个问题的时候,智商拙急了,整个把盘格掉了,改成NTFS。高明一点的做法是:cmd, convert/? 得到下面的东东。C:\Users\admin>convert/?Converts a FAT volume to NTFS.CONVERT volume /FS:NTFS [/V] [/CvtArea:filename] [/NoSecurity] [/X] volume Specifies the drive letter (followed by a colon), ... 阅读全文
posted @ 2013-11-27 23:57 悠哉游哉 阅读(514) 评论(0) 推荐(0)
摘要: 在VS中直接Browse一个页面,IE最后显示了这样一个错误:Content控件只能位于包含Content控件的内容页中。我本身对ASP.NET不太了解,根据这个错误信息,凭直觉是认为该页应该要被host在另一个页面。多番搜索无果。用VS打开,见444行之后全是空白。最后用note pad++打开,全是444行之后全是NUL。用Ctrl+H,replace \x00 with 空白。选上extended为search mode,save之后。这一次从VS中Browse该页面。OK。 阅读全文
posted @ 2013-11-23 23:16 悠哉游哉 阅读(2314) 评论(0) 推荐(0)
摘要: 背景:虚拟机由于是动态扩展内存,所以从虚机的C盘看所占内存才20GB左右,而虚机本身文件 Test.vhdx大小却有远不止这个数目。先从磁盘管理Attach VHD, 然后从 Hyper-V 编辑vhd,选择Compact,却只减少了几个GB的的容量。我参照了下面这个方法。也是先mount vhd,不过这里采用的是Resize-partition命令。PS C:\Windows\system32> mount-vhd 'C:\Test.vhdx' -passthru | get-disk | get-partition | get-volumeDriveLetter Fi 阅读全文
posted @ 2013-11-21 13:27 悠哉游哉 阅读(986) 评论(0) 推荐(0)
摘要: Go through Tess Lab:.NET Debugging Demos Lab 1: Hang1. 运行”adplus -hang -pn w3wp.exe -quiet“命令的时候,出现An '_NT_SYMBOL_PATH' Environment variable is not set 的警告.>> Start -> Computer -> Properties -> Advanced System settings-> Environment Variables. In the User variables for admi 阅读全文
posted @ 2013-11-06 22:39 悠哉游哉 阅读(350) 评论(0) 推荐(0)
摘要: 在SQL Server 2008 R2 里,用UI还原数据库有时候会失败。可以考虑在CMD里面输入指令SqlCmd来还原。1>RESTORE DATABASE newdb FROM DISK = 'C:\Test\yourdb.Bak' WITH MOVEYourDB' to 'c:\Data\YourDB.mdf', MOVE 'YourDB_log'to 'c:\Data\YourDB_log.ldf'2> GO'C:\Test\yourdb.Bak' 路径名。如果提示逻辑文件名不对,可以输 阅读全文
posted @ 2013-11-06 22:37 悠哉游哉 阅读(197) 评论(0) 推荐(0)
摘要: 1. 编辑网站下面的网页,同事建议先编辑一下Web.Config文件,加几个空格 -> 这样才可以使整个Web 应用重新编译。参考《Programming Microsoft ASP.NET 4.0 》,找到了下面的说明:Editing files such as web.config and global.asax causes the whole application to restart. Inthis case, all the pages will be recompiled as soon as each page is requested. The same happen 阅读全文
posted @ 2013-11-04 23:37 悠哉游哉 阅读(193) 评论(0) 推荐(0)
摘要: 1. The Access database is corrupted.>> Try Compact and repair database.>> Try decompiler database.>>How to troubleshoot corruption in a Microsoft Access database http://support.microsoft.com/kb/3062042. The Access process is running but the Access database is stilll invisible.>& 阅读全文
posted @ 2012-12-27 12:57 悠哉游哉 阅读(214) 评论(0) 推荐(0)
摘要: Stephen Lebans's Website Some amazing ways of achieving things you never thought you could in Access! Unfortunately for us, Stephen has decided to retire from all things Access, but he's keeping his site around for our edification.Rogers' Access BlogAccess MVPsThe Access JunkieJeff Conra 阅读全文
posted @ 2012-12-07 15:10 悠哉游哉 阅读(325) 评论(0) 推荐(0)
摘要: project右键选则properties,Linker->Input->Additional Dependencies填入:Debug:加入msvcrtd.libRelease:加入msvcrt.lib来自:http://blog.csdn.net/esinhee/article/details/4166044 阅读全文
posted @ 2012-03-16 13:50 悠哉游哉 阅读(665) 评论(0) 推荐(0)
摘要: How to use the WebBrowser control to open Office documents in Visual C# 2005 or in Visual C# .NEThttp://support.microsoft.com/?scid=kb%3Ben-us%3B304662&x=11&y=11According to this link, we should edit the registry key first if we use IE 7 and onword.Added the .reg file as follow.Windows Regis 阅读全文
posted @ 2012-02-07 18:21 悠哉游哉 阅读(397) 评论(0) 推荐(0)