⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/programming $

Development

102 total · page 10 / 11
Subsections

Enabling Vibration in Windows Mobile on C#

Archive - may be useful to someone Most modern phone models support the vibration alert function, so it can be used (for example, in games when explosions occur to add more realism, or when writing communication programs, to notify the user of incoming messages while the device is in a pocket).

16 views 0 comments 0 likes ./Read →

Example of Converting a Color Image to Black and White in C#

There may be many methods for converting a color image to black and white, and possibly even more advanced ones, but for now, the method presented below is the fastest among the ones I know. The conversion uses only standard libraries. The method's essence is not to work with the image itself, but to work with a block of data. If simplified, it's just freezing the image data in memory, modifying it as needed, and returning it to its original state.

103 views 0 comments 0 likes ./Read →

Conditional Compilation in C#

I once had a task to compile a program for different devices. A range of devices in my case have specific capabilities and use special libraries, while for some ordinary devices, these libraries need to be excluded. Of course, you can comment out each time, but there are many inclusions and this approach is quite problematic.

36 views 0 comments 0 likes ./Read →

Working with Excel from C# (archive)

This is the simplest and most primitive example, may be useful, but better to use OpenXML. In this publication, an example of creating and displaying an Excel document from a program written in C# is presented. The most primitive example is presented for educational purposes.

27 views 0 comments 0 likes ./Read →

Making Screenshots in C# under .NET CF (from archives)

Publication from archives, might be useful... Once I encountered the need to take screenshots from a PDA, and I couldn't find any suitable program. Specifically, a simple, small one that doesn't install anything, but works. I decided to write it, spent two hours digging the internet about how to do it - it turned out not to be so simple, only through API on mobile devices.

24 views 0 comments 0 likes ./Read →