摘要: CreateSdeUserSqlServer --------------------------- SQLState: 42000 NativeError: 15007 'sde'   官方文档表述的错误原因是:   Cause The SDE login cannot be created with a simple password such as ‘sde’ due... 阅读全文
posted @ 2010-08-12 16:31 千禧牛 阅读(1765) 评论(1) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2010-07-22 10:58 千禧牛 阅读(246) 评论(0) 推荐(0)
摘要: #include "windows.h"#include "tlhelp32.h"#include "stdio.h"int main(int argc, char* argv[]){ PROCESSENTRY32 pe32; //在使用这个结构前,先设置它的大小    pe32.dwSize = sizeof(pe32); //给系统内所有的进程拍个快照    HANDLE hProcessSn... 阅读全文
posted @ 2010-06-19 09:51 千禧牛 阅读(209) 评论(0) 推荐(0)
摘要: 在C#里调用Win32函数有这么几个要点。 第一:名字要与Win32 API的完全一样。 第二:函数除了要有相应的DllImport类修饰外,还要声明成public static extern类型的。 第三:也是最变态的一点,函数的返回值和参数类型要与Win32 API完全一致! 阅读全文
posted @ 2010-06-19 09:51 千禧牛 阅读(180) 评论(0) 推荐(0)
摘要: using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using ... 阅读全文
posted @ 2010-06-19 09:51 千禧牛 阅读(320) 评论(0) 推荐(0)
摘要: 关于IsapiCache IsapiCache是一款自动为网站生成静态页面的IIS组件(ISAPI筛选 器),静态页面可以有效的加快网站访问速度,大大减轻服务器负担。 工作原理是组件把服务器返回给客户端的网页源码保存起来,生成静态文件,下次客户再访问的时候就不需要再查询数据库,直接访问静态文件。 IsapiCache的特点: 全自动化生成静态页面,不需要制作网页模板,不需要写一行代码! Is... 阅读全文
posted @ 2010-05-29 14:11 千禧牛 阅读(493) 评论(0) 推荐(0)
摘要: 2010-05-12 10:39 P.M. 之前一直想弄个汉字转化工具,一直没能实现,今天发现原来早就可以实现了,先给各位推荐下这个库: 这两个提供这是微软亚洲汉字开发中心开发的,下面是说明: 2009年3月31日,微软发布了 Microsoft Visual Studio International Pack 1.0 SR1。Visual Studio International Pack ... 阅读全文
posted @ 2010-05-29 13:56 千禧牛 阅读(5090) 评论(1) 推荐(1)
摘要: 相对Flash来说Flex的动画功能还是比较弱的,Flash的动画基于帧、时间轴等概念,而Flex的动画则基于Flex内部的特效,使用麻烦而且有时候还达不到想要的效果。笔者试过在Flex中使用Flash同样的脚本创建一个跑马灯动画,居然能把程序卡死~ 下面结合项目中的实际例子讲一下Flash和Flex结合制作动画的方法,在Flash中制作一些动画作为Flex的组件,然后在Flex中像普通组件一样随... 阅读全文
posted @ 2010-04-16 17:47 千禧牛 阅读(817) 评论(0) 推荐(0)
摘要: package Utils{ import mx.formatters.DateFormatter; public class DateTimeUtil { public static const LONG:String="YYYY.MM.DD HH:NN:SS"; public static const SHORT:String="YYYY.MM.DD"; private static var ... 阅读全文
posted @ 2010-04-16 15:50 千禧牛 阅读(1220) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:esri=http://www.esri.com/2008/ags layout="absolute" width="100%" height="100%" xmlns:lay... 阅读全文
posted @ 2010-04-09 17:02 千禧牛 阅读(3413) 评论(6) 推荐(1)