|
<blockquote class="FQ"><div class="FQA">prathuraj wrote:</div>how you did this</blockquote>
Did yea read the instructions?
vsrename <oldname> <newname> <dir>
oldname : The old name of your project (typically the xxx from xxx.dsw)
newname : The new name for your project
dir : The directory tree that holds the project.
|
|
|
|
|
hi i am new to vc++. i need to know about com and its usage. is there any tutorials available in net to learn its basic concept
|
|
|
|
|
Www.google.com
|
|
|
|
|
I dont think its sufficient for answer
|
|
|
|
|
See this[^] series of articles.
/ravi
|
|
|
|
|
Thank you Mr.Ravi that artcile is very useful.
|
|
|
|
|
|
I am taking input from editbox as CString and in my program i want to convert to char.
can i write and read from serial port a double value.
please could u tellme how to?
|
|
|
|
|
You can use of CString::GetBuffer();
|
|
|
|
|
WhiteSky wrote: You can use of CString::GetBuffer();
you forget CString::ReleaseBuffer
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
|
is _tcstod is of any help
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
for Changing CString to Double use
_tcstod
for changing double to String
CString::Format
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
how to get/set password of system and system name using VC++.
Gajender Singh
|
|
|
|
|
You can't get a user's password, imagine the security hole that would create. And besides, the password isn't stored anywhere, only the hash of the password.
|
|
|
|
|
Gajender S wrote: how to get/set password of system and system name using VC++.
you set the password using NetUserChangePassword and system name by Get/SetComputerName
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hello all,
i have a problem regarding multithreading...
i want my particular function to run within particular interval of time may be 5 sec 10 sec or even a min
for this i have used SetTimer function.....
this function is working absolutely fine....
now my problem is if i want to start this same function particular no of times....(having different parameter like "TEST" "test1")
then how should i do it
i want that it should run at same time
how to do it
thanxs in advance??????
sulabh
|
|
|
|
|
You need to create timer for each time. And when this timer is fired, you need to kill it, create againg.
For sending different parameters, you can always use WPARAM and LPARAM value of timer procedure.
|
|
|
|
|
Hi ,
can anybody know how to remove ListCtrl Last unused column?
is there any property?
Example to reproduce this problem,
1> click window key + e
2> Go to details view of folder.
now see its list control and in this pan we have last unused column.
so how can we remoce and show full window size list.
waiting for reply.
Thanks,
Rakesh
|
|
|
|
|
See what the source code to the MFC CListCtrl::DeleteColumn does.
I would assume there is mechanism in place to delete a specific column.
|
|
|
|
|
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
|
|
|
|
|
SyamlalS wrote: This code is supposed to invoke the notepad window and then write "D:\\sample.gho" in it.
But it is writing "d;\\sample.gho"
what the difference are you worrying abt capital D and ; or some other problem
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
ThatsAlok wrote: what the difference are you worrying abt capital D and ; or some other problem
yes, of course I am worried about the case of 'D' and semi colon
pls give solution
Thanks
SYAMLAL
|
|
|
|
|
To type 'D' and ':' you would have to press the Shift key, I suspect that you need to do the same for SendInput.
|
|
|
|
|
Pls explain how can I send the shift key through sendInput()
SYAMLAL
|
|
|
|