質問編集履歴
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,9 +36,37 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
```
|
39
|
+
```VB
|
40
40
|
|
41
|
+
タッチキーボード(通常モードでの)起動のソースになります。
|
42
|
+
|
43
|
+
''**************************************************
|
44
|
+
|
45
|
+
''タッチキーボード起動
|
46
|
+
|
47
|
+
''**************************************************
|
48
|
+
|
49
|
+
Private Sub TEXTBOX_GotFocus(sender As Object, e As System.EventArgs) Handles txtTosoDay.GotFocus
|
50
|
+
|
51
|
+
System.Diagnostics.Process.Start("osk.exe")
|
52
|
+
|
53
|
+
End Sub
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
Private Sub TEXTBOX_Leave(sender As Object, e As System.EventArgs) Handles txtTosoDay.Leave
|
58
|
+
|
59
|
+
Dim ps As System.Diagnostics.Process()
|
60
|
+
|
61
|
+
ps = System.Diagnostics.Process.GetProcessesByName("osk") '←名前だけ(拡張子は付けない)
|
62
|
+
|
63
|
+
For Each p As System.Diagnostics.Process In ps
|
64
|
+
|
65
|
+
p.Kill()
|
66
|
+
|
41
|
-
|
67
|
+
Next
|
68
|
+
|
69
|
+
End Sub
|
42
70
|
|
43
71
|
```
|
44
72
|
|