|
This is a repost of a Quick Answers forum question - I already answered it (or at least tried too).
|
|
|
|
|
If you "find code", then please report to the "lost & found" section. We don't want codez wandering around unattended.
Bastard Programmer from Hell
|
|
|
|
|
I have a requirement , and that is I want to generate a png file without any "ancillary chunks" (like cHRM , sRGB etc) using C#.Net. How do i do it? any suggestions?
Thanks & Regards.
|
|
|
|
|
Perhaps you can email the author of this[^] thread directly? He's offered to provide the code on request.
/ravi
|
|
|
|
|
I need a program when you enter the text
save the text
And
Send the text to my email
If it had access to the Internet to send the text to my email
If not access to the Internet
send text it later
my email
adibkurdistan@yahoo.com
|
|
|
|
|
1) Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know
2) Don't post this in Q&A and here - it's rude and wastes effort.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
please can anybody in the forum help me with C# code that can send and receive SMS via a GSM Modem. I have tried the code posted by Ranjan.D on "how to send and receive SMS using GSM Modem" but for some reasons, it didn't run on my windows 7 system. any updated version of that code will be highly appreciated.
|
|
|
|
|
I can tell you that nobody here is going to hand over code like that.
If you already have code, why not debug it and find out WHY the code won't work on your machine? SMS and a GSM modem is nothing but serial communication. There's nothing special about Windows 7 that would prevent the code from working.
I just looked through the code in that article and there's nothing special about it. It'll work on Windows 7 without modification.
But, since you didn't provide any error messages or what is happening and what it not, VERY SPECIFICALLY, it's impossible to tell you what the problem is in your specific case.
|
|
|
|
|
HH.exe is the Microsoft Windows XP 's Primary Help Application.
If you Start MSDN directly, you will see a hh.exe process listed in taskmgr.exe
But, when you start help from VCpp or UltraEdit or InternetExplorer, hh.exe is NOT listed in the taskmgr.exe.
How can I create new a process from my program, and HIDE it from taskmgr.exe? I mean NOT only hh.exe, but any program other than hh.exe!
The C++ code clip would be great!
|
|
|
|
|
cyysoft wrote: How can I create new a process from my program, and HIDE it from taskmgr.exe?
You can't. Hiding a process from Task Manager is no possible.
cyysoft wrote: But, when you start help from VCpp or UltraEdit or InternetExplorer, hh.exe is
NOT listed in the taskmgr.exe.
You're assuming that HH.exe is still being used. That's a silly assumption. What possible purpose could MS have to hide HH.exe from Task Manager??
|
|
|
|
|
cyysoft wrote: If you Start MSDN directly, you will see a hh.exe process listed in taskmgr.exe
But, when you start help from VCpp or UltraEdit or InternetExplorer, hh.exe is NOT listed in the taskmgr.exe.
First time it's started as an executable. Second time it's loaded as a DLL in the process that's already there.
Bastard Programmer from Hell
|
|
|
|
|
I think you are right.
Did any one know that:
Is SnagIt Providing the ways of Loading as a DLL?
And, How can I load SnagIt as a DLL from my code?
|
|
|
|
|
The executable has to be specially written to provide such functionality. You cannot load just any .EXE you want as a library.
|
|
|
|
|
I have a Format8bppIndexed image . I tried to modify the palette using the below code.
ColorPalette pal = bitmapImage.Palette;
for (int i = 0; i < pal.Entries.Length/2; i++)
pal.Entries[i] = Color.FromArgb(255, 255, 255);
bitmapImage.Palette = pal;
but the somehow this change in palette does not affect on the image when i save the Image using
bitmapImage.Save("filepath");
How do I make the change in palette affect the image.
|
|
|
|
|
|
We have a web service which is deployed which is beyond Microsoft TMG. If I try to POST the SOAP data using HttpRequest I am able to get the response. The problem is I am unable to access the same though the client accessing the web service (I believe the TMG is rejecting). I tried the below steps to pass the authentication
1) Passing credentials using Network Credentials
2) Passing Credential Cache using BASIC authentication
3) But trying to post the HTTP using Fiddler it works.
Is there any option that I can get the response back to client from web service.
Thanks In Advance
|
|
|
|
|
I need to do the following:
1) Get a list of my friends from Facebook.
2) Pick one and send a message
I will be doing this in a Metro app. I have zero experience with Facebook. Can someone point me in the right direction?
Thanks
Everything makes sense in someone's mind
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hello,
Win 7 - 64-bit Windows Form App
Did a clean and rebuild on the sln but the program crashes on the StreamReader line. The file is definitely there and in the correct place. Anything wrong with this call?
public static class BOBroker
{
public static string GetClassDefsXml()
{
StreamReader classDefStream = new StreamReader(
typeof(BOBroker).Assembly.GetManifestResourceStream("WCM.BO.ClassDefs.xml"));
string _classDefsXML = classDefStream.ReadToEnd();
classDefStream.Close();
return _classDefsXML;
}
Thanks, DKH
|
|
|
|
|
what is the error?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Furthermore, I don't understand why people tend to code several lines to read all of a text file, when there is a single-line solution in
string allTheFilesText=File.ReadAllText(path);
|
|
|
|
|
Luc Pattyn wrote: I don't understand why people tend to code several lines to read all of a text file
With respect, Luc, you once admonished a poster that he was supposed use a loop to read all of a file because "that's what streams are for."
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I'm all in favor of streaming data, especially when the amount of data can be large and there really is no need to have it all in memory at once; streaming then means having an explicit loop of input-process-output, dealing with a fraction of the data at a time.
When the amount of data is known to be really small, or there is a need to have it all at once, then one can rightfully decide not to stream, and to read or write all in one go; but then I insist on taking the easiest way to do that, which is by using a single File method.
Using a stream class to not stream the data just does not make any sense. StreamReader.ReadToEnd() gets abused over and over, almost as much as String.ToString() .
|
|
|
|
|
It's a resource, not a file, in this case.
|
|
|
|
|
My mistake, sorry.
|
|
|
|