上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 76 下一页
摘要: 错误5fatal error LNK1104: 无法打开文件“..\..\..\..\api\vc6.0\lib\shp_a3.lib”解决方案:程序设置了链接包含 shp_a3.lib 这个文件 但是 目录或文件名不对.编译当然就通不过了方法一:看看 工程属性 --> 链接 --> 输入 --> 附加依赖项 ......方法二: 把这个文件复制到 你的工程目录下,然后在stdafx.h的最后加上 #pragma comment(lib , "shp_a3.lib"); 就可以了 阅读全文
posted @ 2011-06-27 11:12 海乐学习 阅读(617) 评论(0) 推荐(0)
摘要: 现象:win32程序,运行时弹出对话框: “没有找到MSVCR90D.dll,因此这个应用程序未能启动,重新安装应用程序可能修复此问题”解决: 网上一人说是微软BUG,具体原因不清楚。 如果把项目放在FAT32分区,那么这样操作:方案一: 英文版:Project Properties -> Manifest Tool-> Use FAT32 Work-around -->Yes 中文版:项目-->项目属性-->配置属性-->清单工具-->使用 FAT32解决方法-->是 然后右击项目-->清理(clean)下,然后重新生成项目(Rebuil 阅读全文
posted @ 2011-06-26 17:53 海乐学习 阅读(4183) 评论(0) 推荐(2)
摘要: 在页面中含有frameset方式布局时,如果各个frame之间要相互访问的话:var getLeftFrameValue=parent.frames["leftFrame"].document.getElementById("txtleft").value; 在页面中含有iframe方式布局时,此时访问iframe中元素时:vargetLeftFrameValue=document.getElementById("leftiframe").contentWindow.document.getElementById("txtl 阅读全文
posted @ 2011-06-03 17:05 海乐学习 阅读(1117) 评论(0) 推荐(0)
摘要: 在做table背景图时,发现总无法顶到网页头部。烦闷了很久,终于在网上找到了解决方法,写下来大家分享。<style type="text/css">.bg { BACKGROUND-POSITION: center top; BACKGROUND-IMAGE: url(login3/images/bg.JPG); BACKGROUND-REPEAT: repeat-x; BACKGROUND-COLOR: #1a4975 ;margin:2;}</style><body class="bg"><TABLE cel 阅读全文
posted @ 2011-06-01 17:57 海乐学习 阅读(569) 评论(0) 推荐(0)
摘要: 在VS.NET 2008 中新建页时会有<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">这个标准,但对于IE 6 不支持这个标准,故在使用iframe是右边会有空白。将此句去掉并且需要把ifram所在的页面的body设置为overfolw:auto还要把iframe里面要显示的页面也设置为overfolw:auto这样才可以 阅读全文
posted @ 2011-05-04 14:00 海乐学习 阅读(835) 评论(0) 推荐(0)
摘要: Order By Rnd()或Order By NewID() ‘此句在sql2000中试好用或Select * From table Order By Rnd(ID)或SELECT * FROM table ORDER BY Rnd(ID-timer()) 阅读全文
posted @ 2011-04-18 15:11 海乐学习 阅读(6740) 评论(0) 推荐(0)
摘要: 创建表及插入模拟数据:CREATE TABLE [sysMenuTree]([NoteId] [decimal](18, 0) NOT NULL,[ParentId] [decimal](18, 0) NULL,[sText] [nvarchar](50) NULL,[sValue] [nvarchar](50) NULL,[sURL] [nvarchar](50) NULL,[sTarget] [nvarchar](50) NULL,[Chger] [nvarchar](50) NULL,[ChgTime] [nvarchar](50) NULL)insert into sysMenuTre 阅读全文
posted @ 2011-04-14 22:49 海乐学习 阅读(11587) 评论(3) 推荐(2)
摘要: /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { //获取欲启动进程名 string strProcessName = System.Diagnostics.Process.GetCurrentProcess().ProcessName; ////获取版本号 //CommonData.VersionNumber = Application.ProductVersion; //检查进程是否已经启动,已经启动则显示报错信息退出程序。 if (System.Diagnost 阅读全文
posted @ 2011-04-03 22:04 海乐学习 阅读(12952) 评论(0) 推荐(0)
摘要: web与mysql数据库分离开来是一个不错的选择,避免因为大量的数据库查询占用CPU而使web资源不足, 同时可以使web服务器的资源尽最大的提供浏览服务,而数据库服务器单独的只处理数据库事物。A为web服务器(假设ip为:192.192.192.192) B为mysql数据服务器(假设ip为:16 阅读全文
posted @ 2011-04-02 14:31 海乐学习 阅读(2714) 评论(0) 推荐(0)
摘要: 在$_REQUEST['where'] = $where;$storeQuery->process_views($currentModule);上面加入以下代码,下面的代码指默认为查询本月if($where==''){$date_period ='thismonth';$date_from = get_date_from($date_period);$date_to = get_date_to($date_period);if(isset($date_from) && $date_from != "") 阅读全文
posted @ 2011-03-29 13:19 海乐学习 阅读(555) 评论(0) 推荐(0)
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 76 下一页