如何查找数据的内存地址,数据加密了,如何用八门神器修改

用八门常规方法不能实现,即搜索变动后再搜索该数据!如果知道其地址了应该就容易修改了吧

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
如何用vb修改内存地址
如何用vb修改内存地址,多谢!
查找进程数据的内存地址
我已经完成了查找字符的内存地址函数,像CE一样,查找一个字符内存地址速度 300ms 很快rn用 一遍内存rnDim MBI As MEMORY_BASIC_INFORMATIONrnDo While (R = Len(MBI))rnR = VirtualQueryEx(hProcess, pAddr, MBI, Len(MBI)) rnIf (MBI.Protect And PAGE_READWRITE) And MBI.State = MEM_COMMIT And MBI.lType = &H20000 ThenrnAwc = ReadProcessMemory(hProcess, ByVal MBI.BaseAddress, ByVal VarPtr(DStr(0)), MBI.RegionSize, 0&) '读内存到byte数组rn................rn rn再比较rnStrPosition = InStr(PKi, DStr, StrSearch) rn得到地址rnBAddr = MBI.BaseAddress + (StrPosition - 1) * 2rn速度和ce一样快rnrnrn可是查找数据内存地址不知道怎样算法!请高手指导rnrnrnrnrnrnrn
如何用api修改内存地址?谢谢
请问如何用api修改内存地址啊?一个挺棘手的问题。希望能介绍的详细点,谢谢了!!!
CE6.0查找修改内存地址工具
查找、修改内存地址的工具,具有反编汇功能。如果是新手里面有教程可以学习。
数据加密与数据隐藏修改
计算机网络安全与技术中的关于数据加密与数据隐藏修改
如何用CryptoAPI进行数据加密
那位高手可以告诉我如何用CryptoAPI进行数据加密?我的程序执行到CryptAcquireContext函数时为什么老是报错?而且更怪的是,在加密时好像执行CryptAcquireContext函数没问题,解密时就报错,但我的是用同一段程序,这是为什么?
如何用C遍历内存地址?
如何获得一个进程的起始地址,并遍历该进程所使用的内存地址?
安卓游戏修改器-八门神器 GameKiller 2.31
八门神器是一个Android平台的游戏修改器,该软件通过修改正在运行的游戏的内存数据,可以非常方便地修改游戏的HP、MP、生命数等等参数。比较类似于PC平台的整人专家(FPE)及金山游侠等游戏修改器,软件支持中、英双语言,并且自带帮助说明,使用前请仔细看帮助说明。可修改的游戏:- 理论上所有游戏,包括模拟器游戏都是可以修改的,我们测试主流的模拟器,如:PS模拟器、FC模拟器、SFC模拟器、GBA模...
八门神器2.50 破解付费完整版
八门神器2.50 破解付费完整版 我现在就在用这个,很不错。能够使用这个软件的所有功能。
安卓八门神器_GameKiller_2.60免注册版
用过塞班八门神器的朋友懂,可用于对手机上的应用进行分析工作,会用的可取走
如何用触发器修改数据?
create table 商品rn(商品编号 char(10) not null constraint pk_spbh primary key,rn 厂商编号 char(10) not null constraint fk_csbh foreign key (厂商编号) references 厂商(厂商编号),rn 商品类型编号 char(10) not null constraint fk_splxbh foreign key (商品类型编号) references 商品类型(商品类型编号),rn 商品名称 varchar(30) constraint uk_spmc unique,rn 商品单价 float,rn 商品数量 int,rn 库存位置 varchar(10),rn 是否终止 bitrn) rnrncreate table 订单明析rn(rn商品编号 char(10) not null constraint fk_spbh foreign key (商品编号) references 商品(商品编号),rn订单编号 char(10) not null constraint fk_ddbh foreign key (订单编号) references 订单(订单编号),rn单价 float,rn数量 int,rn折扣 char(10)rn) rnrn想在查出当商品的数量(只在订单明析中的数量比较)为最少时(不管时间),把它销售的价格给改少,然后再出售,因为这商品的销售量低嘛~所以我们就改价格,让它尽量销售出去啊 ~先说声谢谢了啊,各位前辈rn
如何用CRecordset修改数据?
CRecordset是动态生成的,我应该如何修改或者添加数据呢?例子都是已经被绑定的field。rn
八门神器-幸运破解器破解文件
幸运破解器下,破解八门神器所需的破解文件,放在幸运破解器根目录即可
Kaggle八门神器(一):竞赛神器之XGBoost介绍
Xgboost为一个十分有效的机器学习模型,在各种竞赛中均可以看到它的身影,同时Xgboost在工业届也有着广泛的应用,本文以Titanic数据集为研究对象,简单地探究Xgboost模型建模过程,同时对数据清理以及特征工程的内容作简单的介绍,以此作为Xgboost模型的学习笔记,错误和不足之处还请各位看官指出。 数据集 本文数据集源自于竞赛Titanic: Machine Learning fro...
查找内存地址的强大软件
查找内存地址的强大软件,查找游戏内存,软件内存,找到地址之后你就可以为所欲为的修改内存了。
CheatEngine内存地址查找工具
内存定位 内存修改 游戏内存修改 DNF游戏内存大全内存定位 内存修改 游戏内存修改 DNF游戏内存大全内存定位 内存修改 游戏内存修改 DNF游戏内存大全内存定位 内存修改 游戏内存修改 DNF游戏内存大全
请问如何用PHP进行数据加密
我的开发环境是win2000+IIS+PHP+Mysqlrn请问如何用PHP进行数据加密rn
如何用 WriteProcessMemory 对内存地址写入字符串?
例如:rn指定的内存地址: $04A66320rn要写入的字符串: windows (这个字串符有时候会长些,有时候会短些)rnrn请问如何用“WriteProcessMemory”函数写入以上字符串到指定的内存地址?rnrn在些先谢谢各位大大!
如何用Pointer对象获取变量内存地址
如何用Pointer对象获取变量内存地址,能不能给个实例,注释说明下感激不尽。
请问高手,如何用python获取内存地址??
请问高手,如何用python获取内存地址或者硬盘的物理存储地址???用什么插进或者类呢??
如何用XML修改GridView中的数据
我想实现的功能是点击编辑 就会跳转到编辑页 从而修改 点击 添加 就跳转到添加页面 添加我做出来了 修改 请各位指教下 该如何 实现 呢 ????????????rn这是我的主页面代码 rnrnrn<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>rnrnrnrnrn XML 增、删、改和查rn rnrnrn rn rn rn rn rn 九朝装饰通讯录系统rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rn rn rn rn rnrn rn rn rn rnrnrnrnrn后台代码rnrnusing System;rnusing System.Configuration;rnusing System.Data;rnusing System.Linq;rnusing System.Web;rnusing System.Web.Security;rnusing System.Web.UI;rnusing System.Web.UI.HtmlControls;rnusing System.Web.UI.WebControls;rnusing System.Web.UI.WebControls.WebParts;rnusing System.Xml.Linq;rnusing System.Xml;rnrnpublic partial class _Default : System.Web.UI.Page rnrn protected void Page_Load(object sender, EventArgs e)rn rn if (!IsPostBack)rn rn LoadData();rn rn rnrn private void LoadData()rn rn DataSet ds = new DataSet();rn //将xml数据读入Dataset中rn ds.ReadXml(Server.MapPath("App_Data\\XMLFile.xml"));rn if (ds.Tables.Count > 0)rn rn GrTX.DataSource = ds.Tables[0].DefaultView;rn GrTX.DataBind();rn //GrTX.DataKeyNames = "id";rn rn rn protected void GrTX_SelectedIndexChanged(object sender, EventArgs e)rn rn rn rn protected void btnAdd_Click(object sender, EventArgs e)rn rn Response.Redirect("XmlAdd.aspx");rn rn rn protected void GrTX_RowEditing(object sender, GridViewEditEventArgs e)rn rn rn rnrn
excel如何用函数修改列数据
例如,我想修改一列数据,全部转大写并且加上 “2009”的前缀rnrn怎样用类似 C1 = "2009" & Ucase(C1) 这样的vb函数、语句来完成呢???rnrnrnrnrnrn
如何用VBA修改数据透视表的数据域?
如题rnrn我试了好多办法都不行!
如何用querydataset组件实现数据修改?
我把主键列的rowid属性设成true了,但修改再按导航条的保存时,报错:rnSee com.borland.dx.sql.dataset.ResolutionException error code: BASE+3rnrncom.borland.dx.sql.dataset.ResolutionException: An error occurred saving a change to the "city" tablernrn at com.borland.dx.sql.dataset.ResolutionException.a(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionException.c(Unknown Source)rnrn at com.borland.dx.sql.dataset.l.a(Unknown Source)rnrn at com.borland.dx.sql.dataset.QueryResolver.updateRow(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.a(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.e(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.e(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.saveChanges(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.saveChanges(Unknown Source)rnrn at com.borland.dx.sql.dataset.Database.saveChanges(Unknown Source)rnrn at com.borland.dx.sql.dataset.QueryDataSet.saveChanges(Unknown Source)rnrn at com.borland.dx.dataset.DataSet.saveChanges(Unknown Source)rnrn at com.borland.dbswing.JdbNavToolBar.actionPerformed(JdbNavToolBar.java:1804)rnrn at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)rnrn at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)rnrn at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)rnrn at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)rnrn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)rnrn at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)rnrn at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)rnrn at java.awt.Component.processMouseEvent(Component.java:5100)rnrn at java.awt.Component.processEvent(Component.java:4897)rnrn at java.awt.Container.processEvent(Container.java:1569)rnrn at java.awt.Component.dispatchEventImpl(Component.java:3615)rnrn at java.awt.Container.dispatchEventImpl(Container.java:1627)rnrn at java.awt.Component.dispatchEvent(Component.java:3477)rnrn at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)rnrn at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)rnrn at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)rnrn at java.awt.Container.dispatchEventImpl(Container.java:1613)rnrn at java.awt.Window.dispatchEventImpl(Window.java:1606)rnrn at java.awt.Component.dispatchEvent(Component.java:3477)rnrn at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)rnrn at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)rnrn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)rnrn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)rnrn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)rnrn at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)rnrnChained exception:rnrnjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Value can not be converted to requested type.rnrn at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)rnrn at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)rnrn at com.microsoft.jdbc.base.BaseData.getBigDecimal(Unknown Source)rnrn at com.microsoft.jdbc.base.BaseData.getBigDecimal(Unknown Source)rnrn at com.microsoft.jdbc.base.BasePreparedStatement.setObjectInternal(Unknown Source)rnrn at com.microsoft.jdbc.base.BasePreparedStatement.setObject(Unknown Source)rnrn at com.borland.dx.sql.dataset.j.setParameter(Unknown Source)rnrn at com.borland.dx.sql.dataset.a.a(Unknown Source)rnrn at com.borland.dx.sql.dataset.l.a(Unknown Source)rnrn at com.borland.dx.sql.dataset.QueryResolver.updateRow(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.a(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.e(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.e(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.saveChanges(Unknown Source)rnrn at com.borland.dx.sql.dataset.ResolutionManager.saveChanges(Unknown Source)rnrn at com.borland.dx.sql.dataset.Database.saveChanges(Unknown Source)rnrn at com.borland.dx.sql.dataset.QueryDataSet.saveChanges(Unknown Source)rnrn at com.borland.dx.dataset.DataSet.saveChanges(Unknown Source)rnrn at com.borland.dbswing.JdbNavToolBar.actionPerformed(JdbNavToolBar.java:1804)rnrn at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)rnrn at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)rnrn at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)rnrn at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)rnrn at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)rnrn at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)rnrn at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)rnrn at java.awt.Component.processMouseEvent(Component.java:5100)rnrn at java.awt.Component.processEvent(Component.java:4897)rnrn at java.awt.Container.processEvent(Container.java:1569)rnrn at java.awt.Component.dispatchEventImpl(Component.java:3615)rnrn at java.awt.Container.dispatchEventImpl(Container.java:1627)rnrn at java.awt.Component.dispatchEvent(Component.java:3477)rnrn at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)rnrn at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)rnrn at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)rnrn at java.awt.Container.dispatchEventImpl(Container.java:1613)rnrn at java.awt.Window.dispatchEventImpl(Window.java:1606)rnrn at java.awt.Component.dispatchEvent(Component.java:3477)rnrn at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)rnrn at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)rnrn at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)rnrn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)rnrn at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)rnrn at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)rnrn如何才能保存呢?
如何用post修改网页数据
网页源码为: rn rn rn Network Camera rn rnrn rnrn rn rn 网络设置 rn rn rn rn rn rn rn rn 1. rn 网络摄像机名称 rn rn rn rn 网络摄像机名(英文4-15字,汉字2-7字) rn rn rn rn rn 2. rn 网络连接 rn rn rn rn 端口号 rn rn rn rn rn rn 指定IP地址 rn rn rn rn IP地址 rn rn rn rn rn 子网掩码 rn rn rn rn rn rn rn 指定DHCP(自动获取IP地址) rn rn rn rn 现在的IP地址 rn 172.22.130.177 rn rn rn rn 现在的子网掩码 rn 255.255.255.0 rn rn rn rn 3. rn 缺省网关(default GateWay) rn rn rn rn 在使用网关(GateWay)的情况下设置 rn rn rn rn 网关(GateWay) rn rn rnrn rn rn 4. rn DNS rn rn rn rn 如果使用服务器名称,请设置合适的DNS服务器地址 rn rn rn rn DNS服务器地址1 rn rn rn rn rn DNS服务器地址2 rn rn rn rn rn 5. rn 网络摄像机管理服务器 rn rn rn rn rn rn 登录网络摄像机管理服务器 rn rn rn rn rn 网络摄像机管理服务器名称或地址 rn rn rn rn rn rn 用户名 rn rn rn rn rn rn 密码 rn rn rn rn rn 6. rn 网络带宽限制 rn 无限制0.10.20.30.51.0 Mbps rn rn rn rn 7. rn MAC值 rn 00-0c-e8-01-02-e0 rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn rnrnrnrnrnrnrn如果我要用post函数修改网络摄像机名称这个变量,应该如何使用? rn用NMHTTP->post(...,"ServerName=×××"),没有效果!望各位大侠指教!!!
如何用DBRADIOGROUP组件实现数据的修改?
datasource和datafield都已经连接好了,现在能够实现的是显示数据功能,但是我想通过它来实现修改数据的功能。rnLPERMISSION 字段是ALPHA类型的。radiogroup下有两个选项,‘允许’和‘不允许’测试的时候 radiogroup选项会随着Lpermission下的‘允许’,‘不允许’改变。但是我想选择的时候,鼠标单击却没有反应。rn请问各位大侠要怎样实现?
如何用SQL修改DBF文件中的数据?
DBF文件已经存在,我想用SQL语句修改其中的某条记录,应该怎么做啊?
如何用JSP+SERVLET+JAVABEAN实现数据的添加和修改
我想向一学生表(ID,NAME)中用MVC模式插入和修改信息,不知道SERVLET怎么写,请各位高手指点
如何用ADOquery来修改一组数据?
我的代码如下rnwith adoquery1 dornsql.add('update 信息表 set 姓名='''+edit1.text+''',学号='''+edit2.text+''',.....');rnsql.add('where 1=1');rnexecsql;rnrnrnrn还有就是我想修改鼠标点击的那一行,需要加些代码吗?rn
如何读取指定内存地址的数据?
我要读取指定内存地址的数据,我仅仅知道该内存地址。rn例如,我要直接读取内存地址 9876:0090 的数据。rn该如何办理呢??rn在tc2下。
塞班手机 八门神器1.72 s60v3v5 S^3版
塞班手机上的软件,八门神器,多的也不说了,知道的可定知道,破解,汉化,两款,支持 s60v3v5 S^3版
如何代换一个内存地址的数据
如何代换一个内存地址内的数据,比如我知道某程序的变量内存地址1BEA131 的数据为:16,我想用VB写程序发送命令让其内存 地址的数据代换为100的值 ..
如何读写一个内存地址数据
[code=VB]Option ExplicitrnDim CsDz As LongrnDim aaa As LongrnPrivate Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal _rnlpClassName As String, ByVal lpWindowName As String) As LongrnConst STANDARD_RIGHTS_REQUIRED = &HF0000rnConst SYNCHRONIZE = &H100000rnPrivate Const PROCESS_ALL_ACCESS As Long = STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or &HFFFrnPrivate Declare Function GetWindowThreadProcessId Lib "user32" _rn(ByVal hwnd As Long, lpdwProcessId As Long) As LongrnPrivate Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, _rnByVal bInheritHandle As Long, ByVal dwProcessId As Long) As LongrnPrivate Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess _rnAs Long, ByVal lpBaseAddress As Any, ByVal lpBuffer As Any, ByVal _rnnSize As Long, lpNumberOfBytesWritten As Long) As LongrnPrivate Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As _rnLong, ByVal lpBaseAddress As Any, ByVal lpBuffer As Any, ByVal nSize _rnAs Long, lpNumberOfBytesWritten As Long) As LongrnPrivate Sub Command1_Click()rnDim hwnd As Long ' 储存 FindWindow 函数返回的句柄rnDim pid As Long ' 储存进程标识符( Process Id )rnDim pHandle As Long ' 储存进程句柄rnhwnd = FindWindow(vbNullString, "Form1")rnIf (hwnd = 0) ThenrnMsgBox "未启动"rnExit SubrnEnd IfrnGetWindowThreadProcessId hwnd, pidrnpHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)rnIf (pHandle = 0) ThenrnMsgBox "得不到窗口进程信息"rnExit SubrnEnd Ifrnrn CsDz = VarPtr(aaa) 'Csdz就是你要修改的地址rnDim cc As Long '要读取的变量存放’可以是BYTErnReadProcessMemory pHandle, CsDz, ByVal VarPtr(cc), 4, 0&rnText1 = ccrnEnd SubrnrnPrivate Sub Command2_Click()rnDim hwnd As Long ' 储存 FindWindow 函数返回的句柄rnDim pid As Long ' 储存进程标识符( Process Id )rnDim pHandle As Long ' 储存进程句柄rnhwnd = FindWindow(vbNullString, "Form1")rnIf (hwnd = 0) ThenrnMsgBox "未启动"rnExit SubrnEnd IfrnGetWindowThreadProcessId hwnd, pidrnpHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pid)rnIf (pHandle = 0) ThenrnMsgBox "得不到窗口进程信息"rnExit SubrnEnd Ifrnaaa = CLng("&H" & Text2) '写入的数据rnCsDz = VarPtr(aaa) 'Csdz就是你要修改的地址rnWriteProcessMemory pHandle, CsDz, aaa, 4, 0&rnEnd SubrnrnPrivate Sub Form_Load()rnCommand1.Caption = "读"rnCommand2.Caption = "写"rnEnd Sub[/code]rn这是在网上找的一段程序,但不好用。现在我需要操作内存偏移地址 00150AD4,但上面程序中只能接收long类型的,哪位能帮忙看看。需要读取与写入这个内存地址数据。
GE 游戏修改 内存地址修改
GE 游戏修改 非常经典,非常实用的修改内存地址的软件
如何用正则表达式查找信息
数据库研究室rn rn 李波 libo@gmail.comrn 张鹏 zhangpeng@hotmail.comrn ...rn rn 人工智能研究室rn rn 冯浩 fenghao@126.comrn 齐杰 qijie@126.comrn ...rn rn...rn...rnrn一个网页的内容如上,如何用正则表达式检索出:姓名、电子邮件、所在实验室?
如何用ADO实现查找?
做一个小的学生成绩查询,rn用LIstview来显示学生学号,然后先定后,按"确定"rnrn在文本框里显示学生的具体信息,rn怎么样取得LIstview里选中记录的序号?rn还有,L istview 怎么用才能与数据库相连?rnrn急呀,这是我们的考试作业,明天就要交了,请大家帮帮忙呀,rn在线求解rnQQ:53202395
如何查找 DataVier的某一行,修改数据
我一DataView数据,结构是:rnrnid namern1 arn2 brn3 crn4 d rn5 ernrn我如何查出id=4,的name改为frn
如何用反射查找控件属性
在winform 中有一个listview控件,名为listview1rnrn1.取listview1.columns(0).width值rn2.设置listview1.columns(0).width值rnrn能用以下方法修改一下最好.rn Public Function GetValueControlProperty(ByVal ClassInstance As Object, ByVal ControlName As String, ByVal PropertyName As String) As Objectrnrn Dim Result As Object = Nothingrnrn Dim myType As Type = ClassInstance.GetTypern rnrn Dim myFieldInfo As FieldInfo = myType.GetField("_" & ControlName, BindingFlags.NonPublic Or BindingFlags.Instance Or BindingFlags.Public Or BindingFlags.GetField Or BindingFlags.GetProperty Or BindingFlags.SetField Or BindingFlags.Static Or BindingFlags.Default)rn If Not myFieldInfo Is Nothing Thenrnrn Dim properties As PropertyDescriptorCollection = TypeDescriptor.GetProperties(myType)rnrn rn Dim myProperty As PropertyDescriptor = properties.Find(PropertyName, True)rn 'End Ifrnrnrn If Not myProperty Is Nothing Thenrnrn Dim ctr As Objectrnrn ctr = myFieldInfo.GetValue(ClassInstance) rnrn Tryrnrn Result = myProperty.GetValue(ctr) rnrn Catch ex As Exceptionrnrn MsgBox(ex.Message)rnrn End Tryrnrn End Ifrnrn End Ifrn Return Resultrnrn End Functionrnrnrnrn Public Function SetValueControlProperty(ByVal ClassInstance As Object, ByVal ControlName As String, ByVal PropertyName As String, ByVal Value As Object) As Objectrnrn Dim Result As Object = Nothingrnrn Dim myType As Type = ClassInstance.GetTypernrn Dim myFieldInfo As FieldInfo = myType.GetField("_" & ControlName, BindingFlags.NonPublic Or BindingFlags.Instance Or BindingFlags.Public Or BindingFlags.Instance) '加"_"这个是特要紧的 rnrn If Not myFieldInfo Is Nothing Thenrnrn Dim properties As PropertyDescriptorCollection = TypeDescriptor.GetProperties(myType)rnDim myProperty As PropertyDescriptor = properties.Find(PropertyName, True) '这里设为True就不用区分大小写了 rnrn If Not myProperty Is Nothing Thenrnrn Dim ctr As Objectrnrn ctr = myFieldInfo.GetValue(ClassInstance) '取得控件实例 rnrn Tryrnrn myProperty.SetValue(ctr, Value)rnrn Result = ctrrnrn Catch ex As Exceptionrnrn MsgBox(ex.Message)rnrn End Tryrnrn End Ifrnrn End Ifrnrn Return Resultrnrn End Function
如何用嵌套SQL查找
现有客户,代理商,产品和订单表.rndrop table customers;rncreate table customers (rn cid char(4) not null,rn cname varchar(13),rn city varchar(20),rn discnt real,rn primary key(cid)rn);rnrndrop table agents;rncreate table agents (rn aid char(3) not null,rn aname varchar(13),rn city varchar(20),rn percent smallint,rn primary key (aid)rn);rnrndrop table products;rncreate table products (rn pid char(3) not null,rn pname varchar(13),rn city varchar(20),rn quantity integer,rn price double precision,rn primary key(pid)rn);rnrndrop table orders;rncreate table orders (rn ordno integer not null,rn month char(3),rn cid char(4),rn aid char(3),rn pid char(3),rn qty integer,          数量rn dollars double precision, 金额rn primary key(ordno)rn);rnrn如何只用嵌套SQL找出 rn列出每个代理商订购的每种产品的平均数量,以及以不小于这种平均订购量订购了该产品的顾客 cid
如何用API查找网络邻居?
如何用API查找网络邻居?
相关热词 c# 标准差 计算 c#siki第五季 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池