15,748,615 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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
Next
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 vb.net :)
sharath Nandakumar
12-Jan-21 3:30am
View
Deleted
but there is some xml values which passes from vb.net to flasp player. will it work like same in html5?
Dim xmlFile As XmlReader
xmlFile = XmlReader.Create("Breaking_News\news.xml", New XmlReaderSettings())
ds.ReadXml(xmlFile)