【正文】
計大型應(yīng)用軟件時,不必建立具有明顯開始和結(jié)束的程序,而是編寫若干個微小的子程序,即過程。Visual Basic提供了動態(tài)數(shù)據(jù)交換的編程技術(shù),可以在應(yīng)用程序中與其他Windows應(yīng)用程序建立動態(tài)數(shù)據(jù)交換,在不同的應(yīng)用程序之間進行通信。(1)明確用戶的要求,以根據(jù)調(diào)查結(jié)果進行可行性分析,確認系統(tǒng)的開發(fā)是否可行。②社會可行性分析:社會可行性分析主要是指管理信息系統(tǒng)的開發(fā)是否符合國家法律、下策,是否能夠與社會大系統(tǒng)實現(xiàn)良好的對接。對硬件資源進行可行性分析時主要考慮計算機的主機內(nèi)存、類型、功能、聯(lián)網(wǎng)能力、安全保護措施以及輸入/輸出設(shè)備,外存儲器和聯(lián)網(wǎng)數(shù)據(jù)通信設(shè)備的配置、功能、效率等指標(biāo)是否符合系統(tǒng)方案設(shè)計要求,同時還要考慮計算機的性能/價格比。給出所開發(fā)的新系統(tǒng)的技術(shù)性能指標(biāo),包括存儲容量限制、運行時間限制、安全保密性等。2. 數(shù)據(jù)流程圖面向數(shù)據(jù)流的設(shè)計方法的目標(biāo)是給出設(shè)計軟件結(jié)構(gòu)的一個系統(tǒng)化的途徑。數(shù)據(jù)流圖 人事主管假條信息員工基本信息會計員工資管理檔案管理管理員 第五章 系統(tǒng)總體設(shè)計1. 操作流程圖錯誤信息系統(tǒng)主界面系統(tǒng)登錄界面系統(tǒng)管理輸入操作員及密碼數(shù)據(jù)庫檢查密碼錯誤 密碼正確功能界面功能處理2. 功能面述該信息管理系統(tǒng)可以在Windows 2000 Server平臺上運行,開發(fā)工具采用Visual Basic語言開發(fā)。本段代碼用于判定本程序是否已經(jīng)裝載于內(nèi)存中,以避免程序的多重啟動2. 選擇功能部分代碼Private Sub Toolbar1_ButtonClick(ByVal Button As ) Select Case Case 1 39。第四種情況:設(shè)置 End SelectEnd Sub3. 查詢功能部分代碼Private Sub Cmb3_Click()With Cmb3 If .Text = 職工編號 Or .Text = 工資編號 Or .Text = 假條編號 Or .Text = 身份證號 Or .Text = 出生日期 Or .Text = 中止日期 Or .Text = Edit Or .Text = 年份 Or .Text = 月份 Or .Text = 天數(shù) Or .Text = 基本工資 Or .Text = 總工資 Or .Text = 考勤扣除 Or .Text = 扣稅 Or .Text = 總扣除 Or .Text = 保險扣除 Then = = 0 Else 等于 相似 = 0 End If End WithEnd SubPrivate Sub CmdCancel_Click() = TrueEnd SubPrivate Sub cmdOK_Click() Dim mysqls, str As String If = Then Exit Sub: mysqls = select * from + + where If = 等于 Then mysqls = mysqls + + = + + ElseIf = 相似 Then mysqls = mysqls + + Like + + Else mysqls = mysqls + + + End If If = True Then str = If Optsex(1).Value Then str = and 性別= + 男 ElseIf Optsex(2) Then str = and 性別= + 女 End If End If mysqls = mysqls + strIf Not Opt(0) Then If Opt(1).Value Then str = and ElseIf Opt(2).Value Then str = or End If mysqls = mysqls + str + If = 等于 Then mysqls = mysqls + = + + ElseIf = 相似 Then mysqls = mysqls + Like + + Else mysqls = mysqls + + End If End If = mysqls On Error GoTo exp: = mysqls Exit Subexp: = 搜索語句錯誤: + mysqls End SubPrivate Sub Form_Activate()Dim i As Integer = = For i = 0 To 4 If (i).Visible = True Then ((i).Caption) ((i).Caption) End If Next i = 0 = 0 If = employee Then = True Else = False End If End Sub4. 退出功能部分代碼Private Sub Form_Unload(Cancel As Integer) 39。最后保存。在以普通用戶登陸情況下,打開密碼設(shè)置選項,系統(tǒng)會提示該用戶為普通用戶,只可以修改自己的密碼。從產(chǎn)品角度看,測試計劃中的測試項目包括軟件結(jié)構(gòu)中的分系統(tǒng)層