ITeye博客

2017 年文章归档

共 4 篇文章

日英键盘切换

命令行->regedit->HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->i8042prt->parameters 修改下面几项: 1,"LayerDriver JPN" KBD106.DLL -> KBD101.DLL 2,"OverrideKeyboardIdentifier" PCAT_106KEY -> PCAT_101KEY 3,"OverrideKeyboardSubtype" 2 -> 0

2017-09-21 15:54 · 工具使用学习之路

IP地址变更

@echo off :start set /p first="Input 1 or 2: " if %first% == 1 ( netsh interface ip set address name="ローカル エリア接続" source=static addr=172.16.16.5 mask=255.255.0.0 gateway=172.16.0.1 gwmetric=0 netsh interface ip set dnsservers "ローカル エリア接続" static 172.16.16.5 primary no netsh interface ip add dnsserv…

2017-09-21 15:46 · 工具使用学习之路

VBA字符串处理

'概要: SHIFT_JIS「全角文字判定(ASCII:0~255の範囲外)」 '引数: strHantei:判定キャラクター '戻り値: True:全角文字, False:全角文字以外 Function isZenkaku(strHantei As String) As Boolean Dim intAscii As Integer intAscii = Asc(strHantei) isZenkaku = False 'Ascii255の範囲外 If intAscii > 255 Or intAscii < 0 Then isZenkaku = True End If End Funct…

2017-09-21 15:08 · 工具使用学习之路

VBA文件处理

Const ForReading = 1, ForWriting = 2, ForAppending = 8 '概要: フォルダー選択ダイアローグを出して、フォルダを選択 '引数: 無し '戻り値: getFilePath 選択されたパス Function getFilePath() As String Dim fd As FileDialog Set fd = Application.FileDialog(msoFileDialogFolderPicker) With fd .Title = "フォルダを開く" If .Show = -1 Then getFilePath= .Select…

2017-09-21 15:06 · 工具使用学习之路