Home > Article > System Tutorial > kodakimg usage guide in Windows 7
Image KODAKIMG.EXE is an accessory program for image scanning, browsing and editing in Windows 95/98/NT and Windows 2000 (optional during WINDOWS installation process). It is divided into free version and professional version (requires purchased separately).
During the Windows installation process, four OCX Kodak controls (Kodak image editing control, Kodak image management control, Kodak image scanning control and Kodak image thumbnail control) are also installed with the installation of the free version of the image program. These four controls are allowed to be used in any Windows development tool to develop image-related software products.
The free version of the imaging program limits and hides some properties and methods of these four controls; for example, the DeSpeckle method of the editing control is limited to use with the professional version of the imaging program.
The Professional version of the imaging program provides expanded image processing capabilities through the introduction of the new Image OCR control. Also, Windows imaging programs are not distributed with Windows ME and Windows XP. In the new system, Microsoft wants to replace them with "Image and Telex Viewer" and "Scanner and Camera Wizard." To use the Windows imaging program on a new system, you must purchase the professional version of the Windows imaging program separately; but if you upgrade from a Windows 2000 system to XP, the imaging program and four controls are still available.
ComboBox control
The ComboBox control combines the features of the TextBox control and the ListBox control - you can enter information in the text box part of the control, or select an item in the list box part of the control.
grammar
ComboBox
illustrate
In order to add or delete items in the ComboBox control, you need to use AddItem or
RemoveItem method. Set the List, ListCount, and ListIndex properties to enable access
Items in the ComboBox become possible. You can also add items to a list at design time using the List property.
Note Only when ComboBox
The Scroll event occurs in the ComboBox only when the content of the drop-down part ofis scrolled, not every time the content of the ComboBox changes. For example, if
The drop-down portion of a ComboBox contains five rows and the top item is highlighted, so the Scroll event does not occur until you press the down arrow key six times (or press the PgUp key once). After that, a Scroll event is triggered each time the up arrow key is pressed.
Visual Basic (VB for short) is a general object-based programming language developed by Microsoft. It is a visual program that is structured, modular, object-oriented, and includes an event-driven mechanism to assist in the development environment. Design language. It is a language that can be used for Microsoft's own product development. [1]
"Visual" refers to the method of developing a graphical user interface (GUI) - you don't need to write a lot of code to describe the appearance and position of interface elements, but just add pre-created objects to a point on the screen. "Basic" refers to the BASIC (Beginners All-Purpose Symbolic Instruction Code) language, which is the most widely used language in the history of computing technology development.
Visual Basic is derived from the BASIC programming language. VB has a graphical user interface (GUI) and a rapid application development (RAD) system. You can easily use DAO, RDO, and ADO to connect to the database, or easily create Active X controls for efficient generation of type-safe and object-oriented applications. [2] . Programmers can easily use the components provided by VB to quickly build an application.
The ProgressBar control represents the progress of a longer operation by filling a rectangle with some squares from left to right.
grammar
ProgressBar
illustrate
The ProgressBar control monitors the progress of operation completion.
The ProgressBar control has a journey and a current position. The stroke represents the entire duration of the operation. The current position represents the application's progress as it completes the operation. The Max and Min properties set the limits of the travel. The Value attribute specifies the current position within the travel range. Because boxes are used to fill the control, the amount filled can only be close to the value currently set to the Value property. Based on the size of the control, the Value property determines when the next box is displayed.
The Height property and Width property of the ProgressBar control determine the number and size of the boxes filled in the control. The greater the number of blocks, the more accurately the control can describe the progress of the operation. In order to increase the number of displayed squares, you need to reduce the Height of the control or increase its Width. The setting of the BorderStyle property also affects the number and size of boxes. In order to fit within the border, the box size needs to be smaller.
You can use the Align property of the ProgressBar control to automatically position it at the top or bottom of the form.
Tip To reduce the size of the box until the progress increment it represents most closely matches the actual progress value, the width of the ProgressBar control should be at least 13 times its length.
The following example shows how to use a ProgressBar control named ProgressBar1 to represent the progress of a lengthy operation on a large array. Place a CommandButton control and a ProgressBar control on the same form. The Align property in the sample code positions the ProgressBar control along the bottom of the form. The ProgressBar doesn't display any text.
Private Sub Command1_Click()
Dim Counter As Integer
Dim Workarea(250) As String
ProgressBar1.Min = LBound(Workarea)
ProgressBar1.Max = UBound(Workarea)
ProgressBar1.Visible = True
'Set the progress value to Min.
ProgressBar1.Value = ProgressBar1.Min
'Loop through the entire array.
For Counter = LBound(Workarea) To UBound(Workarea)
'Set the initial value of each item in the array.
Workarea(Counter) = "Initial value" & Counter
ProgressBar1.Value = Counter
Next Counter
ProgressBar1.Visible = False
ProgressBar1.Value = ProgressBar1.Min
End Sub
Private Sub Form_Load()
ProgressBar1.Align = vbAlignBottom
ProgressBar1.Visible = False
Command1.Caption = "Initialize array"
End Sub
The above is the detailed content of kodakimg usage guide in Windows 7. For more information, please follow other related articles on the PHP Chinese website!