Source Code

the Source of your life

[VB.NET] Receive Telegram messages

You have a Bot Telegram but you do not know how to read messages? Telegram, what do I need? 1- you must have a bot telegram, This post show you how to create a bot and send messages 2- Bot... Continue Reading →


[VB.NET] Convert String Date to Date without using Culture

The normal data conversion depends on system language and/or date format. you use this brief code if you do not want to manage the culture.

[CONSOLE] Install/Uninstall Windows Service

If you’re developing a Windows Service by using the .NET Framework, you can quickly install your service application by using a command-line utility called InstallUtil.exe. I usually use two bat files the first one for installation and the second for... Continue Reading →

[VB.NET] Autorestart Windows Service

In this brief code I show you how Auto Restart your Application windows service Open Microsoft Visual Studio and create new Service Project, identifies Service.vb and past this code you identifies OnStart Event and add Compile project and install it... Continue Reading →

[VB.NET] Convert Hex String to Byte Array

In this brief code I show a method of conversion from string of hex data to array of bytes. input string: shex = "00010A" return: array of bytes 0,1,10

[Arduino] How to read Ambient temperature with LM35

Arduino MCU have a six Analog Input in this brief post, I show you how to read Ambient temperature by LM35, it is connected with Analog Input pin A0.

[CONSOLE] Move All Files from source directory to another using Wildcard

Sometimes it may happen to want to move many files from one location to another, for do this, I use these command line, filtering by a specific extension of file, we open cmd.exe and digit these row: first row, change... Continue Reading →

[SQL] How to change fromdbo schema to todbo

In this post I show you how to change a schema of your table. Open Microsoft SQL Server Management Studio, Create new query and past this code you substitute toschema with your new schema value and fromschema with old schema.... Continue Reading →

[C Language] Function to return string

In this post I will show you two method to return a string from a generic function. First one method use a variable global as string Second one method, used an argument of a function as char pointer How this... Continue Reading →

Blog at

Up ↑