Click here to Skip to main content
15,923,789 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPACKAGE AND DEPLOYMENT WIZARD Pin
venkata lakshmi prasanna15-Apr-07 22:50
venkata lakshmi prasanna15-Apr-07 22:50 
AnswerRe: PACKAGE AND DEPLOYMENT WIZARD Pin
Tamimi - Code15-Apr-07 23:03
Tamimi - Code15-Apr-07 23:03 
GeneralRe: PACKAGE AND DEPLOYMENT WIZARD Pin
Dave Kreskowiak16-Apr-07 3:16
mveDave Kreskowiak16-Apr-07 3:16 
AnswerRe: PACKAGE AND DEPLOYMENT WIZARD Pin
Dave Kreskowiak16-Apr-07 3:15
mveDave Kreskowiak16-Apr-07 3:15 
QuestionHow to open a pop up window using javascript??? Pin
shyamts15-Apr-07 22:42
shyamts15-Apr-07 22:42 
AnswerRe: How to open a pop up window using javascript??? Pin
Christian Graus15-Apr-07 23:09
protectorChristian Graus15-Apr-07 23:09 
AnswerRe: How to open a pop up window using javascript??? Pin
Dave Kreskowiak16-Apr-07 3:11
mveDave Kreskowiak16-Apr-07 3:11 
QuestionCreating an event for many objects Pin
steve_rm15-Apr-07 22:18
steve_rm15-Apr-07 22:18 
Hello,

I have problem that i am creating many object of a user control that is in a parent form.

So when I click delete on the user control it doesn't know which object it should raise the event for.

Normally if i add 5 objects of the user control at run-time, if i click delete on the 5th it will raise the event. However, if I click any of the other 4 will will not raise the event.

The way my program works is that I have a tab control on the parent form. The user will click add and the object that will be created on each of the tabs. if i want to delete one object of the user control on the tab it will only work if is the last one i added.

Is there any solution to this problem?

<br />
Public Event DeleteStatus(result As Boolean)<br />
<br />
Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click<br />
        Try<br />
            Dim rowsAffected As Integer = 0<br />
            rowsAffected = Me.TA_IncidentTask1.DeleteTask(_taskID)<br />
            If (rowsAffected = 0) Then<br />
               RaiseEvent DeleteStatus(False)<br />
            Else<br />
               RaiseEvent DeleteStatus(True)<br />
            End If<br />
        Catch ex As Exception<br />
            MessageBox.Show(ex.Message)<br />
        End Try<br />
    End Sub<br />


Many thanks for any help with this,

Steve
AnswerRe: Creating an event for many objects Pin
Christian Graus15-Apr-07 23:10
protectorChristian Graus15-Apr-07 23:10 
AnswerRe: Creating an event for many objects Pin
Dave Kreskowiak16-Apr-07 3:08
mveDave Kreskowiak16-Apr-07 3:08 
QuestionUpdateProgress control in windows appl. vs2003 Pin
samerh15-Apr-07 22:03
samerh15-Apr-07 22:03 
AnswerRe: UpdateProgress control in windows appl. vs2003 Pin
Christian Graus15-Apr-07 22:05
protectorChristian Graus15-Apr-07 22:05 
GeneralRe: UpdateProgress control in windows appl. vs2003 Pin
samerh15-Apr-07 22:46
samerh15-Apr-07 22:46 
GeneralRe: UpdateProgress control in windows appl. vs2003 Pin
Christian Graus15-Apr-07 23:06
protectorChristian Graus15-Apr-07 23:06 
QuestionThree topics - help greatly appreciated! Pin
re infecta15-Apr-07 19:22
re infecta15-Apr-07 19:22 
AnswerRe: Three topics - help greatly appreciated! Pin
Christian Graus15-Apr-07 19:40
protectorChristian Graus15-Apr-07 19:40 
GeneralRe: Three topics - help greatly appreciated! Pin
re infecta15-Apr-07 21:38
re infecta15-Apr-07 21:38 
GeneralRe: Three topics - help greatly appreciated! Pin
re infecta15-Apr-07 22:52
re infecta15-Apr-07 22:52 
GeneralRe: Three topics - help greatly appreciated! -- LONG reply Pin
Enriad16-Apr-07 22:02
Enriad16-Apr-07 22:02 
AnswerRe: Three topics - help greatly appreciated! Pin
The ANZAC15-Apr-07 20:54
The ANZAC15-Apr-07 20:54 
QuestionDelphi to VB.Net migration Pin
shreekar15-Apr-07 19:19
shreekar15-Apr-07 19:19 
AnswerRe: Delphi to VB.Net migration Pin
Christian Graus15-Apr-07 19:42
protectorChristian Graus15-Apr-07 19:42 
GeneralRe: Delphi to VB.Net migration Pin
shreekar15-Apr-07 19:47
shreekar15-Apr-07 19:47 
GeneralRe: Delphi to VB.Net migration Pin
Christian Graus15-Apr-07 21:00
protectorChristian Graus15-Apr-07 21:00 
AnswerRe: Delphi to VB.Net migration Pin
kubben16-Apr-07 2:28
kubben16-Apr-07 2:28 

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.