Home Page

English
Chinese

ActiveX/JavaScript Demonstration

During the progress of learning Visual Basic, we had written some funny programs which we can share with you. These programs are easily ported into the ActiveX control and which can be browsed by using Microsoft Internet Explorer or any browser supporting ActiveX control.

To browse the following programs successfully , you should have done two things:

  1. You have Visual Basic 5 Virtual Machine (also included in Internet Explorer 4) installed in your computer
  2. Change the Security/Active Content/Safety Level to medium or none option under your Internet Explorer.
Square Root Calculator
Without any help of language build-in function of square root, we build our square root function using Binary Search algorithms. Here is the program written in JavaScript .
Fraction Calculator
The four calculations(addition/subtraction/multiplication/division) of two fractions. This is our one semestar programming course project. We use Quick Basic to implement at that time, but now ported to JavaScript .
Sorting
There are many internal sorting methods we learnt. If you confuse what is the difference between these sorting, below is a good demonstration to show you how each sorting methods is working. In this demonstration, you can select any method of internal sorting, and case study about the sorting items.
Animated Dot
Animated Polygon
Equation Plotter
Hacker Paradise
Three guys from Tshung Tsin S2 Science (Cheong Kwang Hooi, Chong Jei and Ling Han Tze) had successfully written a very useful program to crack a chinese famous game 'The Sword Hero'. This program provided you several options to crack game, especially The Sword Game. You have two methods to search the game's saved data, just like The Infinity Machine. But it requires some technical knowledge about low-level machine before you are going to crack the saved game.

English
Chinese

在 我 們 學 習 Visual Basic 的 過 程 中, 有 許 多 有 趣 的 程 式 值 得 與 大 家 分 享 的, 由 Visual Basic 寫 出 來 的 程 式 在 很 容 易 下 便 轉 換 成 Internet Explorer v3.0 以 上 所 支 援 的 ActiveX controls. 所 以 你 如 果 對 我 們 寫 的 程 式 很 感 興 趣 的 話, 請 你 按 下 面 的 link....

因 為 這 些 activeX control 是 用 Visual Basic 撰 寫 的, 所 以 你 需 要 msvbvm50.dll 來 支 援.

Square Root Calculator

空 閒 時 想 出 來 給 自 己 做 的 作 業, 非 常 有 趣.

Fraction Calculator

分 數 的 四 則 運 算. 我 們 的 期 末 作 業, 起 初 是 用 Quick Basic 寫 的, 現 已 移 植 到 JavaScript 了.

Sorting

如 果 你 正 在 為 幾 個 sorting methods 之 間 有 何 差 異 而 困 擾, 這 個 程 式 是 一 個 很 好 的 說 明. 這 程 式 以 動 作  的 方 式 排 序, 而 且 還 能 記 錄 排 序 的 時 間 長 短, 以 便 你 可 以 和 其 他 的 排 序 方 法 比 較. 在 排 序 的 過 程 中, 你 可 以 選 擇 不 同 的 排 序 方 案 (best case, worst case, random case)... 這 些 都 會 直 接 影 響 掛 序 的 時 間 長 短...

Animated Dot 很 簡 單 的 程 式, 利 用 了circleloop 來 做 到 在 螢 幕上 滾 動 的 圈 圈.
Animated Polygon 其 實 就 是 把 幾 個 滾 動 的 圈 圈 連 起 來 就 是 多 邊 形 了.
Equation Plotter  
Hacker Paradise 由 張 廣 輝, 林 咸 志, 張 捷 三 人 全 力 之 作. (鍾 同 學 不 屑 參 與 因 為 他 說 不 如 直 接 用 infinity machine 更 好) 這 是 非 全 自 動 的 遊 戲 資 料 修 改 工 具, 提 供 兩 種 模 式 (absolute and relative mode) 來 搜 尋 數 值. 程 式 需 要 game off-line 進 行, 最 少 需 要 兩 個 遊 戲 存 檔 樣 本 才 能 做 比 較 的 hacking 工 作. 這 個 工 具 不 是 非 常 適 合 初 學 者, 因 為 需 要 特 別 的 技 術 方 能 使 用.

Home Page