|
|
|
|
|
| | Total Hits: 24 | Today: 0 | Author: Nitin Kunte | Rating:  |
| |  Whenever I download images from my digital camera, they are named as Image_001.jpg, Image_002.jpg, Image_003.jpg... and so on. I wanted to get rid of the "Image_" from the file names. I tried using the "REN" or "RENAME" command in MS DOS. However, I quickly found that this command would not let me strip characters from a file name. It will allow me to change the file names in bulk or increase the characters in bulk but would not let me remove a few characters in bulk. That is when I thought of w... |
| | Total Hits: 19 | Today: 0 | Author: Nikhil Doshi | Rating:  |
| |  The aim is to create an application that helps us retrieve the name of an object (e.g., Username) and its domain name, provided the SID of the object is available. The SID has to be in the ?S-1-5-21-39?.? format.
The application also is useful to fetch the SID of the object if the name of the object (e.g. Username) and the system name are available.... |
| | Total Hits: 1 | Today: 0 | Author: Greenhippo | Rating:  |
| |  There are times we want to alter how a method is invoked without adding additional code into the method itself, either because the methods are a part of third party libraries or the additional code is out of place within the methods execution. It may be that we want to log the method calls, check for permissions or even cache results, these behaviors are not specific to individual methods and we would want the same behavior over multiple methods. Proxies provide a layer between calling a method ... |
| | Total Hits: 2 | Today: 0 | Author: DaveyM69 | Rating:  |
| |  A question was posted here[^] that aked a simple question about pointer aritmetic that required an equally simple anwer, but lead me to thinking that a wrapper around System.IntPtr that contains some basic arithmetic would be a useful thing to have to hand, so I knocked up this simple struct.... |
| | Total Hits: 15 | Today: 0 | Author: Arthur Liberman | Rating:  |
| |  SolutionConverter will convert a complete Visual Studio solution from one version to another; it allows you to convert your solutions to both older and newer versions. Currently, Visual Studio 2005, 2008, and 2010 are supported, including Visual C# Express and Visual Basic Express editions. Visual C++ project conversion is not yet supported.... |
| | Total Hits: 6 | Today: 0 | Author: PIEBALDconsult | Rating:  |
| |  I originally wrote this code and article for the Code Lean and Mean[^] contest. The code presented in the first version of this article was specialized for working with strings (lines of text files). This version of the article presents a generic diff engine that can be used with characters, strings, or just about any other type. The included demo program still does a line-by-line diff of two text files.... |
| | Total Hits: 10 | Today: 0 | Author: Rocky Moore | Rating:  |
| |  ShowWindowTree is a utility like Spy++ that will display the window hierarchy by class name and text values of your current system. It does not only display them, but will allow you to make some modifications to windows along with the ability to saving the order to a file to pull back in at a later time for reference.... |
| | Total Hits: 15 | Today: 0 | Author: peterchen | Rating:  |
| |  PathBreaker is a small WTL application where you can paste (or enter) a multiple path string (like the PATH environment variable), and edit the individual paths.
When toying around with the batch build of a larger application, I was incredibly annoyed by the editing of environment strings, like the PATH or INCLUDE variable. Visual Studio provides a nice interface for its internal strings, but nothing that works stand-alone.... |
| | Total Hits: 27 | Today: 0 | Author: anand choubey | Rating:  |
| |  inet_addr and inet_ntoa are already available for IP address processing. Here, I put the same functionalities for MAC address.
This code snippet converts MAC address string into bytes array and bytes array into MAC address' string.... |
| | Total Hits: 24 | Today: 0 | Author: Mladen Jankovic | Rating:  |
| |  It is common thing to pass binary data through text-based protocols. One way to manage this is by using Base64 coding.... |
| | Total Hits: 25 | Today: 0 | Author: Andriy Tylychko | Rating:  |
| |  Logging is a fundamental technique in programming. Sometimes it's the single available diagnostic tool. No surprise there're a lot of different logging libraries. They provide logging to different kind of targets most of them you never heard about, dozens of log categories (like "warning", "serious warning", "almost error", "critical error", "the end of the Earth"), comprehensive configurations and output formats, vertical takeoff (I'm sure I remember one such log-library), etc. And I'm sure the... |
| | Total Hits: 20 | Today: 0 | Author: Attila Kúr | Rating:  |
| |  I think more and more people are using some kind of online file storage nowadays. This type of storage makes your private files accessible from any computer and most people are perfectly satisfied and comfortable with it. At least those lucky ones who are not limited by some fixed enterprise security policy restrictions that prevent them from using popular services like GDrive, SkyDrive, DropBox, Mozy, WebDAV, etc. If you happen to be one of them, being perfectly happy using these services, then... |
| | Total Hits: 50 | Today: 0 | Author: Ruiying WANG | Rating:  |
| |  I was trying to render an X3D file with OpenGL as a Firefox plugin. I know there are many such X3D file viewers, but mine intends to handle the haptic field... well, this sample is just a by-product.... |
| | Total Hits: 26 | Today: 0 | Author: Eitsop | Rating:  |
| |  This article explains the use of the System.Reflection namespace classes to enumerate what classes have been derived from a selected base class at run-time. Instances of the derived classes are then created and stored in an array. The array can then be enumerated for a suitable class instance by an alternative implementation. This is useful if you wish to derive classes from a selected base and not have to tie them directly into code. Ensuring that they are derived from a single base class allow... |
| | Total Hits: 136 | Today: 0 | Author: Prashant K Singh | Rating:  |
| |  In this article I describe the usage of the FileSystemWatcher object provided by VS 2008 (note: This object is same as the one in VS 2005), using C#. The application created here can be used to monitor any file or directory on your system. The generated change list contains notifications for creation, deletion, update or renaming of the file/directory content.... |
| | Total Hits: 124 | Today: 0 | Author: Davy Mitchell | Rating:  |
| |  There are many programs to display headlines from websites but who needs another app burning up resources! You can read the headlines from Visual Studio with this handy macro. The fact that it looks like code helps too - easier to hide than a web browser at work. I joke.... |
| | Total Hits: 91 | Today: 0 | Author: Sheez08 | Rating:  |
| |  Customizing MSN Live Messenger to fullfill one's requirement is a great idea. Micosoft offer great Add-In feature to write the Add-Ins for your MSN Live Messenger. Writing an Add-in with Dot.Net Framework 2.0 is just a piece of Cake. So why dont try eating it. Tell me after eating that it was delicious.....ammm..... |
| | Total Hits: 60 | Today: 0 | Author: zenox | Rating:  |
| |  I was looking for a simple way to calculate the MD5 checksum of multiple files on my computer for security reasons. Although I found programs that could do one file at a time, it would be tedious to go through all of my files. So I wrote a simple utility that recursively checks directory's and files, and outputs their MD5 checksum.... |
| | Total Hits: 39 | Today: 0 | Author: quiensabe | Rating:  |
| |  Is this a famous quote from Shakespeare? Is there a virus asking for my permission to be installed? Is there quick brown fox jumping over a Chinese dog? Most programmers pretend to speak a couple of languages, program languages, but are ignorant of the spelling rules in Kannada (spoken somewhere in India), the strokes of the Chinese Mandarin, or German dativ. A lot of users act as if they understand English, but this knowledge is frequently limited to the words: one, two, three...... |
| | Total Hits: 59 | Today: 0 | Author: MarkLTX | Rating:  |
| |  TracerX is an easy to use logger with a powerful viewer that supports filtering by threads, category, trace level, and more. Output can go to a circular log file, event log, console/command window, or Trace.WriteLine(). In addition to filtering, the viewer can collapse and expand the output from each method call and show absolute or relative timestamps. In my experience, these features make diagnosing problems much easier than with plain "flat" text files.... |
|
|
|
|
|
|
|
|
|
|
|
|
|