基本演算法:{定義參數,獲得整套試卷的共同限制參數,即包括輸入必要條件得到必要參數和 輸入任選條件得到任選參數}必要參數組合= A1 AND A2 ~~AND An;任選參數組合= B1 OR B2 ~~OR Bn;大題數dts =3 '預設為3道大題;小題數xts=0 '預設為50道小題;IF 無判斷題 THEN dts=dts - 1 END IF '開始計算大題數IF 無單選題 THEN dts=dts - 1 END IFIF 無多選題 THEN dts=dts - 1 END IF
五、ADO--ActiveX Data Object操作資料庫的幾個步驟 第一步 資料庫資料來源設定。若要訪問資料庫,需在"控制台"中的"ODBC Data Sources",建立資料庫名稱(選擇Users DSN),點擊"Add"按鈕,選定資料庫所用的驅動程式和檔案等。 第二步 使用"Server.CreateObject"建立串連的對象,並使用"Open"開啟待訪問的資料庫。set
6.3版好象是用事件驅動的://////////////////////////////////////////////////////////////////////////////// // 函數: OnFirstUIBefore // // 事件: FirstUIBefore event is sent when installation is run for the first// time on given machine. In the handler installation
下面是建立WEB檔案和設定的例子需VBS檔案(有虛擬目錄設定,但沒有使用權限設定).////////////////////////////////////////////////////////////////////////////////// // IIIIIII SSSSSS // II SS InstallShield (R) // II SSSSSS (c) 1996-1999, InstallShield Software Corporation // II SS (c) 1990
////////////////////////////////////////////////////////////////////////////////// FUNCTION: OnFirstUIAfter//// EVENT: FirstUIAfter event is sent after file transfer, when
Using Java Classes from ASPCOM components aren't the only way to use compiled code in your ASP applications. If you're familiar with Java, but have no way of wrapping your classes as COM objects (for example, you use JDK or J++ Standard), you can
圖表 現在我們針對EXCEL舉另外一個例子,大家都詢問如何用ASP建立圖表的問題,以下就是解決方案<BR><BR>First we set the type of script<BR>首先設定指令碼類型<BR><%@ LANGUAGE="VBSCRIPT" %><BR><BR>Make the object, and set the