Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get/set password of system and system name using VC++. Pin
Gajender S28-Feb-07 18:48
Gajender S28-Feb-07 18:48 
AnswerRe: how to get/set password of system and system name using VC++. Pin
Michael Dunn28-Feb-07 19:51
sitebuilderMichael Dunn28-Feb-07 19:51 
AnswerRe: how to get/set password of system and system name using VC++. Pin
ThatsAlok28-Feb-07 20:24
ThatsAlok28-Feb-07 20:24 
Questionproblem in thread Pin
sulabh_expert@rediffmail.com28-Feb-07 18:46
sulabh_expert@rediffmail.com28-Feb-07 18:46 
AnswerRe: problem in thread Pin
prasad_som28-Feb-07 22:45
prasad_som28-Feb-07 22:45 
QuestionCListCtrl Poperty to remove last unused column part. Pin
rakeshbbaldha28-Feb-07 18:38
rakeshbbaldha28-Feb-07 18:38 
AnswerRe: CListCtrl Poperty to remove last unused column part. Pin
Blake Miller6-Mar-07 7:23
Blake Miller6-Mar-07 7:23 
QuestionDoubt in using SendInput function Pin
Syamlal S Nair28-Feb-07 17:59
Syamlal S Nair28-Feb-07 17:59 
hi all,
I have a problem with the SendInput() function. Let me paste the code in a button click event here.

//code start
WinExec("notepad",1);

Sleep(1000);

CString str="D:\\sample.gho";

INPUT key[2];

for(int index=0;index<str.getlength();index++)
{
="" ::zeromemory(key,="" sizeof(key));=""
="" key[0].type="key[1].type" =input_keyboard;
="" key[0].ki.wvk="key[1].ki.wVk" =vkkeyscan(str.getat(index));
="" key[1].ki.dwflags="KEYEVENTF_KEYUP;
" key[0].ki.time="key[1].ki.time" =="" 0;
="" key[0].ki.dwextrainfo="key[1].ki.dwExtraInfo=0;
" sendinput(2,key,sizeof(input));
="" }
="" code="" end


this="" is="" supposed="" to="" invoke="" the="" notepad="" window="" and="" then="" write="" "d:\\sample.gho"="" in="" it.

but="" it="" writing="" "d;\\sample.gho"=""

can="" anybody="" help="" me?

thanks="" advance.


=""

<div="" class="ForumSig">SYAMLAL
AnswerRe: Doubt in using SendInput function Pin
ThatsAlok28-Feb-07 19:52
ThatsAlok28-Feb-07 19:52 
GeneralRe: Doubt in using SendInput function Pin
Syamlal S Nair28-Feb-07 19:58
Syamlal S Nair28-Feb-07 19:58 
GeneralRe: Doubt in using SendInput function Pin
cp987628-Feb-07 20:20
cp987628-Feb-07 20:20 
GeneralRe: Doubt in using SendInput function Pin
Syamlal S Nair28-Feb-07 20:28
Syamlal S Nair28-Feb-07 20:28 
AnswerRe: Doubt in using SendInput function Pin
prasad_som28-Feb-07 22:01
prasad_som28-Feb-07 22:01 
GeneralRe: Doubt in using SendInput function Pin
Syamlal S Nair28-Feb-07 22:11
Syamlal S Nair28-Feb-07 22:11 
AnswerRe: Doubt in using SendInput function Pin
prasad_som28-Feb-07 22:21
prasad_som28-Feb-07 22:21 
QuestionRe: Doubt in using SendInput function Pin
prasad_som1-Mar-07 1:12
prasad_som1-Mar-07 1:12 
AnswerRe: Doubt in using SendInput function Pin
Syamlal S Nair1-Mar-07 1:17
Syamlal S Nair1-Mar-07 1:17 
GeneralRe: Doubt in using SendInput function Pin
Syamlal S Nair1-Mar-07 17:39
Syamlal S Nair1-Mar-07 17:39 
QuestionRe: Doubt in using SendInput function Pin
prasad_som15-Mar-07 18:28
prasad_som15-Mar-07 18:28 
AnswerRe: Doubt in using SendInput function Pin
Syamlal S Nair15-Mar-07 18:37
Syamlal S Nair15-Mar-07 18:37 
GeneralRe: Doubt in using SendInput function Pin
prasad_som15-Mar-07 18:46
prasad_som15-Mar-07 18:46 
QuestionHow to judge if the folder can be written? Pin
Syouki_kou28-Feb-07 15:53
Syouki_kou28-Feb-07 15:53 
AnswerRe: How to judge if the folder can be written? Pin
Mark Salsbery28-Feb-07 16:14
Mark Salsbery28-Feb-07 16:14 
GeneralRe: How to judge if the folder can be written? Pin
Syouki_kou28-Feb-07 16:22
Syouki_kou28-Feb-07 16:22 
GeneralRe: How to judge if the folder can be written? Pin
Mark Salsbery28-Feb-07 16:51
Mark Salsbery28-Feb-07 16:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.