亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? setup1.bas

?? 用VB編寫的學(xué)生成績管理系統(tǒng)主要的功能有學(xué)生信息
?? BAS
?? 第 1 頁 / 共 5 頁
字號:
Attribute VB_Name = "basSetup1"
Option Explicit
Option Compare Text

'
' Global Constants
'

Public Enum OverwriteReturnVal
    owYes
    owNo
    owNoToAll
End Enum

'Return values for setup toolkit functions
Global Const gintRET_CONT% = 1
Global Const gintRET_CANCEL% = 2
Global Const gintRET_EXIT% = 3
Global Const gintRET_ABORT% = 4
Global Const gintRET_FATAL% = 5
Global Const gintRET_FINISHEDSUCCESS% = 6 'Used only as parameter to ExitSetup at end of successful install

'Error levels for GetAppRemovalCmdLine()
Global Const APPREMERR_NONE = 0 'no error
Global Const APPREMERR_FATAL = 1 'fatal error
Global Const APPREMERR_NONFATAL = 2 'non-fatal error, user chose to abort
Global Const APPREMERR_USERCANCEL = 3 'user chose to cancel (no error)

'Flag for Path Dialog specifying Source or Dest directory needed
Global Const gstrDIR_SRC$ = "S"
Global Const gstrDIR_DEST$ = "D"

'Beginning of lines in [Files], [Bootstrap], and [Licenses] sections of SETUP.LST
Global Const gstrINI_FILE$ = "File"
Global Const gstrINI_REMOTE$ = "Remote"
Global Const gstrINI_LICENSE$ = "License"
'
' Command line constants
'
Global Const gstrSILENTSWITCH = "s"
Global Const gstrSMSSWITCH = "q"
'
' Icon Information
'
Global Const gsGROUP As String = "Group"
Global Const gsICON As String = "Icon"
Global Const gsTITLE As String = "Title"
Global Const gsICONGROUP As String = "IconGroups"

Global Const gstrINI_BOOTFILES$ = "Bootstrap Files"

'Font info
Global Const gsEXT_FONTTTF As String = "TTF"
Global Const gsEXT_FONTFON As String = "FON"
Declare Function AddFontResource Lib "gdi32" Alias "AddFontResourceA" (ByVal lpFilename As String) As Long
 
'Registry files (execute them based on .reg extension)
Global Const gsREGEDIT As String = "regedit /s "
Global Const gsEXT_REG As String = "reg"
'
'Type Definitions
'
Type FILEINFO                                               ' Setup information file line format
    intDiskNum As Integer                                   ' disk number
    fSplit As Integer                                       ' split flag
    strSrcName As String                                    ' name of source file
    strDestName As String                                   ' name of destination file
    strDestDir As String                                    ' destination directory
    strRegister As String                                   ' registration info
    fShared As Boolean                                      ' whether the file is shared or private
    fSystem As Boolean                                      ' whether the file is a system file (i.e. should be installed but never removed)
    varDate As Date                                         ' file date
    lFileSize As Long                                       ' file size
    sVerInfo As VERINFO                                     ' file version number
    strReserved As String                                   ' Reserved. Leave empty, or error.
    strProgramIconTitle As String                                ' Caption for icon in program group
    strProgramIconCmdLine As String                         ' Command Line for icon in program group
End Type

Type DISKINFO                                               ' Disk drive information
    lAvail As Long                                          ' Bytes available on drive
    lReq As Long                                            ' Bytes required for setup
    lMinAlloc As Long                                       ' minimum allocation unit
End Type

Type DESTINFO                                               ' save dest dir for certain files
    strAppDir As String
    strAUTMGR32 As String
    strRACMGR32 As String
End Type

Type REGINFO                                                ' save registration info for files
    strFilename As String
    strRegister As String
    
    'The following are used only for remote server registration
    strNetworkAddress As String
    strNetworkProtocol As String
    intAuthentication As Integer
    fDCOM As Boolean      ' True if DCOM, otherwise False
End Type

