Click here to Skip to main content
15,903,817 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to hide assemblies default icon after running any exe in vb.net(Windows app)? Pin
MaulikDusara5-Mar-12 17:27
MaulikDusara5-Mar-12 17:27 
Generalhow to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
jayawant sawant4-Mar-12 22:36
jayawant sawant4-Mar-12 22:36 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Simon_Whale5-Mar-12 0:40
Simon_Whale5-Mar-12 0:40 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Andy Missico6-Mar-12 19:59
Andy Missico6-Mar-12 19:59 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Dave Kreskowiak5-Mar-12 4:53
mveDave Kreskowiak5-Mar-12 4:53 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Member 96487188-Mar-12 4:55
Member 96487188-Mar-12 4:55 
GeneralRe: how to hide exe into taskmanager in windows 7 using vb.net windows application? Pin
Dave Kreskowiak8-Mar-12 6:23
mveDave Kreskowiak8-Mar-12 6:23 
QuestionReversi Pin
Midnight Ahri4-Mar-12 21:43
Midnight Ahri4-Mar-12 21:43 
i'm learning how to make reversi in vb.net,

the board is create by code,
VB
Public Sub CreateBoard()
            Dim xCol As Integer = 125
            Dim yCol As Integer = 10
            Dim xRow As Integer = 10
            Dim yRow As Integer = 150

            Dim btn(64) As Button
            Dim arr As Integer = 0

            For xBtn As Integer = 1 To 8
                arr += 1
                btn(arr) = New Button()
                btn(arr).Width = 25
                btn(arr).Height = 25
                btn(arr).Left = xCol
                btn(arr).Top = yCol
                btn(arr).Tag = arr
                AddHandler btn(arr).MouseClick, AddressOf MyMouseClick
                Me.Controls.Add(btn(arr))

                yCol += 25

                For yBtn As Integer = 1 To 7
                    arr += 1
                    btn(arr) = New Button()
                    btn(arr).Width = 25
                    btn(arr).Height = 25
                    btn(arr).Left = yRow
                    btn(arr).Top = xRow
                    btn(arr).Tag = arr
                    AddHandler btn(arr).MouseClick, AddressOf MyMouseClick
                    Me.Controls.Add(btn(arr))
                    yRow += 25
                Next

                xRow += 25
                yRow = 150
            Next
            Panel1.SendToBack()
        End Sub


i'm new in using addhandler, and now i dunno how to for loop and check if i got my opponent disk..

this is how i check,
VB
Public Sub MyMouseClick(sender As Object, e As Windows.Forms.MouseEventArgs)
            Select Case DirectCast(DirectCast(sender, Button).Tag, Integer)
                Case 1
                    
                Case 2

                Case 3

                Case 4

            End Select
        End Sub


thanks before.. Smile | :)
AnswerRe: Reversi Pin
Dave Kreskowiak5-Mar-12 4:53
mveDave Kreskowiak5-Mar-12 4:53 
QuestionText similarity algorithm Pin
Maciej Los4-Mar-12 11:33
mveMaciej Los4-Mar-12 11:33 
AnswerRe: Text similarity algorithm Pin
Dave Kreskowiak4-Mar-12 12:32
mveDave Kreskowiak4-Mar-12 12:32 
AnswerRe: Text similarity algorithm Pin
Luc Pattyn4-Mar-12 12:36
sitebuilderLuc Pattyn4-Mar-12 12:36 
GeneralRe: Text similarity algorithm Pin
Andreas Gieriet7-Mar-12 5:09
professionalAndreas Gieriet7-Mar-12 5:09 
AnswerRe: Text similarity algorithm Pin
Eddy Vluggen5-Mar-12 0:31
professionalEddy Vluggen5-Mar-12 0:31 
AnswerRe: Text similarity algorithm Pin
Sergey Alexandrovich Kryukov5-Mar-12 15:18
mvaSergey Alexandrovich Kryukov5-Mar-12 15:18 
QuestionWant to create layer like photoshop in vb.net Pin
prolay4-Mar-12 9:20
prolay4-Mar-12 9:20 
AnswerRe: Want to create layer like photoshop in vb.net Pin
Dave Kreskowiak4-Mar-12 12:29
mveDave Kreskowiak4-Mar-12 12:29 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Sergey Alexandrovich Kryukov5-Mar-12 15:41
mvaSergey Alexandrovich Kryukov5-Mar-12 15:41 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Dave Kreskowiak5-Mar-12 16:15
mveDave Kreskowiak5-Mar-12 16:15 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Dave Kreskowiak5-Mar-12 16:59
mveDave Kreskowiak5-Mar-12 16:59 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Sergey Alexandrovich Kryukov5-Mar-12 18:38
mvaSergey Alexandrovich Kryukov5-Mar-12 18:38 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Dave Kreskowiak6-Mar-12 5:42
mveDave Kreskowiak6-Mar-12 5:42 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Sergey Alexandrovich Kryukov6-Mar-12 18:17
mvaSergey Alexandrovich Kryukov6-Mar-12 18:17 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Dave Kreskowiak7-Mar-12 3:12
mveDave Kreskowiak7-Mar-12 3:12 
GeneralRe: Want to create layer like photoshop in vb.net Pin
Sergey Alexandrovich Kryukov7-Mar-12 12:13
mvaSergey Alexandrovich Kryukov7-Mar-12 12:13 

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.