i m doing project in VB
what i want is when i wll click on zoomin and take mouse pointer over the map it should show zoomin image and same zoom out
in my project there r three images. 1> image displaing map 2>displaing zoomin and 3> displaing zoomout
in imagedisplay(of map) and event mouse move i have written the coding
Code: ( vb )
If zoomani = 1 Then
Imgdisplay.MousePointer = LoadPicture(Apppath + "maps\zoomin.jpg")
Else
Imgzoomout.MousePointer = LoadPicture(Apppath + "maps\index\zoom-out-icon.jpg")
End If
End Sub
and i have decleared zoomani as integer
and in zoonin zoomani = 1 (in private sub zoomin())
and in zoomout zoomani = 2 (in private sub zoomout())
and when i m running the program it is showing runtime error 6
overflow
so i wnt 2 know where i m wrong