MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 08-03-10, 07:54
pclover's Avatar
pclover pclover is offline
Major Geek
 
Join Date: Nov 2006
Location: Santa Cruz,California
Posts: 1,929
Thanks: 11
Thanked 161 Times in 159 Posts
Default My first program

This is what happens when you have to much free time.

You can beep your pc speaker with a custom frequency and delay. Also added an option to hide it to mess with people. Hide from task manger but not processes.



Code:
Public Class Beep

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        System.Console.Beep(TextBox1.Text, TextBox2.Text)
    End Sub

    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click

    End Sub

    Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Enabled = True
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Enabled = False
    End Sub

    Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Me.Hide()
        ShowInTaskbar = False
    End Sub

    Private Sub Beep_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class
And yes, It is buggy it throws exceptions when I'm trying to learn to solve since there is many exceptions.
__________________
No Comments...
Reply With Quote
Sponsored links
  #2  
Old 08-10-10, 05:06
Caliban's Avatar
Caliban Caliban is offline
I don't need no steenkin' title!
 
Join Date: Sep 2009
Location: The Sunny South
Posts: 5,332
Thanks: 530
Thanked 1,160 Times in 1,046 Posts
Default Re: My first program

...

Sweet!

...
__________________
Constantly Sharpening Occam's Razorô
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
security program blocking safe program red death68 Software 5 02-11-09 17:14
Not comp. saavy, new, ? w/control program-is this a real program? palmgirl Software 4 02-18-08 18:42
End Program - sgtray.exe (program not responding?) db cooper Software 3 12-18-06 23:26
Good Contacts Program outside of Email Program SRBast Software 0 11-16-06 13:31
Manager, client program and agent, server program concepts zillah Hardware 2 03-19-06 11:01


All times are GMT -5. The time now is 09:16.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds


All content Copyright © MajorGeeks.com source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger