|
Hi,
would you be offended if i asked this to other members of the forum? (post a new message about this?)
thanks again for your help
Jimmy
Just cause I am 15, doesn't mean I'm dumb! (I'll really be 4 on Feb. 29...the year 2004)
|
|
|
|
|
Why would I be offended? It's not my forum.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
I really want to know how to make a Winamp Pulgin With C++ ? The Output file type is .dll and get ID3v2 info to the screen ???
|
|
|
|
|
Why don't you try and read the documentation on winamp.com?
Rickard Andersson
Here is my card, contact me later!
UIN: 50302279
Sonork: 37318
|
|
|
|
|
Does anyone know how to make an outlook style treeview where part of the node's text is black and bold, and the other part is blue and non bold. When you look at the folders, if you have any new messages it will look like the following.
Inbox (1)
The "Inbox" is black and bold, and the "(1)" on the same line is blue and normal font.
Been looking all over for some code on how to do this, but i see the same questions and no answers.
Thanks a lot.
|
|
|
|
|
Hello,
is there anybody who knows the command for this? I want to check if a program was shut down by an accident and then start it again (by using CreateProcess).
Thanks for any help
|
|
|
|
|
What distinguishes a program shut down by accident versus one shut down on purpose? Either way, there's no way to detect that if you did not actually start the program. Even then, the shut-down method used is questionable.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi,
I have and good old MFC/ATL application, that uses the Soap Toolkit 2.0 to connect with a web service, All works fine in my machine, but now I need to add the soap toolkit stuff to my installation set...
mmm... which MSI/Exe should I install ? How can I check if it's already installed ? I have downloaded from MSDN "soapsdk.exe" as "redistributable" but "sdk" doesn't seem for non programmer... point of view...
Thanks in advance, greetings
Braulio
|
|
|
|
|
Hi All,
I have an application to download three XML files. Each one of them can be 1 MB or more. that makes my all of the system resources to be taken by it to download the file. I am downloading them from my server. I want to do something like this that i can compare the files local and remote one and if there are any changes i can just copy the changes to the local file. That will save my downloading whole files again and again even if they are same. can i do that. Please help..Any help or pointers are thoroughly appreciated....Thanks a lot in advance..
Regards,
Himanshu
|
|
|
|
|
One solution is to design the internal applications that processes the XML file to update a CRC check output for all the XML files. The client applications could quickly download the CRC output and compare it with the most recent downloaded one.
Kuphryn
|
|
|
|
|
use the "If-modified-since:" header in your request for that file and send the GMT time of the last update date for the file you are requesting. The HTTP server will compare the time that you send with the time of the file and only send back the file on the server if it is newer.
IF your file is newer on your machine, you will get a status code 304 indicating that your file is newer.
Build a man a fire, and he will be warm for a day Light a man on fire, and he will be warm for the rest of his life!
|
|
|
|
|
Hi Paul,
Thanks for the information..But i havent done anything like this before..I would highly appreciate if u can send me any example...of how to do that..Please..I need it urgently...Thanks a lot in advance..
regards,
Himanshu
|
|
|
|
|
Why RasSetEntryProperties() doesnt allow me to manage network components?
Win2000 SP3
I make net RAS entry by RasSetEntryProperties(). But when I open entry i've just created in "Network and Dial-up Connections" I see it with MS Networks Client bounded to this connection entry!
I didnt find in MSDN how I can make him dont do it.
Could anybody advise me?
|
|
|
|
|
Hello everybody, I have this question from the stone age no one answers me the only answer i`ve got use SD but i need dialog based program so any answer far away from SD thank you and have a nice day .
|
|
|
|
|
Printing is really too lengthy a subject to discuss here. Instead, I refer you to Charles Petzold's Programming Windows, Fifth Edition from Microsoft Press.
You can still use the MFC helper classes such as CPrintDialog and CDC .
|
|
|
|
|
|
Hey,
I'll answer you cause I had the same problem about a year ago. I don't really know much about printing though, just gonna tell you what I did.
First off, I'd suggest you go to the Printing section on this website, there are plenty of articles on it, might have just what you need.
Other than that it really depends on what you want to print that's in the dialog. For instance I wanted to be able to print out the contents of a list box, which I was able to find a suitable printing class on this site. I'll go ahead and say that printing from any type of control can be done using a class similar to the one I had. If you're trying to print from something other than a control, can't help you much there.
Mike
|
|
|
|
|
Hello, i tried to use a MS-ChartCtrl to display a 2D-Bar/Line diagramm. After a lot of work, i managed to show the bars/lines. But now I want to change the color of the lines. I searched on a few board but i didn't find a solution.
Some people told to include headerfiles like VCColor etc. But where can I find these files?
Please help me...
|
|
|
|
|
Hi,
I just tried to make an HTML help file by seeing Kruglinski book. but I am getting a warning called "The Topic ID "HID_CONTENTS" specified in the Project files as the Default Topic does not exist". This is very urgent please help as soon as possible.
Thanks in Advance
|
|
|
|
|
What is the correct way?
//error happens.
throw new Exception( "Error Message." );
or
//error happens.
throw Exception( "Error Message." );
What is the difference?
How is the new Exception deleted?
Thank You
Bo Hunter
|
|
|
|
|
Bo Hunter wrote:
How is the new Exception deleted?
It isn't. Or rather, it must be deleted by the catch block.
The method I usually use is something along these lines:
try {<br />
throw BuilderParseException("AIEEEEE!");<br />
} catch (const BuilderParseException &ex) {<br />
}
The BuilderParseException that's thrown will be cleaned up at the appropriate time, and the catch-by-reference avoids a copy.
- Mike
|
|
|
|
|
Its best to throw by value and catch by const-reference:
throw Exception( "Error Message." );
[...].catch (const Exception& e)
{cout << e.what();
}
Who is 'General Failure'? And why is he reading my harddisk?!?
|
|
|
|
|
Does anyone knows how to set power button action in Window2000 & WinXP? I found the API WriteGlobalPwrPolicy() to do that. But, it can't work properly. After I involved this API the return value is nonzero. This is means this API is success. Even so, the system's global power button action doesn't have been change. The following code is my testing code, please help me to check it if it has any wrong. Or, you can tell me any tip to do it.
Testing code:
GLOBAL_POWER_POLICY gpp;<br />
ReadGlobalPwrPolicy(&gpp);
gpp.user.PowerButtonAc.Action = (POWER_ACTION)2;
<br />
if(WriteGlobalPwrPolicy(&gpp) == 0)<br />
TRACE(_T("Failed!\n"));<br />
else<br />
TRACE(_T("Successful!\n"));<br />
ReadGlobalPwrPolicy(&gpp);<br />
TRACE(_T("PowerButtonAc.Action:%d\n"), gpp.user.PowerButtonAc.Action);
Relation resource:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/power_management_functions.asp
Thanks for your help!
Best regards,
Ryan
|
|
|
|
|
I'm afraid I think you've drifted into custom control territory. You'll need to implement this one yourself.
You'll need to be familiar with the Windows drawing model and how to manipulate text and images within that model.
|
|
|
|
|
G'day folks,
I'm attempting to write out a CSV file (don't ask) in a format that can be read by Excel (also don't ask) across Locales. Now, this is fine, I can format the numeric values correctly and then separate them using the locale's list separator. However, it seems that Excel only ever uses the System Locale list separator. That is, if some user overrides their separator (again, don't ask) to ',', Excel doesn't use that, but the original default setting for the locale (in the Italian locale, ';').
Is this behaviour expected? Sensible? A pain in the #$%?
Thanks.
------------------------
Derek Waters
derek@lj-oz.com
|
|
|
|