Source Code

the Source of your life

How to format XML data in Notepad++

In this Post I show you how to install XML plugin and how to use it Open Notepad++ and show Plugin Manager Select XML Tools and click Install Open your desiderate xml file: and click CTRL+SHIFT+ALT+B or select Pretty Print(XML... Continue Reading →


[VB.NET] Get UNC path of a network drive

UNC, it is acronym of the Universal Naming Convention is the naming system used in Windows for accessing shared network folders on a local area network I use this code to obtain UNC path from local Name drive path: Create... Continue Reading →

How to fix Error 481: Invalid Picture

If your Application shows you Error 481, close it and click Windows+R to show the "RUN" box and type %Temp% like the following Picture: and click ok, it will open Temp Directory, now find the oldest files and delete them.... Continue Reading →

[VB.NET] Telegram Send and Receive a Document File

In this brief post I show you how to send and receive a file from telegram app, before reading this post You must read this Post If would you like to send a document file, you must invoke sendMessageFile Function... Continue Reading →

[SQL]How to know structure of your database

In this brief code I show you to know structure of your database and this is my result of query: see also: Change db schema

[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 →

Create a free website or blog at

Up ↑