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

Posts

Let's code!

202 total · page 13 / 21

MySQL Without Loops (One Script).

Here I will provide some examples of useful MySQL queries that I think many people may find useful. At least, when I was looking for such information, I couldn't find anything worthwhile. So I came up with it myself. The data queries will help save time and not write procedures for data processing, which work much slower, or help make these procedures significantly faster. Queries show how in MySQL you can make changes to records in a table, with iteration over all necessary values and with checking necessary conditions but without any loops, only using MySQL means in one query.<br><br><b>So let's get started:</b><br><br>Inserting data from a query into a table:<br><br>

24 views 0 comments 0 likes ./Read →

How to Teach a PDA to Play WAV Files in .NET CF

A mobile device with .NET CF version 3.5 (and hopefully higher) support can be easily taught to play media files in the .WAV format. From this version, .NET CF has the necessary set of functions for playing sound files. Without further ado, I will provide simple examples.<br><br>Two examples of playing a sound file:<br><br>Example #1

17 views 0 comments 0 likes ./Read →

Errors in Compiling Smart Device Setup Project and Their Treatment.

So — when creating the .cab file for the first time, there may be an error when installing on a device, and it is likely to occur: The Windows CE CAB Wizard encountered an error. See the output window for more information. To understand what's going on, we look at what's really complaining about. We open: View->Output. There, we see this: Error: The INF file contains Unicode characters that could not be converted correctly to ANSI. The problem (in my case) was that in the project properties, Manufacturer was written in Russian. I changed it to English and everything started working fine.

22 views 0 comments 0 likes ./Read →

Working with PostgreSQL in C#

Not long ago, I started developing an application on C# based on PostgreSQL, and I'd like to share the information I've found. In this article, I'll describe what you need to connect to PostgreSQL from an application written in C#, and how to work with it using examples. ...

722 views 0 comments 0 likes ./Read →

Working with MySQL in C#

I hope this publication will not give readers the opportunity to repeat my mistakes and help make the initial correct choice. First, I would like to start with a strong recommendation: "When programming under .NET, always use MySQL .NET Connector!". Of course, you can connect to the database using ADO, but this is fraught with the fact that you will simply need to make changes when switching to Windows Vista and above.

47 views 0 comments 0 likes ./Read →

Good Joke Life.

One day, a Russian and a German company agreed to hold joint competitions in rowing on eight-man boats. Both teams trained hard and when both were at their peak, they held the competition, but… The Germans won with a 1 km advantage. After the defeat, the Russian team was demoralized. The top management decided to find out the reason for the failure. A working group was created to prepare proposals for changes and restructuring in the team. After many weeks of research, it was established that in the German team, seven rowers and one coxswain… and in the Russian team – one rower and seven coxswains! The top management of the Russian company attracted a consulting company to prepare and conduct the restructuring of the team. Having received a solid fee and introducing KPI, SPC, and ISO 9001 indicators, and conducting marketing research, the consulting company came to the conclusion: Too many employees in the Russian team give orders and too few row….

17 views 0 comments 0 likes ./Read →

Storing Passwords in a MySQL Database

The simplest way to store passwords in a database is to place them in a user table in the open field, for example, in a field with a VARCHAR type. But with such an approach, in the event that the database falls into the hands of an attacker, all passwords will be 100% known to him...

214 views 0 comments 0 likes ./Read →