CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 35 of 35
  1. #31
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Help with Tetris

    Quote Originally Posted by dglienna View Post
    Hannes, nothing but the blank form appears on Win7/VS2010. It upgrades successfully, but complains about no Form1. I changed the form to frmTet to get it to show up.


    Miss this one?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  2. #32
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Help with Tetris

    Quote Originally Posted by dglienna View Post
    Miss this one?
    So it seems

    I haven't yet received VS 2010 , so I can not make a statement as to what happens in it

    I did notice though that it has given me that error before ( in VS 2005 ), I guess I should make a new project and copy these things in there and see if that would resolve that issue, hopefully

    Thanx for your valuable input David - I'll buy you a sixpack Buddweisers one day LOL!

  3. #33
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Help with Tetris

    I'd like the FULL code, not just the fix. I only had Part III
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #34
    Join Date
    Mar 2007
    Location
    Argentina
    Posts
    579

    Re: Help with Tetris

    I have not read the entire thread, but could not resist to suggest replacing this:
    Quote Originally Posted by HanneSThEGreaT View Post
    ...
    Code:
        ''' <summary>
        ''' Determine Existance Of In Memory Graphic
        ''' </summary>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function ValidGraphic() As Boolean
    
            If Not (g Is Nothing) And Not (InMemoryGraphics Is Nothing) Then
                Return True 'If There Is A Graphic In Memory 
            Else
                Return False 'If Not
            End If
    
        End Function
    ...
    with:
    Code:
        ''' <summary>
        ''' Determine Existance Of In Memory Graphic
        ''' </summary>
        ''' <returns>Return True 'If There Is A Graphic In Memory; Return False 'If Not
        ''' </returns>
        ''' <remarks></remarks>
        Public Function ValidGraphic() As Boolean
    
            Return (g IsNot Nothing) AndAlso (InMemoryGraphics IsNot Nothing)
    
        End Function
    [Vb.NET 2008 (ex Express)]

  5. #35
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Talking Re: Help with Tetris

    OK, before you shoot me down... I know I should practise what I preach...

    I think this is the final version of my Tetris game. Anyone willing to help identify more issues are more than welcome. I have forgotten this thread until recently, and I'd like to get my final version of Tetris up and running and get the last part of this article series published.

    If you have any hints, suggestions, fixes let me know and I will obviously credit you in my article as well

    Hannes
    Attached Files Attached Files

Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured