張貼者:2010年8月5日 上午12:55未知的使用者   [ eddie liu 已於 2012年8月9日 上午2:15 更新 ]

Desaware Universal COM


採購正式版、大量授權報價、技術支援、軟體諮詢、委託採購、詢問報價請來電 02-29299388 分機16 , 


  • 建立複雜的檔案文件
  • 實施對象存儲
  • 訪問文檔屬性
  • 註冊表控制
  • 資源編譯器


結構化存儲允許你創建文件,組織信息容易。 塊的數據可以存放在分層的形式,正如文件放在目錄。 它就像擁有整個文件系統中每個文件。 您還可以創建和使用複合文件 - 一個標準的文件存儲。

結構化存儲需要照顧的分配和釋放空間內的文件,所以就像你不用擔心自己的身體放置在磁盤上的文件,你可以忽略的實際位置的數據文件。 加:它支持transactioning你可以方便地實現撤消操作和增量保存在你的申請。

StorageTools使您可以利用相同的文件存儲系統使用的許多微軟的應用程序。 包括抽樣方案(與源),讓您檢查結構的任何結構化存儲的文件,以便你可以清楚地看到他們是如何做到這一點。



COM對象有能力來存儲二進制數據的狀態,使用標準的接口調用的IPersistStream。 Visual Basic 6的對象,可自我堅持通過設置“持久化”屬性的公共類真(“持久化”)。

Desaware的StorageTools可以方便地堅持以結構化對象的狀態存儲流。 簡單地創建流並保存反對。 後來,你可以重新創建該對象,並恢復其狀態由GetObject方法簡單應用到流。

StorageTools是理想的應用程序管理數據存儲狀態或使用內部類的層次結構。 它也是有效的存儲對象狀態的互聯網應用。


結構化存儲架構定義共同的數據流稱為摘要信息和DocumentSummaryInformation其中一個應用程序可以使用它來存儲信息,它希望被公眾和進入系統和其他應用。 這些流場分為所謂的“屬性”。 共同屬性包括名稱,作者,關鍵字,字數在文檔中,也是最後一次的文件打印出來。 你可以看到這些文件的屬性在Office應用程序,或通過選擇“屬性”菜單項文件在資源管理器。

Desaware的StorageTools讓您的Visual Basic應用程序來查看和編輯文檔屬性的任何文件,它使用結構化存儲,包括Office文檔屬性。 它還允許你創建自己的文件格式,支持公共文檔屬性。


在Desaware註冊表控制,可輕鬆訪問註冊表和註冊數據庫。 鍵在註冊表的訪問喜歡的目錄。 值轉換為數據類型兼容的Visual Basic。 強大的搜索功能都包括在內,讓你不僅搜索和價值之間的鍵名,但在數據本身的價值。


Visual Basic中支持資源(.RES)文件可以包含多種類型的資源,如字符串,位圖和圖標嵌入在可執行文件時,它被編譯。

不幸的是,建立資源檔案,通常需要學習相當隱秘。RC文件格式和使用Microsoft資源編譯器命令行,或使用的Visual C + +。

在Desaware資源編譯器提供易於使用的圖形界面來定義資源文件。 它支持兩種不同的中間文件格式。DRL格式包含一個資源列表包含文本和圖像鏈接文件從您的硬盤驅動器。 DRC格式的圖像信息嵌入到文件,所以你不必擔心會失去原來的圖像。

StorageTools Features

  • Build complex file documents
  • Implement Object Storage
  • Access Document Properties
  • Registry Control
  • Resource Compiler

Build complex file documents

Structured Storage allows you to create files that organize information easily. Blocks of data can be placed in hierarchical form, just as files are placed in directories. It's like having an entire file system in each file. You can also create and work with compound documents - a standard for document storage.

Structured Storage takes care of allocating and freeing space within a file, so just as you need not concern yourself with the physical placement of files on disk, you can disregard the actual location of data in the file. Plus: with its support for transactioning you can easily implement undo operations and incremental saves in your application.

StorageTools allows you to take advantage of the same file storage system used by many of Microsoft's own applications. Includes sample programs (with source) that let you examine the structure of any structured storage based file so you can see exactly how they do it.

Because structured storage provides direct random access to individual streams, it allows much more efficient editing than XML (which requires reading and writing an entire file when any changes are made).

Implement Object Storage

COM objects have the ability to store their state as binary data using a standard interface called IPersistStream. Visual Basic 6 objects can be made self-persisting by setting the "persistable" property of a public class to true ("persistable").

Desaware's StorageTools makes it easy to persist object state in a structured storage stream. Simply create the stream and save the object to it. Later, you can recreate the object and restore its state by simply applying the GetObject method to the stream.

StorageTools is ideal for applications that store state or manage data using internal class hierarchies. It is also effective for storing object state of Internet applications.

Access Document Properties

The Structured Storage framework defines common streams of data called SummaryInformation and DocumentSummaryInformation which an application can use to store information that it wishes to be public and accessible to the system and other applications. These streams are divided into fields called "properties". Common properties include the name of the author, keywords, the number of words in the document and the last time the document was printed. You can see these document properties in Office applications, or by selecting the "Properties" file menu item in Explorer.

Desaware's StorageTools allows your Visual Basic application to view and edit the document properties for any document that uses Structured Storage, including Office document properties. It also allows you to create your own document formats that support public document properties.

Registry Control

The Desaware Registry Control makes it easy to access the Registry and the Registration Database. Keys within the Registry are accessed like directories. Values are converted to data types compatible with Visual Basic. Powerful search capabilities are included, allowing you to not only search among keys and value names, but within the value data itself.

Resource Compiler

Visual Basic supports resource (.RES) files that can contain various types of resources such as strings, bitmaps and icons that are embedded in the executable file when it is compiled.

Unfortunately, creating resource files normally requires learning the rather cryptic .RC file format and use of the Microsoft command line resource compiler, or use of Visual C++.

The Desaware Resource Compiler offers and easy to use graphical interface for defining resource files. It supports two different intermediate file formats for resource scripts. The .DRL format contains a resource list which contains text and links image files from your hard drive. The .DRC format embeds the image information into the file, so you need not worry about losing original images.