Can you please tell me the easiest way to do this? Thanks
Regards, Ram
Can you please tell me the easiest way to do this? Thanks
Regards, Ram
Hi Thanx for your reply. Timer function wise, i have no problem. But my problem is how to activate other application's button using my own program. I used FindWindow() method to get the other application's window handle. But How to get the control of the button to send message to that button? This is the biggest issue to me now.
Regards, Ram
Hi All, I am using a software to run a occupancy report manually by clicking a button in the software. I would like to automate this task by writing MFC application to programatically click the button every hour. So I dont know how to activate other application's button by my program. Could anyone please suggest me some possible solution for this? I am not sure where to start and how to proceed. Any piece of information will help me a lot. Thanks in advance.
Regards, Ram
You may try the following CString s1, s2; if ( s1.GetLength() != s2.GetLengtth() ) // Not equal else { for( int i = 0; i < s1.GetLength(); i++ ) { if ( (Byte) s1.GetAt(i) != (BYTE) s2.GetAt(i) ) break; } if ( i != s1.GetLength() ) // String Not equal. else // String equal. } Hope this will help u, if ur string length is small.
Regards, Ram
create a font using arabic character set and set the font to the edit box. then u can display the arabic font in editbox.
Regards, Ram
ya i tried this too. I set a limit to 32. may be let me explain a bit about japanese fonts using English keyboard. the OS will wait until a user presses enter to confirm the char. otherwise all the typed characters will be in buffer. So once i reach 32 charecters, i can still type characters without pressing enter. if i press enter, anything more than 32 chars will be truncated off.
Regards, Ram
I was trying to catch the character by the onchangeeditbox() function. But if i press a char in keyboard it doesnt come to that function. after i press enter only it will go to that function. thats why i couldnt able to count the no of chars.
Regards, Ram
Dear all, I would like to display japanese character in my editbox, and the no of characters should be 32. that means its not 32 japanese characters. its 32 keyboard strokes. If a user enters 32 keyboard strokes, then the edit box shouldnt display the character which was pressed after 32. Can anyone please help me on this? Thanks in advance.
Regards, Ram
can you change the MessageBox(sT) statement outside the for loop and try.
Regards, Ram
Your coding seems ok. nothing problem with the code. why dont you debug the code and check the value of s1, s2 and sT.
Regards, Ram
can you give me more details abt your problem?
Regards, Ram
Thanks for your information. I found the function to convert the string value to the _int64. CString str = "999999999999"; _int64 val = _atoi64(str); Thanks again.
Regards, Ram
How can i convert sring to _int64? because my "9999 9999 9999" and "1111 1111 1111" is a string. I need to convert these string values to _int64 and do the subtraction. after do the operation, i need to convert the result from _int64 to string. is there any way to do it? Thanks a lot.
Regards, Ram
Hi all, I have a difficulty in finding difference between two 12 digit number. my problem is this 9999 9999 9999 - 1111 1111 1111 = 8888 8888 8888. I wish to do this operation. But i couldnt able to store these two 12 digit numbers as a integer. can anyone please suggest me some ideas? Thanks in advance.
Regards, Ram
K thank you very much for your valuable information. I think your information is more than enough for me. I think i mus go with the microcontroller. Thanks again.
Regards, Ram
Oooopzzzz. I just started to do some research regarding this to gather some knowledge about controlling LEDs using software. I understood by your answer that i should need some extra hardware(Microcontroller) to control LED. Then I must go and find something about microcontroller and controlling LED first. Anyway thanx a lot for your information. Atleast i got some idea abt this. Do you have any idea about this without microcontroller. ( that means jus with common electronic items such as breadboards, resistors, capacitors and transistors.)
Regards, Ram
I am trying to design a software to communicate with a LED using serial port to On/Off the LED. so any help regarding this will highly be appreciated.
Regards, Ram
Hi All, Can anyone please suggest me some ideas about how to control LED's using VC++? Thanks in advance.
Regards, Ram
Hi all, I have some problem in prev button in my print preview page. Actually i have a MDI and when i entered print prview page, the display is fine (Next button enabled and Prev button disabled). but when i press the next button, the prev page button is still disabled (But it is supposed to be enabled). So could you please anyone tell me how to control this buttons display properties, such enabling and disabling. Thank you in advance.
Regards, Ram
I also have the same problem to read the file from the serial port.
Regards, Ram