Click here to Skip to main content
15,748,615 members

Comments by sharath Nandakumar (Top 5 by date)

sharath Nandakumar 20-Feb-23 1:59am View    
yes. but remote desktop of same computer. i have acheied a bit further.

Private Sub PictureBox1_MouseDown(sender As Object, e As MouseEventArgs) Handles PictureBox1.MouseDown
For Each f As Form In Application.OpenForms
If f.Bounds.Contains(e.Location) Then
formBeingMoved = f
formOffset = New Point(e.Location.X - f.Left, e.Location.Y - f.Top)
Exit For
End If
End Sub

Private Sub PictureBox1_MouseMove(sender As Object, e As MouseEventArgs) Handles PictureBox1.MouseMove
If formBeingMoved IsNot Nothing Then
formBeingMoved.Left = e.X - formOffset.X
formBeingMoved.Top = e.Y - formOffset.Y
End If
End Sub

Private Sub PictureBox1_MouseUp(sender As Object, e As MouseEventArgs) Handles PictureBox1.MouseUp
formBeingMoved = Nothing
End Sub

but what happens now is i am able to move forms. but notclicking on exact position of form showing in picturebox
sharath Nandakumar 19-Feb-23 13:43pm View    
please go through my code. you will get an idea :)
sharath Nandakumar 12-Jan-21 4:14am View    
let me check. thanks for the reply btw
sharath Nandakumar 12-Jan-21 3:31am View    
and also please help me on how to add html5 in :)
sharath Nandakumar 12-Jan-21 3:30am View    
but there is some xml values which passes from to flasp player. will it work like same in html5?

Dim xmlFile As XmlReader
xmlFile = XmlReader.Create("Breaking_News\news.xml", New XmlReaderSettings())