熟悉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