Click here to Skip to main content
15,906,333 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralCheckedlistbox control Pin
RBCC16-Mar-04 6:01
RBCC16-Mar-04 6:01 
GeneralRotating Dice Pin
RBCC16-Mar-04 5:57
RBCC16-Mar-04 5:57 
GeneralRe: Rotating Dice Pin
Dave Kreskowiak16-Mar-04 9:09
mveDave Kreskowiak16-Mar-04 9:09 
GeneralRe: Rotating Dice Pin
Anonymous16-Mar-04 9:13
Anonymous16-Mar-04 9:13 
GeneralRe: Rotating Dice Pin
Dave Kreskowiak16-Mar-04 9:28
mveDave Kreskowiak16-Mar-04 9:28 
GeneralRe: Rotating Dice Pin
RBCC16-Mar-04 9:39
RBCC16-Mar-04 9:39 
GeneralRe: Rotating Dice Pin
Dave Kreskowiak17-Mar-04 5:35
mveDave Kreskowiak17-Mar-04 5:35 
GeneralRe: Rotating Dice Pin
FruitBatInShades16-Mar-04 22:35
FruitBatInShades16-Mar-04 22:35 
Heres some code that may point you in the right direction. It is Airware so the syntax will not be correct:-
Class DiceDisplay
  Property Display as PictureBox
  Property NoOfDice as int16
  Property Pips as int16
  Public Sub RollEm
    Dim Roller as DiceRoller(NoOfDice, Pips)
    Roller.Roll
    DrawDice(Roller)
  End Function
  Public Sub DrawDice(ByRef Results as DiceRoller)
    Dim Index as Int16
    For Index = 1 to NoOfDice
      DrawDiceImage(Roller.Results(Index))
    Next Index
  End sub
End Class
Class DiceRoller
  Property Results as arraylist
  Public Sub Roll(ByVal NoOfDice as int16, ByVal Pips as int16)
    Dim Index as int16
    For Index = 1 to NoOfDice
      Results.Add(convert.toint16(rnd(Pips)))
    Next Index
  End Sub
End Class


Definitely a PEBCAK! (Problem Exists Between Keyboard And Chair)
My first ASP.Net site is now up Blush | :O http://www.redravenrpg.com
GeneralControl inside datagrid Pin
BlomEng15-Mar-04 21:43
BlomEng15-Mar-04 21:43 
Generaltext from form1 to form 2 Pin
ineedhelp15-Mar-04 21:35
ineedhelp15-Mar-04 21:35 
GeneralRe: text from form1 to form 2 Pin
Dave Kreskowiak16-Mar-04 2:42
mveDave Kreskowiak16-Mar-04 2:42 
GeneralCurious!All my linkbutton disappeared,why! Pin
BigGirlBigEyes15-Mar-04 19:18
BigGirlBigEyes15-Mar-04 19:18 
GeneralRe: Curious!All my linkbutton disappeared,why! Pin
FruitBatInShades16-Mar-04 22:46
FruitBatInShades16-Mar-04 22:46 
GeneralBecome nuts with ToolBar Pin
sybux200015-Mar-04 11:33
sybux200015-Mar-04 11:33 
GeneralRe: Become nuts with ToolBar Pin
Syed Abdul Khader16-Mar-04 20:21
Syed Abdul Khader16-Mar-04 20:21 
GeneralRe: Become nuts with ToolBar Pin
sybux200017-Mar-04 10:16
sybux200017-Mar-04 10:16 
GeneralRe: Become nuts with ToolBar Pin
Syed Abdul Khader19-Mar-04 21:25
Syed Abdul Khader19-Mar-04 21:25 
GeneralCash Registers Question ! Pin
Member 52593915-Mar-04 10:47
Member 52593915-Mar-04 10:47 
GeneralRe: Cash Registers Question ! Pin
Dave Kreskowiak15-Mar-04 11:12
mveDave Kreskowiak15-Mar-04 11:12 
GeneralRe: Cash Registers Question ! Pin
Wayne Phipps16-Mar-04 8:46
Wayne Phipps16-Mar-04 8:46 
GeneralHide text Tab in a TabControl Pin
sybux200015-Mar-04 8:30
sybux200015-Mar-04 8:30 
GeneralRe: Hide text Tab in a TabControl Pin
Dave Kreskowiak15-Mar-04 9:10
mveDave Kreskowiak15-Mar-04 9:10 
GeneralRe: Hide text Tab in a TabControl Pin
sybux200015-Mar-04 11:29
sybux200015-Mar-04 11:29 
GeneralCopy object from clipboard to file Pin
Member 77096915-Mar-04 6:37
Member 77096915-Mar-04 6:37 
GeneralRe: Copy object from clipboard to file Pin
Dave Kreskowiak15-Mar-04 6:55
mveDave Kreskowiak15-Mar-04 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.