熟悉VB的朋友对使用ActiveX控件一定不会陌生,众多控件极大地方便了编程,但唯一的缺陷是不能动态加载控件,必须在设计时通过引用,将控件放置在窗体上。VB6.0已能够解决该问题,只是帮助中没有明确说明,并且没有描述到一些关键功能,由于以前的版本中可以动态创建进程外服务:如果对象是外部可创建的,可在 Set 语句中用 New 关键字、CreateObject 或 GetObject 从部件外面将对象引用赋予变量。如果对象是从属对象,则需使用高层对象的方法,在 Set 语句中指定一个对象引用:
上传时间: 2014-01-26
上传用户:taa123456
一、改变视图背景色: 在CView的OnDraw函数中添写如下一段程序代码: void CFileNameView::OnDraw(CDC* pDC) { CFileNameDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc); CRect rectClient; CBrush brushBkColor; GetClientRect(rectClient); brushBkColor.CreateSolidBrush(RGB(255,0,0)); //颜色设置 pDC->DPtoLP(rectClient); pDC->FillRect(rectClient,&brushBkColor); … }
标签: VC代码
上传时间: 2013-10-27
上传用户:liuqy
superpro 3000u 驱动 PIC16C65B@QFP44 [SA245] PIC16C65B: Part number QFP44: Package in QFP44 SA245: Adapter purchase number AM29DL320GT@FBGA48 [SA642+B026] AM29DL320GT: Part number FBGA48: Package in FBGA48 SA642: Adapter purchase number (Top board with socket) B026: Adapter purchase number (Bottom board, exchangable for different parts) 87C196CA@PLCC68(universal adapter) [PEP+S414T] 87C196CA: Part number PLCC68: Package in PLCC68 universal adapter: this adapter is valid for all parts in this package PEP: The PEP (Pin-driver Expansion Pack necessary to work with the adapter S414T) S414T: Adapter purchase number (Universal for all parts in this package) S71PL127J80B@FBGA64(special adapter) [(SA642A-B079A-Y096AF001)] S71PL127J80B: Part number FBGA64: Package in FBGA64 special adapter: this adapter is valid for this
上传时间: 2013-10-23
上传用户:Avoid98
使用Nios II软件构建工具 This chapter describes the Nios® II Software Build Tools (SBT), a set of utilities and scripts that creates and builds embedded C/C++ application projects, user library projects, and board support packages (BSPs). The Nios II SBT supports a repeatable, scriptable, and archivable process for creating your software product. You can invoke the Nios II SBT through either of the following user interfaces: ■ The Eclipse™ GUI ■ The Nios II Command Shell The purpose of this chapter is to make you familiar with the internal functionality of the Nios II SBT, independent of the user interface employed.
上传时间: 2013-10-12
上传用户:china97wan
Nios II 软件开发人员手册中的缓存和紧耦合存储器部分 Nios® II embedded processor cores can contain instruction and data caches. This chapter discusses cache-related issues that you need to consider to guarantee that your program executes correctly on the Nios II processor. Fortunately, most software based on the Nios II hardware abstraction layer (HAL) works correctly without any special accommodations for caches. However, some software must manage the cache directly. For code that needs direct control over the cache, the Nios II architecture provides facilities to perform the following actions:
上传时间: 2013-10-25
上传用户:虫虫虫虫虫虫
PRO\E4.0安装方法 第一步:修改环境变量. 我的电脑----属性---高级---环境变量---新建---变量名:lang 值:chs (注:下载好的PRO/E有CD1 CD2 CD3 crack4.0) 第二步、许可证生成 在D盘新建一个文件夹PROE,再在PROE里面新建文件夹,命名为proewildfire,将安装文件里面的CRACK4.0文件夹复制到PROE里面,用记事本打开CRACK里面的PTC-LIC-4.0文件,你就找下HOSTID:00-11-D8-BB-5B-62,将00-11-D8-BB-5B-62复制起来,然后点击CD1- sutep(如果没有反应,找到CD1-dsrc--i486-nt----obj---PTCSETUP安装),安装界面会出现你的主机ID,把记事本里面的ID全部替换为你的主机ID(方法:编辑---替换,然后按要求选择填选,全部替换),保存(记得存在哪。等等有用)。
上传时间: 2013-11-23
上传用户:yjj631
§1、安装: SPB15.2 CD1~3,安装1、2,第3为库,不安装 License安装: 设置环境变量lm_license_file D:\Cadence\license.dat 修改license中SERVER yyh ANY 5280为SERVER zeng ANY 5280 §2、用Design Entry CIS(Capture)设计原理图 进入Design Entry CIS Studio 设置操作环境\Options\Preferencses: 颜色:colors/Print 格子:Grid Display 杂项:Miscellaneous .........常取默认值
上传时间: 2014-01-25
上传用户:wangcehnglin
USB接口控制器参考设计,xilinx提供VHDL代码 usb xilinx vhdl ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public License as published by ; the Free Software Foundation; either version 2 of the License, or ; (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with this program; if not, write to the Free Software ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
上传时间: 2013-10-29
上传用户:zhouchang199
X9241概述X9241是XICOR公司生产的、把4个E2POT数字电位器集成在单片的CMOS集成电路上的一种数字电位器。它包含4个电阻阵列,每个阵列包含63个电阻单元,在每个单元之间和2个端点之间都有被滑动单元访问的抽头点。滑动单元在阵列中的位置由用户通过2线串行总线接口控制。每个电阻阵列与1个滑动端计数寄存器(WCR)和4个8位数据寄存器联系在一起。这4个数据寄存器可由用户直接写入和读出。WCR的内容控制滑动端在电阻阵列中的位置,其功能框图如图1所示。X9241工作原理 X9241支持双向总线的定向规约,是一个从属器件。它的高4位地址为0101(器件类型辨识符),低4位地址由A3~A0输入端状态决定。在SDA线上的数据只有在SCL为低期间才能改变状态。当SCL为高时,SDA状态的改变用来表示开始和终止条件(开始条件:SCL为高时,SDA由高至低的跳变;终止条件:SCL为高时,SDA由低至高的跳变)。送给X9241的所有命令都由开始条件引导,在其后输出X9241从器件的地址。X9241把串行数据流与该器件的地址比较,若地址比较成功,则作出一个应答响应。送到X9241的下一个字节包括指令及寄存器指针的信息,高4位为指令,低4位用来指出4个电位器中的1个及4个辅助寄存器中的1个。
上传时间: 2014-01-18
上传用户:黄酒配奶茶
superpro 3000u 驱动 PIC16C65B@QFP44 [SA245] PIC16C65B: Part number QFP44: Package in QFP44 SA245: Adapter purchase number AM29DL320GT@FBGA48 [SA642+B026] AM29DL320GT: Part number FBGA48: Package in FBGA48 SA642: Adapter purchase number (Top board with socket) B026: Adapter purchase number (Bottom board, exchangable for different parts) 87C196CA@PLCC68(universal adapter) [PEP+S414T] 87C196CA: Part number PLCC68: Package in PLCC68 universal adapter: this adapter is valid for all parts in this package PEP: The PEP (Pin-driver Expansion Pack necessary to work with the adapter S414T) S414T: Adapter purchase number (Universal for all parts in this package) S71PL127J80B@FBGA64(special adapter) [(SA642A-B079A-Y096AF001)] S71PL127J80B: Part number FBGA64: Package in FBGA64 special adapter: this adapter is valid for this
上传时间: 2014-03-27
上传用户:ippler8