WIN VisualBasic IDE: Difference between revisions

From SecuTech Wiki
Jump to navigationJump to search
Joseph (talk | contribs)
mNo edit summary
Bao (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
[[category:UniKey Library Integration Guides]]
[[category:UniKey Library Integration Guides|alt=Visual Basic]]


==Step1, create a new project==
==Create a New Project==
[[File:WIN VisualBasic IDE Pic 1.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 1.jpg|750px|center|alt=Visual Basic create new project]]
<br>
 
==Step2, Create a dialog and add text area for output==
==Create a Dialog and Add Text Area for Output==
[[File:WIN VisualBasic IDE Pic 2.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 2.jpg|750px|center|alt=Visual Basic add text area for output]]
<br>
 
==Step3, add 2 buttons for testing usage==
==Add 2 Buttons for Testing Usage==
[[File:WIN VisualBasic IDE Pic 3.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 3.jpg|750px|center|alt=Visual Basic two buttons added]]
<br>
 
==Step4, double click to edit codes==
==Double Click to Edit Code==
[[File:WIN VisualBasic IDE Pic 4.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 4.jpg|750px|center|alt=Visual Basic editing source code]]
<br>
 
==Step5, Add a module==
==Add a Module==
[[File:WIN VisualBasic IDE Pic 5.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 5.jpg|750px|center|alt=Visual Basic add new module]]
<br>
 
==Step6, Double click to edit module codes==
==Double Click to Edit Module==
[[File:WIN VisualBasic IDE Pic 6.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 6.jpg|750px|center|alt=Visual Basic editing module source code]]
<br>
 
==Step7, Save module==
==Save Module==
[[File:WIN VisualBasic IDE Pic 7.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 7.jpg|750px|center|alt=Visual Basic saving module]]
<br>
 
==Step8, Enter a name and save the module==
==Enter a Name and Save the Module==
[[File:WIN VisualBasic IDE Pic 8.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 8.jpg|750px|center|alt=Visual Basic saved module name]]
<br>
 
==Step9, Declare the UniKey functions in the module==
==Declare the UniKey Functions in the Module==
[[File:WIN VisualBasic IDE Pic 9.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 9.jpg|750px|center|alt=Visual Basic declaring UniKey functions]]
<br>
 
==Step10, copy and paste UniKey API calls in a function/event==
==Copy and Paste UniKey API Calls in a Function/Event==
[[File:WIN VisualBasic IDE Pic 10.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 10.jpg|750px|center|alt=Visual Basic copying source code]]
<br>
 
==Step11, Unikey API calls are shown in function==
==Unikey API Calls are Shown in Function==
[[File:WIN VisualBasic IDE Pic 11.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 11.jpg|750px|center|alt=Visual Basic showing UniKey API calls]]
<br>
 
==Step12, Paste more codes in another function==
==Paste more Code in Another Function==
[[File:WIN VisualBasic IDE Pic 12.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 12.jpg|750px|center|alt=Visual Basic adding more source code]]
<br>
 
==Step13, All the Unikey APIs are listed in VB project==
==All the Unikey APIs are Listed in VB Project==
[[File:WIN VisualBasic IDE Pic 13.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 13.jpg|750px|center|alt=Visual Basic displaying even more API functions]]
<br>
 
==Step 14, Put UniKey.dll into project folder==
==Put UniKey.dll into Project Folder==
[[File:WIN VisualBasic IDE Pic 14.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 14.jpg|750px|center|alt=Visual Basic placing UniKey.dll into project folder]]
<br>
 
==Step 15, Compile and run the sample==
==Compile and Run the Sample==
[[File:WIN VisualBasic IDE Pic 15.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 15.jpg|750px|center|alt=Visual Basic compiling project]]
<br>
 
==Step 16, Run UniKey Test==
==Run UniKey Test==
[[File:WIN VisualBasic IDE Pic 16.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 16.jpg|750px|center|alt=Visual Basic runtime output]]
<br>
 
==Step 17, Run UniKey Real Time API test==
==Run UniKey Real Time API Test==
[[File:WIN VisualBasic IDE Pic 17.jpg|750px|center]]
[[File:WIN VisualBasic IDE Pic 17.jpg|750px|center|alt=Visual Basic UniKey real-time clock tests]]
<br>

Latest revision as of 16:27, 9 August 2016


Create a New Project

Visual Basic create new project

Create a Dialog and Add Text Area for Output

Visual Basic add text area for output

Add 2 Buttons for Testing Usage

Visual Basic two buttons added

Double Click to Edit Code

Visual Basic editing source code

Add a Module

Visual Basic add new module

Double Click to Edit Module

Visual Basic editing module source code

Save Module

Visual Basic saving module

Enter a Name and Save the Module

Visual Basic saved module name

Declare the UniKey Functions in the Module

Visual Basic declaring UniKey functions

Copy and Paste UniKey API Calls in a Function/Event

Visual Basic copying source code

Unikey API Calls are Shown in Function

Visual Basic showing UniKey API calls

Paste more Code in Another Function

Visual Basic adding more source code

All the Unikey APIs are Listed in VB Project

Visual Basic displaying even more API functions

Put UniKey.dll into Project Folder

Visual Basic placing UniKey.dll into project folder

Compile and Run the Sample

Visual Basic compiling project

Run UniKey Test

Visual Basic runtime output

Run UniKey Real Time API Test

Visual Basic UniKey real-time clock tests