'
'Global Variables
'
Global gstrSETMSG As String
Global gfRetVal As Integer                                  'return value for form based functions
Global gstrAppName As String                                'name of app being installed
Global gintCabs As Long
Global gstrTitle As String                                  '"setup" name of app being installed
Public gstrDefGroup As String                               'Default name for group -- from setup.lst
Global gstrDestDir As String                                'dest dir for application files
Global gstrAppExe As String                                 'name of app .EXE being installed
Public gstrAppToUninstall As String                         ' Name of app exe/ocx/dll to be uninstalled.  Should be the same as gstrAppExe in most cases.
Global gstrSrcPath As String                                'path of source files
Global gstrSetupInfoFile As String                          'pathname of SETUP.LST file
Global gstrWinDir As String                                 'windows directory
Global gstrFontDir As String                                'windows\font directory
Global gstrWinSysDir As String                              'windows\system directory
Global gsDiskSpace() As DISKINFO                            'disk space for target drives
Global gstrDrivesUsed As String                             'dest drives used by setup
Global glTotalCopied As Long                                'total bytes copied so far
Global gintCurrentDisk As Integer                           'current disk number being installed
Global gsDest As DESTINFO                                   'dest dirs for certain files
Global gstrAppRemovalLog As String                           'name of the app removal logfile
Global gstrAppRemovalEXE As String                           'name of the app removal executable
Global gfAppRemovalFilesMoved As Boolean                     'whether or not the app removal files have been moved to the application directory
Global gfForceUseDefDest As Boolean                         'If set to true, then the user will not be prompted for the destination directory
Global fMainGroupWasCreated As Boolean                     'Whether or not a main folder/group has been created
Public gfRegDAO As Boolean                                 ' If this gets set to true in the code, then
                                                           ' we need to add some registration info for DAO
                                                           ' to the registry.

Global gsCABNAME As String
Global gsTEMPDIR As String

Global Const gsINI_CABNAME As String = "Cab"
Global Const gsINI_TEMPDIR As String = "TmpDir"
'
'Form/Module Constants
'

'SetFileTime junk
Public Type FileTime
        dwLowDateTime As Long
        dwHighDateTime As Long
End Type
Public Type SYSTEMTIME
        wYear As Integer
        wMonth As Integer
        wDayOfWeek As Integer
        wDay As Integer
        wHour As Integer
        wMinute As Integer
        wSecond As Integer
        wMilliseconds As Integer
End Type

Public Const GENERIC_WRITE = &H40000000
Public Const GENERIC_READ = &H80000000
Public Const FILE_ATTRIBUTE_NORMAL = &H80
Public Const INVALID_HANDLE_VALUE = -1
Public Const FILE_SHARE_READ = &H1
Public Const FILE_SHARE_WRITE = &H2
Public Const CREATE_NEW = 1
Public Const CREATE_ALWAYS = 2
Public Const OPEN_EXISTING = 3
Public Const OPEN_ALWAYS = 4

Public Declare Function LocalFileTimeToFileTime Lib "Kernel32" (lpFileTime As FileTime, lpLocalFileTime As FileTime) As Long
Public Declare Function CreateFile Lib "Kernel32" Alias "CreateFileA" (ByVal lpFilename As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, ByVal lpSecurityAttributes As Long, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long) As Long
Public Declare Function SetFileTime Lib "Kernel32" (ByVal hFile As Long, lpCreationTime As FileTime, lpLastAccessTime As FileTime, lpLastWriteTime As FileTime) As Long
Public Declare Function CloseHandle Lib "Kernel32" (ByVal hObject As Long) As Long
Public Declare Function SystemTimeToFileTime Lib "Kernel32" (lpSystemTime As SYSTEMTIME, lpFileTime As FileTime) As Long
Public Declare Function VariantChangeTypeEx Lib "oleaut32.dll" (ByVal pvArgDest As Long, ByVal pvArgSrc As Long, ByVal LCID As Long, ByVal wFlags As Integer, ByVal VarType As Integer) As Long
Public Declare Function VariantTimeToSystemTime Lib "oleaut32.dll" (ByVal vtime As Date, lpSystemTime As SYSTEMTIME) As Long

'Possible ProgMan actions
Const mintDDE_ITEMADD% = 1                                  'AddProgManItem flag
Const mintDDE_GRPADD% = 2                                   'AddProgManGroup flag

'Special file names
Const mstrFILE_APPREMOVALLOGBASE$ = "ST6UNST"               'Base name of the app removal logfile
Const mstrFILE_APPREMOVALLOGEXT$ = ".LOG"                   'Default extension for the app removal logfile
Const mstrFILE_AUTMGR32 = "AUTMGR32.EXE"
Const mstrFILE_RACMGR32 = "RACMGR32.EXE"
Const mstrFILE_RICHED32$ = "RICHED32.DLL"

