摘要:
发表时间:2007-4-26 11:28:00System.Configuration.Configuration config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~"); System.Web.Configuration.PagesSection pagesSec... 阅读全文
摘要:
发表时间:2007-4-23 17:23:00 function Base64Service() { //Msxml2.XMLHTTP.3.0 //Msxml2.XMLHTTP.5.0 this.__xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); this.__xmlDoc = new ActiveXObject("M... 阅读全文
摘要:
发表时间:2007-4-5 9:13:00 阅读全文
摘要:
发表时间:2006-7-3 14:15:00 阅读全文
摘要:
发表时间:2006-6-25 16:57:00 New Document 机械电子五金电子====五金====五金====五金====五金====五金====五金====⊙●○①⊕◎Θ⊙¤ ㊣★☆♀◆◇◣◢◥▲▼△▽⊿◤ ◥ ▂ ▃ ▄ ▅ ▆ ▇ █ █ ■ ▓ 回 □ 〓≡ ╝╚╔ ╗╬ ═ ╓ ╩ ┠ ┨┯ ┷┏ ┓┗ ┛┳⊥﹃﹄┌ ┐└ ┘∟「」↑↓→←↘↙♀♂┇┅ ﹉﹊﹍﹎╭ ╮╰... 阅读全文
摘要:
发表时间:2006-6-20 16:16:00 using System;using System.Text;using System.IO;using System.Windows.Forms; public class DynmicTable{ /// /// 动态生成表格 /// public static void Main() { StringBuilder builder = n... 阅读全文
摘要:
阅读全文
摘要:
每一种权限,相当于一种开关,也就是一个BIT,假如我们将这些权限,每一种权限用一位表示,那么,整个权限体系,不过是个BIT序列而已,也就是 说不过是二进制的011010而已,这样一来,就好解决问题了同样的问题,我们这样假设: 第一位 表示 读取第二位 表示 运行第三位 表示 修改第四位 表示 删除......以此类推,假如,我们想给一个用户分配运行和修改权限,其他权限都不给予,于是,他的权限字符串... 阅读全文
摘要:
HWND hwnd = 0; hwnd = ::FindWindowEx(hwnd, 0, TEXT("IEFrame"), NULL); hwnd = ::FindWindowEx(hwnd, 0, TEXT("WorkerW"), NULL); hwnd = ::FindWindowEx(hwnd, 0, TEXT("RebarWindow32"), NULL); hwnd = ::FindW... 阅读全文
摘要:
首先需要编写一个类,实现IDispatch接口,然后把这个类传进去,代码如下:#ifndef XMLHTTPEVENTSINK_H_#define XMLHTTPEVENTSINK_H_ #include "msxml.h"#include #include #include class XMLHttpEventSink : public IDispatch{public: XMLHttp... 阅读全文
摘要:
类的数据成员指针及类的成员函数指针代码如下:struct MemberPointer { int m_a; char* getname(int parama) const; MemberPointer() { m_a = 0; }}; char* MemberPointer::getname(int parama) const { return "hello, my name is member... 阅读全文
摘要:
1、导入的Service.cpp// ************************************************************************ //// The types declared in this file were generated from data read from the// WSDL File described below:// W... 阅读全文
摘要:
--=============================================================================================--单表查询调用--***********************************************************************************************... 阅读全文
摘要:
1、点击开始-运行,输入oleview.exe或从vs2003打开工具-OLE/COM 对象查看器2、使用该工具导出Micrisoft VBScript RegluarExpression为vbscript.idl4、midl vbscript.idl生成vbscript.tlb,很可能会拷到VC目录下,如D:\Program Files\Microsoft Visual Studio 8\VC ... 阅读全文
摘要:
1、选择添加类--TypeLib中的MFC类。2、选择从注册表中添加,位置为C:\windows\system32\vbscript.dll3、生成类文件CMatch.h CMatch2.h CMatchCollection.h CMatchCollection2.h CRegExp.h CRegExp2.hCSubMatches.h4、将#import "c:\\windows\\system3... 阅读全文
摘要:
头文件#ifndef ioshelperH#define ioshelperH #include #include //--------------------------------------------------------------------------- class IOHelper{public: void CopyFiles(char* srcPath, char* destP... 阅读全文
摘要:
方法一:void bytes_to_hexstr(char* dest, unsigned char* src) { char buffer[3]; for (int i = 0; i #include #include *const char* bytes_to_hexstr(unsigned char* buffer) {std::ostringstream oss;oss << std::... 阅读全文
摘要:
FTP 协议命令实战 废话就不多说了,下面是用TELNET连接Serv-U测试成功的例子 下载文件---------------------------------------------------------------------------TELNET 127.0.0.1 21220 Serv-U FTP Server v4.0 for WinSock ready... USER ADMI... 阅读全文
摘要:
C++软件下载 http://www.codeguru.cn/fav/soft.htmC函数实例参考手册 http://www.codeguru.cn/CPP/CExample/十部算法经典著作 合集 http://www.codeguru.cn/cpp/10book二级试题全集 http://www.codeguru.cn/cpp/2JiCShiTiJi高质量C++/C编程指南 http://w... 阅读全文
摘要:
bool TForm1::CopyFile2() { AnsiString srcPath = ExtractFilePath(Application->ExeName) + "Windows.pdf"; AnsiString destPath = ExtractFilePath(Application->ExeName) + "dest.pdf"; HANDLE hSrcFi... 阅读全文