Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collate
Message
De
17/08/2004 06:21:31
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
17/08/2004 04:50:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
Divers
Thread ID:
00933295
Message ID:
00933765
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform