Category Archives: Programming

MSSQL Sub Query

This is written using Microsoft SQL Server however a lot of this can carry over just fine to other SQL variants with little change. I am also using SQL Management Studio 2016 when writing this query. This can be found … Continue reading

Posted in Databases, MSSQL | Comments Off on MSSQL Sub Query

Wallpaper-Changer (source code)

This version of the wallpaper changer is based on my original code that was written in VB.NET. I chose to re-write this program mainly because the original code was horrible and I’ve been wanting to move a lot of my … Continue reading

Posted in C#, Programming | Comments Off on Wallpaper-Changer (source code)

Sys Clock (Source Code)

Sys Clock is a simple program I wrote to show the current day of the week, Time, and full date. I came up with the idea for this while playing a game that did not display what time it currently … Continue reading

Posted in C#, Programming | Comments Off on Sys Clock (Source Code)

C# Allow only 1 instance of a form to be opened

While working on some programs dealing with multiple forms, I ran into an issue where I would end up with more than 1 instance of the same form being created. This came up when using a form as an MDI … Continue reading

Posted in C#, Programming | Comments Off on C# Allow only 1 instance of a form to be opened

[ASP.NET /VB.NET] Populate a Datagrid view without a database

I wanted to list out some data for a page that wasn’t being pulled from a database but I didn’t want to write out the table and all that. So I dropped a datagridview on to the webpage and wrote … Continue reading

Posted in ASP.NET, Programming, VB.NET | Comments Off on [ASP.NET /VB.NET] Populate a Datagrid view without a database

[VB.NET] MySQL Function to Insert/update/delete with parameters

I wrote this bit of code in a project that I am working on for taking screenshots and uploading them to a remote server. Basically what this does is it accepts the following parameters: SQLQuery as a string Parameters and … Continue reading

Posted in Programming, VB.NET | Comments Off on [VB.NET] MySQL Function to Insert/update/delete with parameters

[VB.NET] Reading and Writing to the Registry

This is a piece from my Final fantasy 11 Configurator that I made back when I used to play the game. We’ll now make a registrykey variable. Now we will make sure the location want it stored in that variable. … Continue reading

Posted in Programming, VB.NET | Comments Off on [VB.NET] Reading and Writing to the Registry

[VB.NET][C#] Multi-thread / Crossthreading Example

Someone was asking how to do multi-threading in the shoutbox and my original example didn’t work because of cross-threads. This basically means I couldn’t set the value of a control within a thread since it’s considered a different process. Well … Continue reading

Posted in C#, Programming, VB.NET | Comments Off on [VB.NET][C#] Multi-thread / Crossthreading Example

VB.NET Detect Key Presses

This bit of code will allow you to detect key presses while the form is not the active window. I currently use this for macros and for my trainer programs for turning on cheats. All you need to have is … Continue reading

Posted in Programming, VB.NET | Comments Off on VB.NET Detect Key Presses

VB.NET Setting an External Program’s Title window

I have been working on making some trainers for some games and I wanted a basic way of showing that a cheat was enabled. I couldn’t figured out how to draw to the screen so I figured the title bar … Continue reading

Posted in Programming, VB.NET | Comments Off on VB.NET Setting an External Program’s Title window