How to fill your hard drive up with random bits on Linux
You have probably read about how when you delete a file it isn’t actually deleted, only the pointer which tells the OS where to find the file is deleted. As people who want to ensure that our data is as secure as possible we don’t want those files just lying around waiting for someone to find your deleted porn stash sensitive files 😉
You may ha...
Create a bit for bit backup of a default installation
So if any of you are like me you find yourself re-installing Windows/Linux every few months to keep it all nice and clean and get rid of any crap that I’ve picked up since the last install.
If you are then you’ll know the annoyance of having to re-install all your software etc. so I decided to create a tutorial for those people who are like me ...
Response.Write from within a class
In developing websites in ASP.Net I frequently use Response.Write to debug the code behind, but when using classes you cannot directly access Response.Write.
The method of performing Respone.Write from within a class is to do the following;
HttpContext.Current.Response.Write("Your text")
Creating multi panel interface easily
So if you’re like me you want to produce applications which look as professional as possible. One way that we do this is to use many
different panels to display the different pages of content on one form.
In this article I will discuss one method of making this process easier at development time.
The method that I am now using is to have a Tab...
List of really useful Windows command prompt commands
This is a list of command lines for Windows that I have found really useful.
I will be updating this list when I find other command lines that I have found useful. If you know of any command lines that you think should be included in this list but I haven’t includeded then please feel free to let me know and I will add them to the list.
appwiz...
How to create a Die in code
Something that people sometimes want to do is create a Die in code, I thought I would supply code on one method of doing this.
Public Class Die
Private Shared rndGen As New Random
Private _numFaces As Integer
Private _curValue As Integer
#Region "Properties"
Public Property NumberOfFaces() As Integer
Get
Retu...
Folder/Forum layout system
Recently I was asked to create a web based document repository, where the user wanted to be able to have folders and sub-folders. In this article I’m going to explain the method that I used to allow for there to be folders which can go on theoretically indefinitely, this system can be used for a forum system as well to allow for a forum to have ...
VB.Net detect Windows shutting down or logging off
If you’ve ever developed an application that minimises the application when the user closes it, you will know that the application can stop Windows from shutting down or you from logging off.
There is a bit of nice simple code that stops this from occurring.
Private allowClose As Boolean = False
Private Sub Form1_Load(ByVal sender As Object, ...
97 post articles, 13 pages.