Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
Unable to load portions of the website... If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
This was something I wrote about 6 years ago. This was originally more or less for Window XP since it didn’t really have this feature. It never really worked the way I had wanted it to. I decided to go back and re-write it in the hopes that someone may find it useful.
The code as is isn't...
This was something I pulled from a test program I was messing with. I was writing an application to send some information to a remote database and to prevent "flooding" I could write in a captcha. Granted I would never include this because of how simple it is, it was rather easy.
First off our...
This was a problem I ran into with using MDI parents /children forms. You could open the same form over and over and it soon became a mess. The code below will check to see if it already exists and if it doesn't assign the new form as a child to the mdi parent form and open it.
//Code that...
This is coming from another project of mine that I never quiet finished but figured it could be used for a useful guide. In this post I am just doing buttons but you can really do the same thing for any control.This is going to be pretty lengthy because I am just taking code straight from the...
Starting to port most of my code over from my VB projects and figured some people might find some of this useful.
These aren't guides and I'm not really going to explain anything (The vb versions do that and I will link those here)
Source code is included in a link below.
using...
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.Sockets;
namespace CSharpCheckingOnlineAvailabilityIPPort
{
public partial class...
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 I did manage to get it to work and I figured I'd...
This kinda works much like Task manager except in this example you can't end the process / service. I do plan on actually making a slimmed down version of task manager in the future so those who get infected with malware and lose rights to use it will still be able to find out what is running...
Well oddly enough when you text a cell phone it's like emailing someone, in a sense that it actually uses an email address.
This is some sample code from my SMS spammer I made a long time back:
To get this started you need to do some imports at the top of your form or class:
Imports...
Now I'm sure there are more then 1 way to do this (and possibly easier ways) but this is just one way I figured out how to update software with just a text file.
Ive used it for a few projects and did notice some problems with the code, of which I will also go over so you don't end up with a...
Well this was something is something from a program I wrote years back. Basically the user would put in a number and the program would then convert it to seconds and then begin the count down.
So to get this started, either drag a timer control over to your form or create one through code(not...
This is a piece from my Final fantasy 11 Configurator that I made back when I used to play the game.
Start off with the imports:
Imports Microsoft.Win32
We'll now make a registrykey variable
Dim FF_key As RegistryKey
Now we will make sure the location want it stored in that variable...
A while back I was making a launcher for a game server I was working on. And in order for the launcher to launch the game it had to go out and check to see if the servers were even online to begin with. Well I'll show you how I did that here:
We'll start with the imports
Imports...
Already stated what it is for. Maybe not a good example but let's say you just created a new database and had some data already and you wanted a quick way to import it. Well this could be that solution.
This was something I came up with when I had to update a table from a spreadsheet.
This does not take into account of parameterizing your inputs or sanitizing them. This was just a quick and dirty way of importing data from a spreadsheet to a SQL database
I dumped the data into a table...
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 would be fine.
Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hWnd As...
This site uses cookies to help personalise content, ads personalisation, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.