Tutorials    Freebies    Links    Feedback    Thank me
Agent Store   Agent Games   Legal notice    History
Home

Intro»»Part 1»»Part 2»»Part 3»»Part 4»»Part 5

The magic picture

So, how will the picture disappear? The MS Agent control has a RequestComplete event, which runs once the code used to set the Request object has been completed. This is where we will put the code to make the picture box disappear:

Private Sub Agent1_RequestComplete _
(ByVal Request As Object)

picPicture.Visible = False
End Sub

Now, once Merlin has done his magic, the picture should disappear.

Intro»»Part 1»»Part 2»»Part 3»»Part 4»»Part 5