上一页 1 ··· 57 58 59 60 61
  2009年12月9日
摘要: HBITMAP CopyScreenToBitmap(LPRECT lpRect){//屏幕和内存设备描述表HDC hSrcDC, hMemDC;//位图句柄HBITMAP hBitmap, hOldBitmap;//选定区域坐标int nX, nY, nX2, nY2;//位图宽度和高度int nWidth, nHeight;//屏幕分辨率int xScrn, yScrn;//确保选定区域不为空... 阅读全文
posted @ 2009-12-09 21:17 carekee 阅读(481) 评论(0) 推荐(0)
  2009年12月2日
摘要: 作用:在地理信息的实际项目中,会碰到将坐标解析成地名的需求。需要用到GIS平台的空间分析功能。开发环境:VS2005 + Mapxtreme2005using System;using System.Collections.Generic;using System.Text;using MapInfo.Data;using MapInfo.Geometry;using MapInfo.Mappin... 阅读全文
posted @ 2009-12-02 10:43 carekee 阅读(724) 评论(0) 推荐(0)
摘要: // 需要标识为WebMethod [System.Web.Services.WebMethod] // 注意,要让前台调用的方法,一定要是public和static的 public static string aaa(string name) { string result = "Hello:" + name; return result;}<script type="text/java... 阅读全文
posted @ 2009-12-02 09:42 carekee 阅读(1089) 评论(0) 推荐(0)
  2009年12月1日
摘要: Table _searchTable;//定义被查找的表Column _searchColumn;//定义被查找的列,必须是被索引的FindResult _result;//定义查询结果Find find = null;//定义查找对象,并实例化为null_searchTable = Session.Current.Catalog.OpenTable(@"C:\Program Files\MapI... 阅读全文
posted @ 2009-12-01 15:03 carekee 阅读(388) 评论(0) 推荐(0)
摘要: 症状: 使用IIS调试.aspx程序时IE提示以下错误: -------------------- 无法显示 XML 页。 使用 样式表无法查看 XML 输入。请更正错误然后单击 刷新按钮,或以后重试。 -------------------------------------------------------------------------------- 处理资源 '*http://loc... 阅读全文
posted @ 2009-12-01 13:41 carekee 阅读(38136) 评论(0) 推荐(0)
摘要: 原因:在 .NET Framework 2.0 版中新增Login类.而我们又增加Login.aspx时莫名地冲突了。这个问题也不给提示,让人分析起来好困难。<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>中Inherits="Login"这句,在创建页面... 阅读全文
posted @ 2009-12-01 13:40 carekee 阅读(345) 评论(0) 推荐(0)
上一页 1 ··· 57 58 59 60 61