{ Learn Code. Share Code. Teach Code. Love Code. }

  • Search

  • Search it up!

Search found 1811 matches

 Go to advanced search

Re: It's the end of the world as we know it!

 by Cheatmasterbw ¦  Wed Dec 19, 2012 11:10 am ¦  Forum: Codenstuff boardroom ¦  Topic: It's the end of the world as we know it! ¦  Replies: 23 ¦  Views: 477

I doubt it'll happen. I've been through a lot of end of the worlds already, and I don't think it'll be different this time around. :P
Here's a good video explaining why the world won't end:

I wonder when the next end of the world date will be...

Re: help me

 by Cheatmasterbw ¦  Sun Dec 16, 2012 6:14 am ¦  Forum: Coding Help & Support ¦  Topic: help me ¦  Replies: 8 ¦  Views: 237

smashapps wrote:...
Code: Select all
RichTextBox1.Text = TextBox1.Text
...
If that doesn't work, try this:
Code: Select all
dim startText as String = "PageGate is an SMS messaging server application..."
Private Sub ReplaceText() Handles Button1.click
    RichTextBox1.Text = startText.replace("PageGate", TextBox1.text)
End Sub

Re: Hungarian Notation

 by Cheatmasterbw ¦  Tue Dec 11, 2012 10:53 am ¦  Forum: Tutorials ¦  Topic: Hungarian Notation ¦  Replies: 2 ¦  Views: 354

This is how I was taught to name things. One thing that I do that is not on this ls btn for buttons (like btnAwesomeButton)

Re: Tetris - Need Testers

 by Cheatmasterbw ¦  Mon Dec 10, 2012 3:07 am ¦  Forum: Work in Progress ¦  Topic: Tetris - Need Testers ¦  Replies: 11 ¦  Views: 508

I uploaded beta-29 (I added sound and fixed a few bugs) I earned about 26k points and I enjoyed playing this game. Needs a lot done to it but it's really good so far. Some suggestions I think include: - Music - Have built in instructions to tell the users what keys do what such as holding the blocks...

Re: Play MIDI File?

 by Cheatmasterbw ¦  Mon Dec 10, 2012 2:31 am ¦  Forum: Coding Help & Support ¦  Topic: Play MIDI File? ¦  Replies: 4 ¦  Views: 166

That makes sense. I was able to simplify the code you posted: Public Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long Public Sub PlayMidiFile(MidiFi...

Re: Play MIDI File?

 by Cheatmasterbw ¦  Mon Dec 10, 2012 2:22 am ¦  Forum: Coding Help & Support ¦  Topic: Play MIDI File? ¦  Replies: 4 ¦  Views: 166

I'll give that a try.
Also, just a random question, what's the difference between a module and a class?

Play MIDI File?

 by Cheatmasterbw ¦  Mon Dec 10, 2012 1:51 am ¦  Forum: Coding Help & Support ¦  Topic: Play MIDI File? ¦  Replies: 4 ¦  Views: 166

I know I can use My.Computer.Audio.Play() to play a wav audio file, but that doesn't work with MIDI files. Is there a way I can play a MIDI file (or any other audio file) without using the WindowsMediaPlayer control, and without extracting the resource from the exe?

Thanks!

Re: Windows 8 forms

 by Cheatmasterbw ¦  Sun Dec 09, 2012 4:20 am ¦  Forum: Codenstuff boardroom ¦  Topic: Windows 8 forms ¦  Replies: 3 ¦  Views: 127

The only other way I can think of is to draw the title on manually, but it's pretty complicated.
http://www.codeproject.com/Articles/100 ... ws-7-Vista

Minesweeper - Anything else I can do here?

 by Cheatmasterbw ¦  Sun Dec 09, 2012 4:16 am ¦  Forum: Codenstuff boardroom ¦  Topic: Minesweeper - Anything else I can do here? ¦  Replies: 0 ¦  Views: 65

I tried playing minesweeper in expert mode, and I think I'm stuck. For about 40 minutes I got a square by slowly proving where mines could and could not be. Now i'm wondering if it's possible to prove any more squares, or if I need to start guessing. Here's my game so far... http://i48.tinypic.com/w...

Re: Tetris - Need Testers

 by Cheatmasterbw ¦  Sat Dec 08, 2012 1:18 pm ¦  Forum: Work in Progress ¦  Topic: Tetris - Need Testers ¦  Replies: 11 ¦  Views: 508

Yup, that is a bug. The problem is that a few variables are null (because the game didn't start yet)
Thanks for the input! :D

  • 1
  • 2
  • 3
  • 4
  • 5
  • 182