in VC# or VC++ pls give some sourse code or methods to generate the installed application list from a remote system...and to invoke an application from that list... its a part of my prog..(i am doing the project in Visual)
in VC# or VC++ pls give some sourse code or methods to generate the installed application list from a remote system...
Reading from HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall, remote or local, is easy enough, but that list is only as good as the programs that installed them. In other words, there's no way to know of all programs that are on a system.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
It is recommended you use try/catch rather than __try/__finally.
Since DataMember is declared outside the try block, it is accessible in the catch block also.
If it were declared inside the try block, then you wouldn't be able to delete it in the catch block.
«_Superman_» I love work. It gives me something to do between weekends.
pEncoderParameters.Count = 1;
pEncoderParameters.Parameter.Guid = EncoderCompression;
pEncoderParameters.Parameter.Type = EncoderParameterValueTypeLong;
pEncoderParameters.Parameter.NumberOfValues = 1;
// Save the image as a tiff with RLE compression
ULONG compression = EncoderValueCompressionRle;
pEncoderParameters.Parameter.Value = &compression;
st = prfimg->Save(L"i:\\m\\img.tif", &encoderClsid, &pEncoderParameters);
getting value of st as InvalidParameter and the image is not saved properly on disk(saved image size on disk is 1KB)
Please tell if something more needs to be done to save tif image with Rle compression.
Other compression options gives the same InvalidParameter result.
Thanks and Regards.
Last Visit: 31-Dec-99 18:00 Last Update: 28-Jun-16 4:50