Click here to Skip to main content
16,008,490 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: RS MoveNext Pin
Dave Kreskowiak20-May-09 2:04
mveDave Kreskowiak20-May-09 2:04 
GeneralRe: RS MoveNext Pin
EliottA20-May-09 2:43
EliottA20-May-09 2:43 
GeneralRe: RS MoveNext Pin
Dave Kreskowiak20-May-09 4:12
mveDave Kreskowiak20-May-09 4:12 
GeneralObjection to Dave Kreskowiak Pin
labq58121-May-09 17:03
labq58121-May-09 17:03 
GeneralRe: Objection to Dave Kreskowiak Pin
Dave Kreskowiak22-May-09 12:48
mveDave Kreskowiak22-May-09 12:48 
QuestionHow do you initialize and check if image tags are equal to each other? Pin
ymilan19-May-09 14:15
ymilan19-May-09 14:15 
AnswerRe: How do you initialize and check if image tags are equal to each other? Pin
_Damian S_19-May-09 14:59
professional_Damian S_19-May-09 14:59 
QuestionRe: How do you initialize and check if image tags are equal to each other? Pin
ymilan20-May-09 5:30
ymilan20-May-09 5:30 
Thanks for the advice.  

I tried something like the following, but when I tried placing the Next, Next lines just below the 'Hearts(Index).Tag = Source.Tag, the compiler gave me an error 340, array element 13 does not exist.   It doesn't when I place the Next's at the end.   However, what happens at run time is the You're right always happens, and then the card I choose from the left (can be any card), would always appear on the right hand side in hearts(0) slot.   I'm confused but think that since Index and NewIndex are set to 0, they will always match and always do vbenddrag, not vbcancel.   Any ideas would be much appreciated.   Thank you.

'For Index = 0 To 12
'For NewIndex = 0 To 12
      'Hearts(Index).Picture = Source.Picture
      'Hearts(Index).Tag = Source.Tag
     
'If Hearts(Index).Tag = Image1(NewIndex).Tag Then
      'Image1(NewIndex).Drag vbEndDrag
      'MsgBox ("You're right!")
      'Exit Sub
      'Else
      'Image1(NewIndex).Drag vbCancel
     
      'Exit Sub
'End If
'Next
'Next

'End Sub
AnswerRe: How do you initialize and check if image tags are equal to each other? Pin
_Damian S_20-May-09 16:11
professional_Damian S_20-May-09 16:11 
GeneralRe: How do you initialize and check if image tags are equal to each other? Pin
ymilan21-May-09 5:33
ymilan21-May-09 5:33 
GeneralRe: How do you initialize and check if image tags are equal to each other? Pin
_Damian S_21-May-09 15:58
professional_Damian S_21-May-09 15:58 
GeneralRe: How do you initialize and check if image tags are equal to each other? Pin
ymilan23-May-09 7:08
ymilan23-May-09 7:08 
QuestionIssue With Darag and Drop Image and contaner : VB 2005 Pin
nishkarsh_k19-May-09 3:24
nishkarsh_k19-May-09 3:24 
AnswerRe: Issue With Darag and Drop Image and contaner : VB 2005 Pin
Dave Kreskowiak19-May-09 7:41
mveDave Kreskowiak19-May-09 7:41 
QuestionNeed MySql connection string for vb.net ???? Pin
JC.KaNNaN19-May-09 2:33
JC.KaNNaN19-May-09 2:33 
AnswerRe: Need MySql connection string for vb.net ???? Pin
Luc Pattyn19-May-09 2:40
sitebuilderLuc Pattyn19-May-09 2:40 
GeneralRe: Need MySql connection string for vb.net ???? Pin
Jon_Boy19-May-09 3:22
Jon_Boy19-May-09 3:22 
QuestionSQl SERVER Authentication - Login -For Network LAN Pin
Paramu197319-May-09 2:21
Paramu197319-May-09 2:21 
AnswerRe: SQl SERVER Authentication - Login -For Network LAN Pin
Johan Hakkesteegt19-May-09 3:17
Johan Hakkesteegt19-May-09 3:17 
AnswerRe: SQl SERVER Authentication - Login -For Network LAN Pin
Jon_Boy19-May-09 3:23
Jon_Boy19-May-09 3:23 
Questionhow to comare two audio files Pin
en.Mahdi19-May-09 1:24
en.Mahdi19-May-09 1:24 
AnswerRe: how to comare two audio files Pin
Dave Kreskowiak19-May-09 4:21
mveDave Kreskowiak19-May-09 4:21 
AnswerRe: how to comare two audio files Pin
0x3c019-May-09 5:55
0x3c019-May-09 5:55 
GeneralRe: how to comare two audio files Pin
Dave Kreskowiak19-May-09 7:35
mveDave Kreskowiak19-May-09 7:35 
GeneralRe: how to comare two audio files Pin
0x3c019-May-09 10:20
0x3c019-May-09 10:20 

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.