Advertisement

Results for "Author: herman liu"

1_2002 #104256
BinFileEdit2

Similar to BinFileEdit1, but for readers who have a fast machine which can afford a synchronized display of both hex and character highlights with each move in Edit Mode. As with BinFileEdit1, this code includes Hex Edit functions. View/edit binary and text files, with both hex and character search facilities fully functional, and you can print any displayed page (each page upto 512 bytes, showing byte positions, hex and characters). - Note: This version is for a faster machine, if you have a slower one, you may use BinFileEdit1 instead.

1_2002 #104257
BinFileEdit1

This code includes Hex Edit functions. View/edit binary and text files, with both hex and character search facilities fully functional, and you can print any displayed page (each page upto 512 bytes, showing byte positions, hex and characters). - Note: This version is for a slower machine, if you have a fast one, you may use BinFileEdit2 instead.

1_2002 #104258
RTPrintPreview

(Also known as DocPreview) A functional program to provide print preview and actual printing facilities for RichText documents in a text editor. Written in VB, the program includes functions such as preview Zoom-in and Zoom-out, page margins setup, selection of any specific page to preview and selection of any ange of pages to print. It even allows you to selectively print a highlighted text and/or picture only, etc.

1_2002 #104475
OCXButton

An ActiveX control (OCX) for creating Buttons with attributes unavailable in intrinsic CommandButton control of VB. This UserControl allows (1) label or picture alone on the Button, or both; (2) colored captions; (3) colored backgrounds; (4) positioning picture at top or left of caption, and distance adjustment between them; (5) choices for button appearance (flat, half-raised and raised); (6) option for varying button contents at different states of Button (down, up and over); (7) option to have a staying sunken effect hence you can have both Click and ClickSunken events); and (8) tooltiptext of backcolor and forecolor of your choice. With Property Bag, very simple and flexible to use. Code is also generously commented for those relatively new to ActiveX programming. To test the code, run vbg file.

1_2002 #104476
DBofDAO

A "single-form" utility program, to be used (1) when one does not have an Access program in hand, but wants to create an Access DB or to modify the structure of an existing one, or (2) if one wants to include a simple form as a handly tool in a project involving DB. The program provides functions (i) to display the hierarchical structure, properties and other relevant information of a database; (ii) to rename or delete tables/fields/indexes/queries (or delete relations); (iii) to create a new DB from scratch or by copying the selected tables from an existing DB, with or without index and/or data; (iv) to build a new table with specific field and index property settings; (v) to re-start an auto increment field; (vi) to print a table structure; and (vii) to browse &/or copy records, etc.

1_2002 #104477
DBofADO

For ADO database application: To show (1) How to use ADO schema to obtain a list of tables of a database. (2) How to provide a re-usable single form for any MDB file name, and with another form to display as many tables as there are in that database at the same time. Otherwise, you will have to repeatedly create/refer to an instance of connection and you may need 10 forms if there are 10 tables in a database (see "3"). (3) The possible techniques to enable opening several tables on the screen in the same session, yet without conflict (otherwise if you create 10 instances of the same form, some common event handlers will mix up Table B as Table A, e.g. when calling yet another form. But with appropriate techniques, this conflict is avoided). (4) How to display various properties/attributes/status in descriptive text(pneumonic), rather than the VB's original numeric codes. Note: MS TreeView itself limits the node count to 32767 only. (For a comparative study of DAO, refer my DBofDAO)

1_2002 #104478
AsoUtil

This code enables you to list all file extensions in your machine which have registered file associations. The list will show what application title each file extension belongs to, what program execution command it is associated with, as well as the icons used. With this program, you can view, add and remove file associations, with ease and elegance. The application also provides a system tray function.

1_2002 #104479
Dynamenu

To dynamically create submenu items for both the menu and the popup at run time, and at the same time allowing for free switching between the normal and the columnized menus (and popups), and between menu (and popup) with added bitmaps and without. If the menu (and popup) length goes beyond the predetermined length, the code will automatically sectionalize the menu (and popup) according to the said predetermined length (i.e. as an interval value), and will provide Up and/or Dn graphics to enable navigation between the menu sections.

1_2002 #104480
PicText

A demo on how to: (1) Write text onto a background image with user-selected font, size and color, and optionally at a rotated angle, and allow the user to drag the text to anywhere on the background image with due speed and ease. (2) Enable cut, copy and/or paste of a region of the current image, paste an image directly from its file, or copy the current image to clipboard. (3) allow user to drag a superimposed image to any desired position to blend in. Through clipboard the added image may originate from an external program such as a clip art or an art text from Word. Alternatively it may come directly from a file. In either case, user may retrieve it as opaque or as transparent. (4) Resize the picture by dragging its edges, auto-scroll region at edge, etc.

1_2002 #104481
InetFTP

An FTP client, for internet transfer of files to and from the server, text or binary. Microsoft FTP site is defaulted for ready testing and use by readers. You may even try to download a couple of files before browsing the code (To avoid overwriting, program will first see if there is already in existence a file of same name, either in download or in upload). There are Help buttons to guide your use of this program. File size will be reported before any downloading/uploading action. [VB6 Inet is used].

1_2002 #104482
Calendar

This code adopts a non-typical VB approach to building a calendar; e.g. it clearly and cleanly shows the logic in arriving at a leap year (with this, you can easily translate the code into other languages). The calendar covers months between Year 1899 to Year 2101. A user can change Month and/or Year from the respective dropdown lists or by clicking the increment/decrement buttons next to them. To-day's date is always marked with a different background color. User can mark a particular date by clicking on it and the marked date remains even after changing the month pages

1_2002 #104483
RegOCX

To register or unregister OCX/DLL controls (1) With prior confirmation of the Product Version and (2) Without using Regsvr32.exe. This code has the advantages of (a) user verification of the specific version being registered; (b) being free from the existence of a Regsvr32.exe file, speedier and a better error handling.

Languages
Top Categories
Global Discovery