<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[sfchina的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/sfchina</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; sfchina]]></copyright><item><title><![CDATA[如何调用输入法，得到汉字的拼音]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1583559</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1583559</guid><author>sfchina</author><pubDate>Tue, 24 Apr 2007 23:47:00 +0800</pubDate><description><![CDATA[ 由汉字获取拼音,需要安装微软拼音输入法Option ExplicitPrivate Const IME_ESC_MAX_KEY = &H1005Private Const IME_ESC_IME_NAME = &H1006Private Const GCL_REVERSECONVERSION = &H2Private Declare Function GetKeyboardLa]]></description><category></category></item><item><title><![CDATA[动态生成表格]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1583548</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1583548</guid><author>sfchina</author><pubDate>Tue, 24 Apr 2007 23:40:00 +0800</pubDate><description><![CDATA[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">上传文件      图片数量：    &nbsp;                  1          2          3                      图片路径：    &nbsp;        ]]></description><category></category></item><item><title><![CDATA[启动应用程序并向其发送击键]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1583546</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1583546</guid><author>sfchina</author><pubDate>Tue, 24 Apr 2007 23:38:00 +0800</pubDate><description><![CDATA[Dim ProcID As Integer Start the Calculator application, and store the process id.ProcID = Shell("CALC.EXE", AppWinStyle.NormalFocus) Activate the Calculator application.AppActivate(ProcID)SendKeys.S]]></description><category></category></item><item><title><![CDATA[在 Internet Explorer 中显示 Web 页]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1583544</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1583544</guid><author>sfchina</author><pubDate>Tue, 24 Apr 2007 23:36:00 +0800</pubDate><description><![CDATA[System.Diagnostics.Process.Start( _   "C:/Program Files/Internet Explorer/IExplore.exe", "www.microsoft.com") ]]></description><category></category></item><item><title><![CDATA[.NET download file]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575040</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575040</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 22:03:00 +0800</pubDate><description><![CDATA[if(File.Exists(finalFilePath.ToString()))  {   try  {   HttpContext hc = HttpContext.Current;  hc.Response.Clear();  hc.Response.Charset = ConfigSettings.Create().GetEncoding().ToString();  hc.Respons]]></description><category></category></item><item><title><![CDATA[用XSL解析XML]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575038</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575038</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 22:01:00 +0800</pubDate><description><![CDATA[       strXmlPath=GetUnitFilePath(courseId,subCourseId,unitId);                    strXSLTFile=GetCrsQuestion(courseSettingInfo,courseId,subCourseId).File;            System.Xml.XPath.XPathDocument xp]]></description><category></category></item><item><title><![CDATA[JAVA获取指定月份的天数]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575030</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575030</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:52:00 +0800</pubDate><description><![CDATA[        Calendar ymCalendar=Calendar.getInstance();  Date ymDate=new Date();  ymDate.setYear(Integer.parseInt(CommonUtils.getYear(kokanDayForm.getKokanYm())));  ymDate.setMonth(Integer.parseInt(Common]]></description><category></category></item><item><title><![CDATA[CSS设定样式表使用特定的字符集]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575029</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575029</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:51:00 +0800</pubDate><description><![CDATA[在样式表中添加@charset "Shift_JIS"; ]]></description><category></category></item><item><title><![CDATA[vba小技巧]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575027</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575027</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:49:00 +0800</pubDate><description><![CDATA[日常工作中，熟练的使用vba会极大的帮助俺们提高工作效率。这一点在俺进入队日外包这个行当后更是深有体会。下面是一些小技巧，希望可以给感兴趣的朋友一些帮助。1、解除Sheet保护ActiveSheet.Unprotect "密码" 2、拷贝模扳sheet生成新文档Sub CreateExcel()    Dim tempSheet As Worksheet    Set tempSheet ]]></description><category></category></item><item><title><![CDATA[.net显示帮助]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575012</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575012</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:40:00 +0800</pubDate><description><![CDATA[有两个方法1、使用HelpProvider类2、使用Help.ShowHelp() 或者 Help.ShowHelpIndex()ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.2052/cpref/html/frlrfSystemWindowsFormsHelpClassShowHelpTopic.htm ]]></description><category></category></item><item><title><![CDATA[Fireworks 显示中文菜单]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575009</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575009</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:38:00 +0800</pubDate><description><![CDATA[C:/Documents and Settings/Administrator/Application Data/Macromedia/Fireworks 8生成文件  Fireworks 8 Language.txt文件内容为Simplified Chinese ]]></description><category></category></item><item><title><![CDATA[日文输入法小技巧]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575007</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575007</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:37:00 +0800</pubDate><description><![CDATA[濁音の入力が行は [G] キー、ざ行は [Z] または [J] キー、だ行は [D] キー、ば行は [B] キーを使います。なお、濁点 (゛) のみの入力は、""" や "だくてん" と入力して変換できます。濁点のみの入力では、"た゛" と 2 文字になり、"だ" (1文字) とは異なります。 拗音の入力拗音 (小さいひらがな) を単独で入力するときは、[X] キーを押した後、大文字の読みを入]]></description><category></category></item><item><title><![CDATA[asp.net下载时避免编码问题的出现]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575005</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575005</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:36:00 +0800</pubDate><description><![CDATA[Response.AppendHeader("Content-Disposition","attachment;filename=" +fileName);using(StreamWriter writer = newStreamWriter(Response.OutputStream,指定编码)){writer.Write(str_outputFile);}Response.Flush();Re]]></description><category></category></item><item><title><![CDATA[.net中MD5加密和解密]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/1575004</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/1575004</guid><author>sfchina</author><pubDate>Sun, 22 Apr 2007 21:34:00 +0800</pubDate><description><![CDATA[using System.Security.Cryptography; using  System.IO;   using  System.Text; ///MD5加密  public string MD5Encrypt(string  pToEncrypt,  string  sKey)  {     DESCryptoServiceProvider  des  =  new  DESCry]]></description><category></category></item><item><title><![CDATA[15位身份证号转18位]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/190378</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/190378</guid><author>sfchina</author><pubDate>Mon, 22 Nov 2004 10:42:00 +0800</pubDate><description><![CDATA[这是根据csdn上找到的java的源码改的Enjoy it    Public Function Old2New(ByVal OldID As String) As String        Dim W() As Int16 = {7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2, 1}        Dim A() As String ]]></description><category></category></item><item><title><![CDATA[一切都因为分页-再谈分页]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/187406</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/187406</guid><author>sfchina</author><pubDate>Fri, 19 Nov 2004 14:19:00 +0800</pubDate><description><![CDATA[很久没有被分页困惑了，因为一直以来操作的表中数据量都不大，所以很偷懒地使用了纪录集的PageSize与AbsolutePage。这个的弊端就是一次性地把用到用不到的记录全读出来了，记录数一多就很慢。解决的思路是，找到一种方法，只读出需要的记录~呵呵~比较常见的是利用了IN 操作符，例如SELECT TOP  PageSize * From A WHERE id NOT IN (SELECT TOP]]></description><category></category></item><item><title><![CDATA[将阿拉伯数字日期转换为中文数字日期格式（ASP）]]></title><link>https://blog.youkuaiyun.com/sfchina/article/details/172105</link><guid>https://blog.youkuaiyun.com/sfchina/article/details/172105</guid><author>sfchina</author><pubDate>Mon, 08 Nov 2004 12:21:00 +0800</pubDate><description><![CDATA[刚才看到一个兄弟提的问题，做完了才发现已经结贴，郁闷呀~~只是看到这个东西还算有用，所以贴出来自赏呵呵思路：一开始想到用select，用for循环将每位阿拉伯数字转换成对应的中文，然后想到其实可以用数组，这样子比较少些代码，毕竟0~9，可以对应起来，可是~问题出现了，对于10~31，要变成“贰拾壹” 这样格式，呵呵~加一个判断，嗯~11可不能转换成“壹拾壹”，再加判断呵呵~基本好了，还需要判断是不]]></description><category></category></item></channel></rss>