上一页 1 ··· 7 8 9 10 11
摘要: //方法一 下载word Response.ClearContent(); Response.ClearHeaders(); Response.ContentType = "Application/msword"; string s = Server.MapPath(WordPath); Response.WriteFile(WordPath); //Response.Write(s); Res... 阅读全文
posted @ 2017-05-31 10:40 芈璐 阅读(612) 评论(0) 推荐(0)
摘要: Label1.Text = Play(url, 600, 400); public string Play(string url, int width, int height) { string strTmp = url.ToLower(); if (strTmp.EndsWith(".wmv") || strTmp.EndsWith(".mp4") || strTmp.End... 阅读全文
posted @ 2017-05-31 10:38 芈璐 阅读(366) 评论(0) 推荐(0)
摘要: 通过Request.QueryString["CheckItem"]的方式调用值的时候,数值中的加号“+”会转换为空格“ ” 例如传输“ABC+EFG”,就会取到“ABC EFG” 解决方法: 使用Server.UrlEncode("数据")方法进行编码,之后QueryString方法会自动解码并返 阅读全文
posted @ 2017-05-31 10:34 芈璐 阅读(865) 评论(0) 推荐(0)
摘要: 公共Modules定义: Forms中引用: 阅读全文
posted @ 2017-05-31 10:33 芈璐 阅读(715) 评论(0) 推荐(0)
摘要: strTypeEx = ReadIniFile("Type", "Type", App.Path & "\set.ini") strTypeEx = Split(strTypeEx, ";") For i = LBound(strTypeEx) To UBound(strTypeEx) CboType.AddItem Trim(strTypeEx(i)) Next i 阅读全文
posted @ 2017-05-31 10:31 芈璐 阅读(1080) 评论(0) 推荐(0)
摘要: 软件运行问题之一:提示部件'COMDLG32.OCX'或其附件之一不能正确使用:一个文件丢失或无效。 或:COMPONENT 'COMDLG32.OCX' OR ONE OF ITS DEPENDENCIES NOT CORRECTLY REGISTERED:A FILE IS MISSING OR 阅读全文
posted @ 2017-05-31 10:28 芈璐 阅读(480) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11