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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? setup1.bas

?? 數據庫課程設計
?? 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
    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线精品亚洲一区二区不卡| 欧美一区二区久久| 亚洲国产裸拍裸体视频在线观看乱了 | 国产精品成人免费精品自在线观看| 91精品欧美福利在线观看| 在线观看av一区二区| 26uuu久久天堂性欧美| 亚洲人精品午夜| 国产精品久久久久婷婷| 青娱乐精品在线视频| 天堂影院一区二区| 午夜精品一区在线观看| 麻豆91精品91久久久的内涵| 久久不见久久见免费视频1| 久久不见久久见免费视频7| 99久久综合狠狠综合久久| 97久久精品人人做人人爽50路| 北岛玲一区二区三区四区| 日韩精品一区二区三区中文不卡| 日韩亚洲欧美成人一区| 久久久99精品免费观看| 日本一区二区三区久久久久久久久不| 中文av字幕一区| 亚洲观看高清完整版在线观看| 国产jizzjizz一区二区| 色播五月激情综合网| 91精品国产全国免费观看| 亚洲一区二区三区四区在线观看 | 国产揄拍国内精品对白| 成人在线综合网站| 欧美视频一二三区| 久久久天堂av| 一区二区三区视频在线观看| 青青草伊人久久| 欧美日韩高清在线播放| 欧美国产精品专区| 香蕉久久夜色精品国产使用方法| 久久成人免费网| 欧美精品久久一区| 欧美极品少妇xxxxⅹ高跟鞋 | 日韩美女视频19| 免费成人av资源网| 欧美一级精品大片| 青青国产91久久久久久| 日韩欧美国产一区二区在线播放| 美女视频黄 久久| 精品国产91洋老外米糕| 亚洲线精品一区二区三区八戒| 在线一区二区视频| 天天操天天色综合| 国产精品丝袜91| 一本一道久久a久久精品| 欧美xxxxx牲另类人与| 亚洲精品日韩专区silk| 国产一区二区精品久久99| 国产欧美一区二区在线| 一本色道久久加勒比精品| 亚洲成人自拍一区| 精品剧情在线观看| 99久久国产综合色|国产精品| 亚洲免费电影在线| 日韩一级免费一区| 成人精品免费看| 91精品国产综合久久久蜜臀粉嫩| 捆绑调教一区二区三区| 国产日韩精品一区二区三区在线| av电影在线观看完整版一区二区| 一个色综合av| 精品嫩草影院久久| 99久久精品免费精品国产| 青青国产91久久久久久 | 91.com视频| 国产精品中文欧美| 久久看人人爽人人| 色天天综合色天天久久| 精品一区二区三区免费观看| 91精品蜜臀在线一区尤物| 国产高清不卡一区二区| 精品久久久久香蕉网| 99麻豆久久久国产精品免费| 日本视频在线一区| 欧美一区二区三区在线观看| 东方aⅴ免费观看久久av| 亚洲444eee在线观看| 国产三级精品在线| 欧美乱熟臀69xxxxxx| www.亚洲免费av| 国产精品资源在线观看| 日韩中文字幕一区二区三区| 美国三级日本三级久久99| 最新久久zyz资源站| 成人永久看片免费视频天堂| 视频在线在亚洲| 亚洲美女区一区| 欧美激情一区二区三区蜜桃视频| 777久久久精品| 日本高清不卡视频| 99视频一区二区| 国产精品一区二区黑丝| 美腿丝袜一区二区三区| 一区二区三区美女视频| 国产精品久久毛片| 国产农村妇女精品| 久久久久久久综合色一本| 日韩欧美第一区| 欧美肥妇毛茸茸| 欧美日韩国产首页| 欧美午夜影院一区| 色一情一伦一子一伦一区| 不卡的av电影| 成人国产在线观看| 成人av电影免费在线播放| 国产福利精品一区| 国产精品888| 国产精品18久久久久久久久| 激情av综合网| 一级中文字幕一区二区| 18欧美乱大交hd1984| 国产精品久久久久影院老司| 久久久99精品免费观看不卡| 久久久高清一区二区三区| 精品美女一区二区| 精品久久久久久久久久久院品网 | 51久久夜色精品国产麻豆| 欧美日韩一区二区三区四区| 国产精品一区一区三区| 国产在线视频精品一区| 国产一区二区成人久久免费影院 | 亚洲色图视频免费播放| 亚洲精品免费在线| 亚洲无人区一区| 日韩精品一二三四| 秋霞午夜av一区二区三区| 精品一区二区三区久久| 韩国成人福利片在线播放| 懂色av中文一区二区三区| 成人av集中营| 一本色道久久综合亚洲91| 99久久精品国产一区| 欧美专区在线观看一区| 91精品国产麻豆国产自产在线 | 99热精品国产| 欧美视频在线观看一区| 91精品国产91久久综合桃花| 欧美精品一区二区久久久| 国产精品国产三级国产有无不卡 | 国产精品一二三区| 99视频一区二区三区| 欧美理论电影在线| 久久久一区二区| 夜夜亚洲天天久久| 国产一区二区三区在线观看免费视频| 丁香天五香天堂综合| 精品视频色一区| 久久久久久久av麻豆果冻| 玉米视频成人免费看| 激情综合网激情| 色噜噜久久综合| 精品国产第一区二区三区观看体验 | 国产永久精品大片wwwapp| 97se亚洲国产综合自在线| 欧美一级理论性理论a| 中文字幕一区在线观看| 午夜精品在线视频一区| 波多野结衣中文字幕一区二区三区| 欧美视频一区在线| 国产精品久久久久久久蜜臀| 日本在线不卡视频一二三区| 北岛玲一区二区三区四区| 欧美一区二区三区四区久久 | av动漫一区二区| 精品国产污污免费网站入口 | 久久久久国产精品免费免费搜索| 成人欧美一区二区三区视频网页 | 成人美女视频在线观看18| 日韩色视频在线观看| 一二三区精品福利视频| 国产福利视频一区二区三区| 制服丝袜激情欧洲亚洲| 亚洲黄色免费电影| 成人午夜碰碰视频| 久久亚洲精品小早川怜子| 日韩二区三区在线观看| 在线一区二区三区| 最近日韩中文字幕| 成人性色生活片免费看爆迷你毛片| 欧美一区二区三区系列电影| 亚洲不卡一区二区三区| 在线免费观看一区| 日韩国产精品久久| 欧美日韩久久一区二区| 亚洲激情五月婷婷| 91丨porny丨中文| 色综合欧美在线视频区| 久久精品视频在线免费观看| 久久精品国产一区二区| 欧美精品久久99久久在免费线| 亚洲国产精品精华液网站| 在线观看免费亚洲| 亚洲一区二区三区美女|