'Name of temporary file used for concatenation of split files
Const mstrCONCATFILE$ = "VB5STTMP.CCT"

'setup information file registration macros
Const mstrDLLSELFREGISTER$ = "$(DLLSELFREGISTER)"
Const mstrEXESELFREGISTER$ = "$(EXESELFREGISTER)"
Const mstrTLBREGISTER$ = "$(TLBREGISTER)"
Const mstrREMOTEREGISTER$ = "$(REMOTE)"
Const mstrVBLREGISTER$ = "$(VBLREGISTER)"  ' Bug 5-8039

'
'Form/Module Variables
'
Private msRegInfo() As REGINFO                                  'files to be registered
Private mlTotalToCopy As Long                                   'total bytes to copy
Private mintConcatFile As Integer                               'handle of dest file for concatenation
Private mlSpaceForConcat As Long                                'extra space required for concatenation
Private mstrConcatDrive As String                               'drive to use for concatenation
Private mstrVerTmpName As String                                'temp file name for VerInstallFile API

' Hkey cache (used for logging purposes)
Private Type HKEY_CACHE
    hKey As Long
    strHkey As String
End Type

Private hkeyCache() As HKEY_CACHE

' Registry manipulation API's (32-bit)
Global Const HKEY_CLASSES_ROOT = &H80000000
Global Const HKEY_CURRENT_USER = &H80000001
Global Const HKEY_LOCAL_MACHINE = &H80000002
Global Const HKEY_USERS = &H80000003
Const ERROR_SUCCESS = 0&
Const ERROR_NO_MORE_ITEMS = 259&

Const REG_SZ = 1
Const REG_BINARY = 3
Const REG_DWORD = 4


Declare Function OSRegCloseKey Lib "advapi32" Alias "RegCloseKey" (ByVal hKey As Long) As Long
Declare Function OSRegCreateKey Lib "advapi32" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpszSubKey As String, phkResult As Long) As Long
Declare Function OSRegDeleteKey Lib "advapi32" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpszSubKey As String) As Long
Declare Function OSRegEnumKey Lib "advapi32" Alias "RegEnumKeyA" (ByVal hKey As Long, ByVal iSubKey As Long, ByVal lpszName As String, ByVal cchName As Long) As Long
Declare Function OSRegOpenKey Lib "advapi32" Alias "RegOpenKeyA" (ByVal hKey As Long, ByVal lpszSubKey As String, phkResult As Long) As Long
Declare Function OSRegQueryValueEx Lib "advapi32" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpszValueName As String, ByVal dwReserved As Long, lpdwType As Long, lpbData As Any, cbData As Long) As Long
Declare Function OSRegSetValueEx Lib "advapi32" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByVal lpData As String, ByVal cbData As Long) As Long
Declare Function OSRegSetValueNumEx Lib "advapi32" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long

Declare Sub lstrcpyn Lib "Kernel32" (ByVal strDest As String, ByVal strSrc As Any, ByVal lBytes As Long)
Declare Function GetCurrentProcessId Lib "Kernel32" () As Long
Declare Function ExtractFileFromCab Lib "vb6stkit.dll" (ByVal Cab As String, ByVal File As String, ByVal Dest As String, ByVal iCab As Long, ByVal sSrc As String) As Long
'Reboot info
Public Const ANYSIZE_ARRAY = 1

Type LARGE_INTEGER
    lowpart As Long
    highpart As Long
End Type

Type LUID_AND_ATTRIBUTES
        pLuid As LARGE_INTEGER
        Attributes As Long
End Type

Type TOKEN_PRIVILEGES
    PrivilegeCount As Long
    Privileges(ANYSIZE_ARRAY) As LUID_AND_ATTRIBUTES
End Type

Public Const TOKEN_ADJUST_PRIVILEGES = 32
Public Const TOKEN_QUERY = 8
Public Const SE_PRIVILEGE_ENABLED As Long = 2

