|
Erm, added where? Any cell number? Any work sheet?
Will you set a cell format?
Do you process how many active cells in a column there are, so your numnber can be added?
There are many questions for you to work out, before you dive in to the examples another poster just gave you.
Programming is all about being the whiny paranoid 6 year old saying "why?" and "what if?" all the time.
Iain.
|
|
|
|
|
hellogany wrote: Any solutions?
See here.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi
i tired one ag in msdn
datas need to be appended...i.e data should be keep on adding.
But in the example, the old datas get erased
there is also one paramter Saveas. It keeps on asking whenevr i add a data
Data should be added with out asking the question
Is ther any solutions?
|
|
|
|
|
Unlike other data files where you open them, go to the end, and start writing, Excel files must be told where (i.e., what cell) to put the data. How are you doing this?
hellogany wrote: It keeps on asking...with out asking the question
Huh?
hellogany wrote: Is ther any solutions?
Not without seeing what you are currently doing.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
hi i m using MFC
how i can hide specific button in a toolbar without creating any disturbance for other buttons.
please guide.
Thanks
destined to win
|
|
|
|
|
Hi,
i want to display a tooltip when the mouse pointer is over a specific part of window.
I am using the following code
if(IsResizable(ptHit))
{
if (::IsWindow(mToolTip.GetSafeHwnd()))
{
mToolTip.UpdateTipText(_T("Resizing not possible"), this, 60000);
mToolTip.Activate(TRUE);
}
else
{
BOOL rVal = TRUE;
rVal = mToolTip.Create(this, TTS_ALWAYSTIP);
if(rVal)
{
BOOL result = mToolTip.AddTool(this, _T("Resizing not possible"), CRect(100, 150, 200, 200), 60000);
if(result)
{
mToolTip.Activate(TRUE);
}
}
}
}
But the tooltip is not coming.
Thanks
|
|
|
|
|
Call method EnableToolTips().
Capture message TTN_NEEDTEXT.
Add ON_NOTIFY_EX( TTN_NEEDTEXT, 0, OnToolTipNotify) in the message map and implement method OnToolTipNotify.
cheers
Varghese Paul
|
|
|
|
|
Hi,
Thanks for replying. Actually it was my fault because the coordinates which i was using as boundry for tooltip were not correct.
|
|
|
|
|
Hi all,
i have two diffrent buttons.
when keyboard use instead of mouse.
if i (press enter)clicked button 1 than focus set to the next button that is button 2.
i have use SetFocus() on Clicked event of button1,but its not done.
please tell me how can i do this.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Use GotoDlgCtrl() instead of SetFocus()
cheers
Varghese Paul
|
|
|
|
|
Thanks its done.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hi All,
I am creating one application in which i want to convert text to image.I dont have any idea about it.Is their any API so that i convert that text to image.
Please Click This Link[^]
Thanks in Advance
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
I believe you can use GDI to render the text to a window or a memory context and then save its contents as an image.
-Saurabh
|
|
|
|
|
Thanks For your kind help Saurabh but i really dont have any idea about it. Can you please provide me any article or API so that it is easy for me to understand .
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
These are the function for drawing using GDI Font and Text Functions[^].
You can try to look up for memory DC and how to save it to a image.
-Saurabh
|
|
|
|
|
Thank you so much
Yes U Can ...If U Can ,Dream it , U can do it ...ICAN
|
|
|
|
|
I am using listview in recordview with checkbox when I check and unchecked checkbox
of particular row then that row not selected.It only selected when I click
on that row item. so what I want that row should also get selected when I check and
uncheck the checkbox of the row. How It is possible???
Trioum
|
|
|
|
|
Hi all,
How can I convert an UINT into wstring.
Initially I convert it into CStringW, using Format(). But wstring there is no such thing. I want to avoid MFC here.
Any idea?
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
#include <sstream>
UINT i = 100;
std::wstringstream str;
str << i;
wstring s = str.str();
-Saurabh
|
|
|
|
|
Thanks,
How about this way?
<br />
wchar_t buf[8];<br />
wstring str(L"");<br />
_itow(12, buf, 10);<br />
str.append(buf);
Actually I want to do this for values from 0 to 31 only. So I think my buffer size is enough.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Sure you can do this way but I will recommend using wstringstream. It is more general, you don't have to worry about buffer size.
-Saurabh
|
|
|
|
|
I'm writing a software application which I intend to sell and I'm implementing a number of security features for licensing purpose.
I was wondering if there is a way to identify a Windows OS installation. Example is it possible to get Windows Serials?
|
|
|
|
|
|
your thought is not realism ,because maybe many people use the same SN of windows ,i think you can get some hardware information to deal with that ,such as net card physics address
a beginner
|
|
|
|
|
enhzflap was just replying to another user asking how to get window's serial number.
I agree with your criticism, but you should point it at the original poster (JackWack).
Iain.
|
|
|
|