Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collate
Message
From
17/08/2004 06:21:31
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
 
To
17/08/2004 04:50:34
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Miscellaneous
Thread ID:
00933295
Message ID:
00933765
Views:
25
Hi,
Change SET PROCEDURE TO c:\yourdirectory\moh additive and see what happens.

yourdirectory = where you saved the file.


>hello,
>
>i create modi comm moh
>i insert your code at myprg as...
>
>PROCEDURE SetKeyboard
> LPARAMETER lcKeyboardcode
> IF VARTYPE(lcKeyboardcode)<>'C'
>      RETURN
> ENDIF
> IF EMPTY(lcKeyboardcode)
>      RETURN
> ENDIF
> LOCAL pwSzklid
> pwSzklid = SPACE(8)
> DECLARE INTEGER GetKeyboardLayoutName IN user32.DLL STRING @
> geTkeyboardlayoutname(@pwSzklid)
> DECLARE INTEGER ActivateKeyboardLayout IN user32.DLL INTEGER, INTEGER
> IF ATC(lcKeyboardcode, pwSzklid)=0
>      acTivatekeyboardlayout(1,0)
> ENDIF
> RETURN
>ENDPROC
>
>at init myform i put (SET PROCEDURE TO moh additive)
>i get error message(File "moh.prg" does not exist )
>
>thanks.
>regards
Regards N Mc Donald
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform