Universe Guide Blog Archive 2

How to do Case Sensitive Searches in SQL Server13th March 2022 1:17 PM
Searches in SQL Server are case sensitive but it is possible to carry out Case Sensitive searches using an additional command in the SQL and is very easy to understand. Read More...

How to write protect or unprotect a file using C# or VB.NET12th March 2022 7:46 PM
How to write protect a file so that it cannot be accidentally deleted. Examples in both C# and VB.NET on how to write protect and unprotect a file. Read More...

How to delete a folder and its contents using C# or VB.NET12th March 2022 7:09 PM
Deleting a folder and its contents is easy by using one line but what if you need to delete a folder which has write protected files in it as well. Read More...

How to shutdown or restart the computer using C# or VB.NET12th March 2022 6:04 PM
How to start shutdown or restart a PC using .NET without using any direct windows system calls. Example in both C# and VB.NET. Read More...

How to do Error Handling in Javascript10th March 2022 7:21 PM
A simple example of how to use structured error handling in Javascript. Read More...

How to generate a random number in .NET10th January 2022 6:28 PM
How to generate a random number in .NET. Its easy, you instantiate an object to generate the value now rather than using a language keyword. Read More...

How to round a number in .NET9th January 2022 8:45 PM
How to round a number up or down using .NET. By default, a 5 will be rounded down but it can be forced to be rounded up without complications. Read More...

How to get the Location of the "My Documents" folder using C#9th October 2021 7:56 PM
The location of the "My Documents" folder can change between versions of Windows, but there is a function that will tell you the location for the current version of windows. Read More...

How to use Interfaces in C#29th September 2021 2:23 PM
Example on how to use interfaces in C#, both simple and multiple interfaces and how to best utilize them in a generic list collection. Read More...

How to get a Connection String from Web.Config or App.Config in C#29th September 2021 12:08 PM
Getting a connection string from a .config file allows a website/program to be easily installed with the maximum of ease. When using .config, you only need to change the file and not the code. Read More...

Older Articles

About... / Contact.. / Cookie...