Click here to Skip to main content
16,010,416 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Spell check utility in win forms with text editor Pin
Dmitry Khudorozhkov13-Mar-07 22:30
Dmitry Khudorozhkov13-Mar-07 22:30 
QuestionScrabble Pin
HardeepKaur13-Mar-07 15:54
HardeepKaur13-Mar-07 15:54 
AnswerRe: Scrabble Pin
TwoFaced13-Mar-07 16:49
TwoFaced13-Mar-07 16:49 
GeneralRe: Scrabble [modified] Pin
TwoFaced14-Mar-07 17:54
TwoFaced14-Mar-07 17:54 
GeneralRe: Scrabble Pin
HardeepKaur15-Mar-07 11:51
HardeepKaur15-Mar-07 11:51 
GeneralRe: Scrabble Pin
TwoFaced15-Mar-07 19:10
TwoFaced15-Mar-07 19:10 
GeneralRe: Scrabble Pin
HardeepKaur16-Mar-07 5:46
HardeepKaur16-Mar-07 5:46 
GeneralRe: Scrabble Pin
TwoFaced16-Mar-07 6:49
TwoFaced16-Mar-07 6:49 
I'm not sure what lines of code you need, nor do I want to write this for you. I'm positive you can write the class I had in mind. It's very simple and almost the same thing as your square class. All it has are two properties: value, letter. I already said how you could figure out which image to use, but maybe this will help clarify.
Dim letter As String = "A"
Dim pos As Integer = Asc(letter) - 64
Dim file As String = "Image" & pos.ToString("000") & ".jpg"

As for implementing this class into your program there isn't much I can write to help you out. You know the code better then I do. This may help though. Controls can contain other controls. Pictureboxes are no exception. You can use square(1,1).controls.add to add another control to the square. So if you create a tile object and use 'add' you can put the tile inside the square tile. Just be sure to set the location of the tile object to (0,0) when you do.
GeneralRe: Scrabble Pin
HardeepKaur16-Mar-07 11:24
HardeepKaur16-Mar-07 11:24 
GeneralRe: Scrabble Pin
TwoFaced16-Mar-07 14:15
TwoFaced16-Mar-07 14:15 
GeneralRe: Scrabble Pin
HardeepKaur17-Mar-07 5:16
HardeepKaur17-Mar-07 5:16 
QuestionLooking to show off your skills ?? Pin
al96813-Mar-07 12:06
al96813-Mar-07 12:06 
AnswerRe: Looking to show off your skills ?? Pin
CPallini13-Mar-07 12:36
mveCPallini13-Mar-07 12:36 
AnswerRe: Looking to show off your skills ?? Pin
Dave Kreskowiak13-Mar-07 14:22
mveDave Kreskowiak13-Mar-07 14:22 
QuestionVB 6 to VB.NET question Do While Not EOF equivalent Pin
aro198113-Mar-07 11:09
aro198113-Mar-07 11:09 
AnswerRe: VB 6 to VB.NET question Do While Not EOF equivalent Pin
TwoFaced13-Mar-07 11:59
TwoFaced13-Mar-07 11:59 
QuestionNoughts and Crosses Pin
Anybloodyid13-Mar-07 9:30
Anybloodyid13-Mar-07 9:30 
AnswerRe: Noughts and Crosses Pin
Marcus J. Smith13-Mar-07 10:33
professionalMarcus J. Smith13-Mar-07 10:33 
GeneralRe: Noughts and Crosses Pin
Anybloodyid13-Mar-07 12:17
Anybloodyid13-Mar-07 12:17 
QuestionHow I can connect VB.net to SQL Server 2005 Express? Pin
ATC13-Mar-07 8:55
ATC13-Mar-07 8:55 
AnswerRe: How I can connect VB.net to SQL Server 2005 Express? Pin
Harini N K13-Mar-07 19:54
Harini N K13-Mar-07 19:54 
GeneralRe: How I can connect VB.net to SQL Server 2005 Express? Pin
ATC14-Mar-07 9:14
ATC14-Mar-07 9:14 
QuestionScreenSaver's child process dies a-borning Pin
jim_taylor13-Mar-07 8:50
jim_taylor13-Mar-07 8:50 
AnswerRe: ScreenSaver's child process dies a-borning Pin
Marcus J. Smith13-Mar-07 9:05
professionalMarcus J. Smith13-Mar-07 9:05 
AnswerRe: ScreenSaver's child process dies a-borning Pin
jim_taylor13-Mar-07 12:16
jim_taylor13-Mar-07 12:16 

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.