|
Cedric Moonen wrote: Wow, it's becoming popular
come on, we both know i knew it 'til its birth...
|
|
|
|
|
Cedric Moonen is right I was also searching for this library couple of week back.....
Regards,
-Dinesh
|
|
|
|
|
you can find it in his signature, in any of his posts...
|
|
|
|
|
toxcct wrote: you can find it in his signature, in any of his posts...
Not this one
Cédric Moonen
Software developer
|
|
|
|
|
I also redirect people on your charting control, Cedric. It is really good.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
|
|
|
|
|
Hi All,
MapViewOfFile fails with "Not enough storage is available to process this command". Can any one explain the reason for the above message.
Thanks in Advance
Suraj
Suraj Gupta
|
|
|
|
|
This description is from MSDN , have you tried this,
Error Message:
Not enough storage is available to process this command.
User Action:
Do one of the following, then retry the command:
(1) reduce the number of running programs;
(2) remove unwanted files from the disk the paging file is on and restart the system;
(3) check the paging file disk for an I/O error; or
(4) install additional memory in your system.
|
|
|
|
|
I was facing the similar problem.Is the MapViewOfFile fails first time itself?.If its not then u have to UnMap the Previous view then u have to Map it once again.For this u can use the same handle ,which u got from CreateFileMapping.
regards
Vairavan
|
|
|
|
|
In my application i want to determine that is system is going into Stand By
mode. If this is the case then i want to set one registry flag .
How can i detremine that system is going into Stand By mode
or it is just awakened from Stand By mode .
|
|
|
|
|
You should capture WM_POWERBROADCAST message[^].
Also look at this[^]
I hope it helps,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
but my application is ATL DLL which construct a toolbar to IE window.
how could we handle this message. will my toolbar windoa could receive that message
or IE will receive.
please tell me how to handle that message
|
|
|
|
|
HarishDixit wrote: how could we handle this message. will my toolbar windoa could receive that message
I doubt. Remark section of this message states ,
"The message is broadcast by the power-management driver to each window returned by the EnumWindows function."
|
|
|
|
|
Hi,
my CString read like this one is ready||
I want to extract the first word (i.e) one .I tried Right,Left,Mid but i could not get the correct word.
P.S: the number of characters in the string may vary to different length.But i need to extract first word that is characters which are appear before a single space.
Any function to extract this?
Anu
|
|
|
|
|
You could use str.Find(' ');
It will return an int.
Like:
int n = str.Find(' ');<br />
CString strFirst = str.Left(n);
this is this.
|
|
|
|
|
CString csTest( "one is ready||" );
int nIndx = csTest.Find(' ');
MessageBox( csTest.Left( nIndx ));
Rgds
RinuRaj
|
|
|
|
|
|
ok for saying it's not good, but explain your thought...
|
|
|
|
|
A more flexible way:
CString strDelimiters = _T(" \t\r\n");
CString strText = _T("one word ready||");
CString strFirstWord = strText.Left(strText.FindOneOf(strDelimiters));
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
Anu_Bala wrote: Any function to extract this?
This is a good job for AfxExtractSubString() .
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi,
We'd like to run a PowerPoint slideshow at the first time our application is started. Does anybody have an idea how to run the slideshow from within the application?
Thanks a lot in advance.
Snir yarom.
|
|
|
|
|
You could use ShellExecute() to run the show.
E.g.
ShellExecute (NULL,"Open","c:\\a.pps",NULL,NULL,SW_SHOW);
You can do this in InitInstance() etc of your application.
this is this.
|
|
|
|
|
Cheers.
If i want to run the pps slideshow only once i need to registr a bool value (bool firstTime) in the registry. And to check its vaule each time the app starts.
How do i read/write from/to the register this bool value ?
Thanks in advance.
|
|
|
|
|
|
|
search for using a powerpoint automation in your application.
ShellExecute() wont work for you as it opens the .ppt or the .pps file, but into an external app.
|
|
|
|