Posts
.NET Obfuscators
· β˜• 1 min read · πŸ€– Naresh Mehta

As I am working a lot with .NET these days, I was looking for some .NET obfuscators along with their license types, features, URLs, etc. I got a link to a nice URL which gives all the Info at: http://www.csharp411.com/net-obfuscators/

Enjoy & have fun computing…


Multiple HTMLs into a Single Document - MultiDoc2HTML v0.1
· β˜• 2 min read · πŸ€– Naresh Mehta

I was developing a program which allows me to take a bunch of HTML files and put it into a single document. These files need to be put in as rendered in IE and the HTML code tags should not be visible. Still all the links, etc. should be along in the document so generated. Manual way to do it would be to open the HTML files one by one in Internet Explorer or any other browser, press CTRL+A, then CTRL+C, open the word document, go to End of File (EOF) and then press CTRL+V. One of the questions is the use case. Why would I need to do something like this?


Anonymous Pipes in Windows!
· β˜• 6 min read · πŸ€– Naresh Mehta

Recently I had been working on a program to get a set of HTML files rendered in IE and then copy the contents from the IE window to a word document. I wanted to do this in VC++ since it provides very easy access to COM objects like IE, Word, etc. and I have also used it in the past to build BHOs (Browser Helper Objects) and like. VB also supports COM but usually has pretty complex procedures to do minor things. And I forgot about .NET and the wrapper libraries around COM objects which provides very easy access. If I want to do something like that I would better use C# instead. But as it goes, I started coding in VC++. The basic logic of the code is as follows:


GetKeyboardState() & MouseHooks - Not available in Windows Mobile
· β˜• 2 min read · πŸ€– Naresh Mehta

I was writing a small piece of code for Windows Mobile in C# and wanted to use GetKeyboardState() but after a lot of searching around found out that the API is not available. Also Mouse Hooks does not work in Windows Mobile. As simple as this information seems, it took me a lot of time to search and basically validate that information. Of course the various ideas and blog posts out there are pretty confusing and does not allow you to reach to a conclusion easily.


District 9 - A Review...
· β˜• 3 min read · πŸ€– Naresh Mehta

Last night I watched the movie District 9 (D9) and I was positively happy to have invested my time in watching the movie. It deals with quite a lot of issues about human kind, its so called humanity and the plights of so called aliens. In one form or another it shows the fight that exists between one so called well to do community and another. When the story is applied in another context we Β see the same behavior repeated across various factions of the world and society in general.


Exploding IPhones!
· β˜• 1 min read · πŸ€– Naresh Mehta

Sorry to pick on IPhone but I hate cults and iPhone users are one such followers of the cult. Also known as Steve Jobs cult. I think he is a good man but as with all good man, wants to start his own religion ;)

Anyways, the latest in iPhone is Exploding iPhones. Look at the link below:

http://www.eweek.com/c/a/Mobile-and-Wireless/Exploding-iPhones-Are-Latest-Headache-for-Apple-618978/?kc=EWKNLNAV08202009STR4

Now the best part is the EU is giving comments and getting involved into such allegations. I hope they give a kick in Steve Job’s A** as they did with Microsoft. iPhone also has issues with applications such as GV, google voice, etc. and again they do not have a policy of how to accept and reject applications. They do it on their own whim like a dictator and that is what I hate the most about it.


Toggle Power Schemes in Windows Vista
· β˜• 2 min read · πŸ€– Naresh Mehta

It has been a long time that I did any batch programming in Windows (almost 10-12 years). Didn’t find a need for it. But with Windows Vista, I wanted to toggle my power schemes based on whether my baby was watching some videos in youtube or not. I generally want my monitor to turn off in a minute if nothing is happening. At the same time if youtube, etc. is running then the monitor should stay on. I created a power scheme for both these functionalities. Only problem was that I had to follow a long procedure to toggle between them. Right click on my desktop, click Personalize, select Screen Saver, click on Power settings and then the schemes would be visible. And Windows Vista is so good that it hides your most recently used power schemes. So you have to click on the down arrow and select the scheme that you want. Of course you need to close all the windows as well.


Euclids Algorithm...
· β˜• 1 min read · πŸ€– Naresh Mehta

Euclids algo is a nice one to find out the lowest common divisor for 2 given positive integers. I am once again going through Donald Knuth just for fun. Enjoy talking about it and posting your own suggestions / code on the following URL. You can also find my intial code on that link.

http://www.naresh.se/phpBB/viewtopic.php?f=17&t=5

Will keep posting and give you more of this useless (in terms that it does not help me in my daily work and probably will not help you as well, unless you are mathemacian but then you probably have more advanced libraries to carry out such stuff hence I am convinced that it is totally useless) albeit fun stuff.