Ok, currently the BTC is 68 491,28 USD and instead of feeling bad for not buying it, you can try to simulate it the mining process with Python just for fun. It is an interesting way to have fun, but…
Hi there, if you ever need a quick renamer of files in forlders – that is the VBA code you may use:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
Option Explicit Sub ChangeNames() Dim fso As New filesystemobject Dim fol As Object Dim fil As Object Dim counter As Integer Dim digit As String Dim sname As String Set fol = fso.GetFolder("C:\Users\chinese") For Each fil In fol.Files counter = Len(fil.Name) Debug.Print fil.Name digit = Left(fil.Name, counter - 4) sname = digit & "_Chinese.mp3" fil.Name = sname Debug.Print sname Next End Sub |
What it does? It enters the directory “C:\users\chinese” and renames any file there adding “_Chinese” to its…
In the current article I proudly present a simple application, which creates a simple Excel file from XAML. In the example I present I am using Excel 2010 as this is my current version. In order to be able to…
In this article I present a code from the book “Pro WPF 4.5. in C#“, which I consider useful and interesting. The application concerns building a simple program where you may ask a yes-no question and get a random answer.…
In this article I present the combination of a drop-down menu and audio in a WPF application. Simply, the application’s logic is the following – you select one media file from a drop-down list and then you play it. The…