xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
> Im Looking For Visual Basic Tutorials/source Code
yaazz
post Feb 13 2004, 09:36 PM
Post #1


X-S Freak
*****

Group: Members
Posts: 1562
Joined: 27-April 03
Member No.: 34764
Xbox Version: unk
360 version: v1 (xenon)



Ive recently started playing around with Visual basic 6.0 and I need some source code to further my learning. Anyone got any?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
dazdastardly
post Feb 14 2004, 05:19 PM
Post #2


X-S X-perience
**

Group: Members
Posts: 334
Joined: 7-March 03
From: England!!
Member No.: 26397



tic tac toe and calculators are both a fantastic introduction into control arrays and other things, they'd be a fantastic way to start beerchug.gif

CODE

Option Explicit
   Dim circles As Boolean

Private Sub cmdreset_Click()
   Dim index As Integer
   For index = 0 To 8
       panel(index).Picture = imgblank.Picture
       panel(index).Enabled = True
   Next index

   circles = True

End Sub

Private Sub Cmdquit_Click()
   End
End Sub

Private Sub Form_Load()
   circles = True
End Sub


Private Sub panel_Click(index As Integer)

If circles = True Then
   panel(index).Picture = imgcircle.Picture
   circles = False
Else
   panel(index).Picture = imgcross.Picture
   circles = True
End If

   panel(index).Enabled = False

End Sub


This is some basic code for tic tac toe i did, obviously there aint no forms so, im not sure how helpful this would be. but it might give you some idea. Also im not a profesional programmer nor a very good amatuer one at that, so take what i say with a pinch of salt... could be teaching you bad techniques smile.gif

This post has been edited by dazdastardly: Feb 14 2004, 05:28 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post







Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 25th May 2013 - 08:50 AM