Declare Function LookupPrivilegeValue Lib "advapi32.dll" Alias "LookupPrivilegeValueA" (ByVal lpSystemName As String, ByVal lpName As String, lpLuid As LARGE_INTEGER) As Long
Declare Function GetCurrentProcess Lib "Kernel32" () As Long
Declare Function AdjustTokenPrivileges Lib "advapi32.dll" (ByVal TokenHandle As Long, ByVal DisableAllPrivileges As Long, NewState As TOKEN_PRIVILEGES, ByVal BufferLength As Long, PreviousState As TOKEN_PRIVILEGES, ReturnLength As Long) As Long
Declare Function OpenProcessToken Lib "advapi32.dll" (ByVal ProcessHandle As Long, ByVal DesiredAccess As Long, TokenHandle As Long) As Long
'Exit the program and return an error code
Private Declare Sub ExitProcess Lib "Kernel32" (ByVal uExitCode As Long)
'-----------------------------------------------------------
' SUB: AddPerAppPath
'
' Adds an application's full pathname and per-app path to the
'   system registry (this is currently only meaningful to
'   Windows 95).
'
' IN: [strAppExe] - app EXE name, not including path
'     [strAppDir] - full path of EXE, not including filename
'     [strAppPath] - per-app path for this application
'       (semicolon-separated list of directory path names)
'       If this is the empty string (""), no per-app path
'       is registered, but the full pathname of the
'       exe IS still registered.
'
' OUT:
'   Example registry entries:
'     HKEY_LOCAL_MACHINE\[strPathsBaseKeyName]\MyApp.Exe
'       [Default]=C:\Program Files\MyApp\MyApp.Exe
'       [Path]=C:\Program Files\MyApp;C:\Program Files\MyApp\System
'
'-----------------------------------------------------------
'
Sub AddPerAppPath(ByVal strAppExe As String, ByVal strAppDir As String, ByVal strPerAppPath As String)
    If Not TreatAsWin95() Then
        Exit Sub
    End If
    
    Dim strPathsBaseKeyName As String
    Const strAppPaths$ = "App Paths"
    Const strAppPathKeyName = "Path"
    Dim fOk As Boolean
    Dim hKey As Long
    
    AddDirSep strAppDir
    

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情欧美一区二区三区在线观看| 久久综合久久综合久久综合| 一区二区三区精品视频| 一本大道综合伊人精品热热| 一区二区三区四区在线免费观看| 91网站最新网址| 国产欧美精品一区二区色综合朱莉| 国产一区二区在线电影| 欧美高清在线一区二区| 91麻豆福利精品推荐| 视频一区中文字幕| 久久影音资源网| caoporn国产精品| 夜夜夜精品看看| 日韩一级片网站| 久久国产视频网| 国产精品乱人伦一区二区| 91丨porny丨国产| 亚洲国产精品久久人人爱蜜臀 | 久久久亚洲精华液精华液精华液 | 精一区二区三区| 国产精品三级av| 91麻豆国产精品久久| 成人激情动漫在线观看| 亚洲乱码国产乱码精品精可以看| 69久久99精品久久久久婷婷 | 欧美一区二区人人喊爽| 国产美女精品人人做人人爽| 亚洲日本欧美天堂| 日韩欧美国产高清| 99精品热视频| 精品一区二区久久久| 日韩理论片网站| 精品国产免费视频| 欧美性猛交xxxx乱大交退制版| 免费观看在线综合色| 亚洲日本va午夜在线影院| 欧美精品乱码久久久久久按摩| 国产传媒一区在线| 午夜精品久久久久久久99樱桃| 国产欧美日韩视频一区二区| 欧美专区在线观看一区| 国产盗摄一区二区三区| 琪琪久久久久日韩精品| 自拍偷拍欧美精品| 久久精品一区二区三区不卡牛牛| 欧美日韩免费观看一区二区三区 | 国产精品三级久久久久三级| 欧美电影影音先锋| 在线亚洲一区二区| 国产精华液一区二区三区| 日韩成人一区二区| 亚洲精品成人a在线观看| 欧美国产成人在线| 精品福利在线导航| 日韩欧美黄色影院| 欧美另类变人与禽xxxxx| 色欧美乱欧美15图片| 高清shemale亚洲人妖| 蜜桃久久久久久久| 日韩在线a电影| 亚洲午夜av在线| 亚洲美女一区二区三区| 欧美高清在线精品一区| 国产婷婷一区二区| 久久欧美中文字幕| 精品成人一区二区三区四区| 在线不卡一区二区| 欧美视频在线播放| 在线看不卡av| 欧美性受xxxx黑人xyx性爽| 不卡视频免费播放| av一区二区三区| 欧美成人官网二区| 日韩一二三区视频| 日韩精品一区国产麻豆| 欧美大片在线观看一区二区| 91麻豆精品国产自产在线| 欧美日本免费一区二区三区| 欧美怡红院视频| 欧美图区在线视频| 欧美日韩成人综合天天影院| 欧美日韩中文字幕精品| 欧美日韩一区二区不卡| 欧美日本一区二区三区四区 | 久久99精品久久久久久| 久久精品国产一区二区三区免费看| 日韩国产欧美在线播放| 美国三级日本三级久久99| 免费观看在线综合| 国产麻豆精品在线| 成人91在线观看| 日本精品一区二区三区四区的功能| 91在线码无精品| 欧洲视频一区二区| 91精品国产综合久久精品| 精品国产不卡一区二区三区| 国产亚洲综合在线| 亚洲欧美激情在线| 日本中文字幕一区| 国产精品123区| 色综合色综合色综合| 欧美日本国产视频| 欧美精品一区男女天堂| 国产精品久久国产精麻豆99网站| 亚洲视频在线观看一区| 亚洲va欧美va国产va天堂影院| 老司机精品视频在线| av动漫一区二区| 欧美日韩国产不卡| 久久久不卡影院| 亚洲中国最大av网站| 久久精品国产亚洲5555| av成人动漫在线观看| 666欧美在线视频| 国产视频一区在线观看| 亚洲中国最大av网站| 国内精品伊人久久久久av影院 | 久久网站最新地址| 亚洲欧美激情视频在线观看一区二区三区 | 国产精品美日韩| 亚洲国产cao| 国产99久久久国产精品| 欧美日韩国产大片| 中文字幕在线不卡视频| 亚洲成a人片在线观看中文| 国产成人av电影在线| 欧美日韩三级在线| 国产精品免费视频网站| 日本不卡一区二区| 91久久线看在观草草青青| 精品国产一区二区三区久久久蜜月| 亚洲欧洲日本在线| 国产老肥熟一区二区三区| 欧美日韩电影一区| 自拍偷拍欧美精品| 国产精品一区二区在线看| 91麻豆精品国产91久久久久久久久| 国产精品福利影院| 国产一区二区在线观看视频| 在线综合视频播放| 伊人婷婷欧美激情| 99久久亚洲一区二区三区青草| 亚洲一二三专区| 成人福利视频网站| 欧美va亚洲va在线观看蝴蝶网| 夜夜精品视频一区二区| 成人免费观看av| 久久综合给合久久狠狠狠97色69| 亚洲成人1区2区| 在线观看成人小视频| 欧美高清在线一区| 国产精品羞羞答答xxdd| 欧美xxxxxxxx| 热久久一区二区| 欧美精品第1页| 亚洲mv大片欧洲mv大片精品| 色猫猫国产区一区二在线视频| 亚洲国产精品av| 国产精品亚洲а∨天堂免在线| 精品少妇一区二区三区免费观看 | 97精品久久久午夜一区二区三区| www欧美成人18+| 国内精品久久久久影院一蜜桃| 欧美成人一区二区三区| 无码av免费一区二区三区试看| 欧美在线观看一区| 亚洲1区2区3区视频| 欧美亚洲国产bt| 亚洲va国产天堂va久久en| 欧美人伦禁忌dvd放荡欲情| 亚洲一区二区在线免费看| 欧美性极品少妇| 亚洲成a人v欧美综合天堂下载| 欧美日韩国产小视频在线观看| 午夜久久电影网| 欧美一级片免费看| 久久er99精品| 久久精品一区蜜桃臀影院| 高清视频一区二区| 中文字幕一区二区三区色视频| 99久久精品费精品国产一区二区| 中文字幕一区二区三区四区| 在线精品国精品国产尤物884a| 亚洲香蕉伊在人在线观| 欧美美女bb生活片| 六月丁香婷婷色狠狠久久| 久久精品视频免费| 91一区一区三区| 亚洲va韩国va欧美va| 精品欧美一区二区在线观看| 国产一区二区三区观看| 一色屋精品亚洲香蕉网站| 在线看国产一区二区| 乱一区二区av| 国产精品你懂的在线| 欧美三区免费完整视频在线观看| 免费人成在线不卡| 欧美国产欧美综合| 欧美日免费三级在线|