Click here to Skip to main content
15,896,154 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow do i use my window base application remotly? Pin
r_mohd21-Apr-09 15:46
r_mohd21-Apr-09 15:46 
AnswerRe: how do i use my window base application remotly? Pin
Christian Graus21-Apr-09 15:56
protectorChristian Graus21-Apr-09 15:56 
AnswerRe: how do i use my window base application remotly? Pin
Yusuf21-Apr-09 16:03
Yusuf21-Apr-09 16:03 
QuestionNeed Help with Visual Basic Drag and Drop Pin
ymilan21-Apr-09 13:15
ymilan21-Apr-09 13:15 
AnswerRe: Need Help with Visual Basic Drag and Drop Pin
Eddy Vluggen21-Apr-09 13:36
professionalEddy Vluggen21-Apr-09 13:36 
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
ymilan22-Apr-09 17:38
ymilan22-Apr-09 17:38 
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
Eddy Vluggen22-Apr-09 20:53
professionalEddy Vluggen22-Apr-09 20:53 
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
ymilan23-Apr-09 10:45
ymilan23-Apr-09 10:45 
Thanks, I read this and tried with basically I have an array of cards in design view; trying to drag one of those cards to another array of cards.

Image1(12) to Hearts(12) as an example.

Trying to drag over an icon already in the Hearts(12) position and drop on that icon "after" it equals the value of the card. Kind of weird how I'm doing it, but I wanted to have a visual blank picture of a card in white, and the let's say, hearts King card either underneath hidden or be the same value as the white card. Then when the hearts King is found on the left, it gets dragged and dropped if it matches the king card on the right. I hope I make sense.

Having problems with the array. Compiler won't accept Hearts(12) or Image1(12); says it needs an identifier, so I tried this an it doesn't work. Any ideas would be much appreciated. Thanks in advance.

Private Sub Image1_MouseMove(Index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)
Index = 52
Image1 = Image1(Index)
If Button = vbLeftButton Then
Image1.Drag vbBeginDrag = 1
End If

End Sub

Private Sub Image1_MouseUp(Index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)
Index = 52
Image1 = Image1(Index)
If Button = vbLeftButton Then
Imag1.Drag vbEndDrag = 0
End If

End Sub
Private Sub Hearts_DragOver(Index As Integer, source As Control, x As Single, y As Single, State As Integer)
Index = 12
Hearts = Hearts(Index)
Hearts(Index).Picture = source.Picture
State = 0
End Sub

Private Sub Hearts_DragDrop(Index As Integer, source As Control, x As Single, y As Single)
Index = 12
Hearts = Hearts(Index)
Hearts(Index).Picture = source.Picture
End Sub
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
Eddy Vluggen23-Apr-09 20:49
professionalEddy Vluggen23-Apr-09 20:49 
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
ymilan24-Apr-09 5:41
ymilan24-Apr-09 5:41 
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
ymilan24-Apr-09 6:06
ymilan24-Apr-09 6:06 
GeneralRe: Need Help with Visual Basic Drag and Drop Pin
Eddy Vluggen24-Apr-09 8:45
professionalEddy Vluggen24-Apr-09 8:45 
Questionhow to:create a SIMPLE windows explorer like app. Pin
trujade21-Apr-09 6:54
trujade21-Apr-09 6:54 
AnswerRe: how to:create a SIMPLE windows explorer like app. Pin
Luc Pattyn21-Apr-09 7:08
sitebuilderLuc Pattyn21-Apr-09 7:08 
GeneralRe: how to:create a SIMPLE windows explorer like app. Pin
Henry Minute21-Apr-09 8:24
Henry Minute21-Apr-09 8:24 
AnswerRe: how to:create a SIMPLE windows explorer like app. Pin
Henry Minute21-Apr-09 8:26
Henry Minute21-Apr-09 8:26 
AnswerRe: how to:create a SIMPLE windows explorer like app. Pin
Eddy Vluggen21-Apr-09 8:50
professionalEddy Vluggen21-Apr-09 8:50 
AnswerRe: how to:create a SIMPLE windows explorer like app. Pin
Yusuf21-Apr-09 11:23
Yusuf21-Apr-09 11:23 
QuestionThe runtime has encountered a fatal error. Pin
Nanda_MR21-Apr-09 2:11
Nanda_MR21-Apr-09 2:11 
AnswerRe: The runtime has encountered a fatal error. Pin
Henry Minute21-Apr-09 4:56
Henry Minute21-Apr-09 4:56 
GeneralRe: The runtime has encountered a fatal error. Pin
Nanda_MR21-Apr-09 18:16
Nanda_MR21-Apr-09 18:16 
GeneralRe: The runtime has encountered a fatal error. Pin
Henry Minute21-Apr-09 23:51
Henry Minute21-Apr-09 23:51 
AnswerRe: The runtime has encountered a fatal error. Pin
Luc Pattyn21-Apr-09 7:10
sitebuilderLuc Pattyn21-Apr-09 7:10 
GeneralRe: The runtime has encountered a fatal error. Pin
Nanda_MR21-Apr-09 18:28
Nanda_MR21-Apr-09 18:28 
QuestionProgressBarStyle.Marquee doesn't work Pin
Graham Irons21-Apr-09 1:49
Graham Irons21-Apr-09 1:49 

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.