
Originally Posted by
Hell_Demon
The teachers in school aren't always the brightest guys, more like the opposite, so you'd better not kill svchost or printspool :P
I lol'd @ that sneaky plan tho

Ok, Explorer it is... (no fun...

) But good point, Some teachers read from a book, question is, did you notice any Idiots guide to teaching and learn VB.net in 21 hours, lying around anywhere, If you have...I don't suggest killing explorer, maybe change wallpaper... That could be fun and way less harmful, Make the wallpaper have the students name on it, A message like, I have been stealing other peoples code, and I should be expelled for plagiarism and a form of copyright infringement , and a big red circle that says ...Busted!
Code:
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Public Class frmMain
Inherits System.Windows.Forms.Form
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByVal lpvParam As String, ByVal fuWinIni As Integer) As Integer
Private Const SPI_SETDESKWALLPAPER = 20
Private Const SPIF_UPDATEINIFILE = &H1
Private Sub btnSetWallpaper_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSetWallpaper.Click
Dim imagePath As String = Application.StartupPath & "\icon.bmp" ' which will really be the image that rats him/her out
pic.Image.Save(imagePath, ImageFormat.Bmp)
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, imagePath, SPIF_UPDATEINIFILE)
End Sub
Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim dlg As OpenFileDialog = New OpenFileDialog
dlg.Filter = "Image Files (*.bmp, *.gif, *.jpg)|*.bmp;*.gif;*.jpg"
dlg.Title = "Select the image to load."
dlg.ShowDialog()
pic.Image = Image.FromFile(dlg.FileName)
dlg.Dispose()
End Sub
End class
Ha Ha