Hi guys,

My core purpose of this post is to make animated search image by combining Computer & Search icons

I tried ImageReady and Flash to make Animated Gif but the Quality is pure.

Anyway, My code is as Under ...


VB Code:
  1. Dim icoComputer as New Icon("E:\Icons\Computer.ico")
  2. Dim icoSearch as New Icon("E:\Icons\Search.ico")
  3. Dim X as Interger = 144
  4. Dim Y as Integer = 44
  5. Private Sub pnlBackGround_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles pnlBackGround.Paint
  6.  
  7.       e.Graphics.DrawIcon(icoComputer, X, Y)
  8.       e.Graphics.DrawIcon(icoSearch, X, Y) ' I want to change this X
  9.  
  10. End Sub

I know i have to use timer_tick event but how to used e (System.Windows.Forms.PaintEventArgs) in it. I tried to declare object of System.Windows.Forms.PaintEventArgs. But I can't change the position of Search icon.

Plz help yaar..