on_20screen_20keyboard
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
on_20screen_20keyboard [2018/03/31 13:19] – external edit 127.0.0.1 | on_20screen_20keyboard [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
//by Richard Russell, September 2013//\\ \\ To open the Windows **On Screen Keyboard** from an LBB program use this code: | //by Richard Russell, September 2013//\\ \\ To open the Windows **On Screen Keyboard** from an LBB program use this code: | ||
+ | <code lb> | ||
files " | files " | ||
if val(info$(0, | if val(info$(0, | ||
Line 8: | Line 9: | ||
run " | run " | ||
end if | end if | ||
+ | </ | ||
The reason for this complexity is that the 32-bit version of OSK.EXE supplied with 64-bit Windows 7 does not run (this issue appears to have been fixed in Windows 8). Therefore it is necessary to force the 64-bit version to be run, which is the purpose of the above code.\\ \\ If you want the code also to be compatible with Liberty BASIC 4.04, DIMension the array at the start: | The reason for this complexity is that the 32-bit version of OSK.EXE supplied with 64-bit Windows 7 does not run (this issue appears to have been fixed in Windows 8). Therefore it is necessary to force the 64-bit version to be run, which is the purpose of the above code.\\ \\ If you want the code also to be compatible with Liberty BASIC 4.04, DIMension the array at the start: | ||
+ | <code lb> | ||
dim info$(0,0) | dim info$(0,0) | ||
files " | files " | ||
Line 16: | Line 19: | ||
run " | run " | ||
end if | end if | ||
+ | </ |
on_20screen_20keyboard.1522502370.txt.gz · Last modified: 2024/01/05 00:17 (external edit)