Em Andamento

Help with GetAsyncKeyState in office 2010 c#

Hi i need help with GetAsyncKeyState i dont get key code from excel 2010 also checked in excel 2007 when you have ready to use solution for that or know how to solve this that means im looking for you here is the sample code:

namespace ConsoleApplication1

{

class Program

{

[DllImport("[url removed, login to view]")]

public static extern int GetAsyncKeyState(Int32 i);

static void Main(string[] args)

{

StartLogging();

}

static void StartLogging()

{

while (true)

{

//sleeping for while, this will reduce load on cpu

[url removed, login to view](50);

for (Int32 i = 0; i < 255; i++)

{

int keyState = GetAsyncKeyState(i);

if (keyState == 1 || keyState == -32767)

{

[url removed, login to view]([url removed, login to view]());

//[url removed, login to view]((Keys)i);

break;

}

}

}

}

}

}

Habilidades: Programação C#

Ver mais: user32, sleep programming, programming excel 2010, get help programming, get excel programming help, string programming, programming static, programming extern, programming break, get string, need help excel, programming help, extern, code office 2007, dllimport, dll load, sharp console program, dll excel, excel 2010, office programming, key office, dll console, console dll, dll sample code, need office 2007

Acerca do Empregador:
( 11 comentários ) Jastrowie, Poland

ID do Projeto: #6799298

Premiar a:

sergpooh

I have a solution to your problem. You don't need to wait, the solution is ready. Sincerely, SergPooh.

$35 USD em 0 dias
(0 Avaliações)
0.0

5 freelancers estão ofertando em média $177 para este trabalho

zhengnami13

Hi, I am very interested in your project. I am a good fit for this project because I think I have the diverse skill set and communication skills the post requires. I don't need to boast but my profile should be a g Mais

$263 USD em 1 dia
(10 Comentários)
5.8
khoahuynhpro

Hello you! i can do it and finish 1 day. Please let me know.I looking forward on work your project. Thanks!

$147 USD em 1 dia
(22 Comentários)
4.1
drozhkov

A proposal has not yet been provided

$222 USD in 2 dias
(2 Comentários)
3.4
revanayyamca

A proposal has not yet been provided

$166 USD em 1 dia
(2 Comentários)
1.7
krishna9911

If the function succeeds, the return value specifies whether the key was pressed since the last call to GetAsyncKeyState, and whether the key is currently up or down. If the most significant bit is set, the key is down Mais

$212 USD em 1 dia
(0 Comentários)
0.0
sangxuan

Hi, I am 14+ years in C# developing. I have developed my own C# keylogger that runs well in Excel. Please send me a message, then I will supply a demo immediately. Thanks

$155 USD in 3 dias
(0 Comentários)
0.0