Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Unde au disparut tancurile federa...

RMN Decontat

Jgheab clasic forma "U"- ...

Reparatie plafoniera LED
 Problema PC - se blocheaza sau re...

Notebook HP 840G2 - Upgrade RAM, ...

Defect ciudat Videorecorder Panas...

lege de reglementare a shrinkflat...
 Care este cota parte la succesiun...

Camera auto DVR PNI Voyager S2600...

Cartelul din Carpati - mafia PNL ...

Trecut: Europa versus S.U.A. la c...
 Garantie apartament dezvoltator

Aplicație GPS cu zoom automa...

Ipad Pro & Air 2024

Service si revizii reprezentanta
 

Visual Basic - disable keyboard- in xp

- - - - -
  • Please log in to reply
5 replies to this topic

#1
sub7even

sub7even

    New Member

  • Grup: Members
  • Posts: 12
  • Înscris: 21.02.2005
Salutare!
Incerc de cateva zile sa dezactivez  tastaura...dar nu vrea in nici un fel.
Pentru 98 am reusit sa fac treaba asta cu
Call Shell ("c:\windows\system\rundll.exe keyboard,disable")......
in xp ar trebui sa fie cu system32 si cu rundll32.exe..dar nu e asa....
Ma poate ajuta cineva?

#2
RAZ

RAZ

    Member

  • Grup: Members
  • Posts: 1,227
  • Înscris: 15.10.2004
pe nt faci cu un keyboard hook, vezi  SetWindowsHookEx(WH_KEYBOARD ....... & UnhookWindowsHookEx
:wave:

#3
sub7even

sub7even

    New Member

  • Grup: Members
  • Posts: 12
  • Înscris: 21.02.2005
Am incercat..dar tot nu reusesc...imi poti scrie toata comanda... :cursing:
Merci..

#4
RAZ

RAZ

    Member

  • Grup: Members
  • Posts: 1,227
  • Înscris: 15.10.2004
n'o faci doar cu  Call Shell man .. cauta si tu putin prin MSDN putin ca o sa gasesti...

#5
nIMROD

nIMROD

    Junior Member

  • Grup: Members
  • Posts: 28
  • Înscris: 21.03.2005
foloseshti asta...
Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long

? fBlock
[in] Specifies the function's purpose. If this parameter is TRUE, keyboard and mouse input events are blocked. If this parameter is FALSE, keyboard and mouse events are unblocked. Note that only the thread that blocked input can successfully unblock input.

Dar atentzie trebuie sa dezactivezi Ctrl+alt+delete in cazul in care nu e dezactivat la apasarea acestor taste tastatura ishi revine din blocare

#6
Yoda

Yoda

    Eternal padawan

  • Grup: Senior Members
  • Posts: 9,468
  • Înscris: 04.10.2002
http://www.thecodepr...ockKeyboard.asp

Anunturi

Bun venit pe Forumul Softpedia!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate