16,014,667 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 C++ questions
View Javascript questions
View Visual Basic questions
View .NET 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 kasunthilina (Top 14 by date)
kasunthilina
15-Aug-17 4:55am
View
thank you for reply. ill put this post in given site.
kasunthilina
16-Feb-17 23:49pm
View
thank you very much.
kasunthilina
16-Feb-17 23:49pm
View
thank you very much. it wordked.
kasunthilina
16-Feb-17 23:48pm
View
Thank you very much. It worked. LS i menction as 'last summary' it was my datatable column name. but thank you again for you help.
kasunthilina
9-May-16 7:11am
View
thank you for the help
kasunthilina
9-May-16 5:34am
View
'found it.
Dim dx As Single, dy As Single
Dim imageFile1 As Image = Image.FromFile(SourcePath)
Dim g As Graphics = Graphics.FromImage(imageFile1)
Try
dx = g.DpiX '// selected file DPI
dy = g.DpiY
Finally
g.Dispose()
End Try
kasunthilina
21-Mar-16 0:18am
View
Im trying get currently focus form from the penal. just like get currently focus MDI child form.
for MDI i use this code to get currently focus form.
'This is the code in MDI form Save Button
Dim active_form_name As Object = Me.ActiveMdiChild
active_form_name.CurrentFocusformSaveFunction() 'CurrentFocusformSaveFunction is the child form save function.
purpose is:
in my project each form have a save function and im trying to use MDI form save button to preform active form's save function. now i need to do the same inside the penal.
kasunthilina
21-Mar-16 0:16am
View
yes. im trying get currently focus form from the penal. just like get currently focus MDI child form.
for MDI i use this code to get currently focus form.
'This is the code in MDI form Save Button
Dim active_form_name As Object = Me.ActiveMdiChild
active_form_name.CurrentFocusformSaveFunction() 'CurrentFocusformSaveFunction is the child form save function.
purpose is:
in my project each form have a save function and im trying to use MDI form save button to preform active form's save function. now i need to do the same inside the penal.
kasunthilina
16-Mar-16 23:09pm
View
i have a MDI form with MDI child forms. i was trying to add chart in the MDI form. but when MDI child form is open the chart is come to forword and the open child form gose to back. by using penal i have solved the problem but cannot find the active form forom the penal.
kasunthilina
16-Mar-16 23:07pm
View
i have a MDI form with MDI child forms. i was trying to add chart in the MDI form. but when MDI child form is open the chart is come to forword and the open child form gose to back. by using penal i have solved the problem but cannot find the active form forom the penal.
kasunthilina
16-Dec-15 6:57am
View
ok i can use a central computer. but i only problem is how to communicate with the device. also i think if i can develop a android app to run background and track the phone. do you know any idea about it?
kasunthilina
16-Dec-15 6:50am
View
sorry for the late.
here is the code to add excel to datagridview then try to save each datagrid line to sql db.
Dim MyConnection As System.Data.OleDb.OleDbConnection
Dim DtSet As New DataTable
Dim MyCommand As System.Data.OleDb.OleDbDataAdapter
MyConnection = New System.Data.OleDb.OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0;Data Source='" & OpenFileDialog1.FileName & "';Extended Properties=""Excel 8.0;IMEX=1""")
MyCommand = New System.Data.OleDb.OleDbDataAdapter("select * from [SHEET NAME$]", MyConnection)
MyCommand.TableMappings.Add("Table", "Net-informations.com")
MyCommand.Fill(DtSet)
DATAGRIDVIEW.DataSource = DtSet
MyConnection.Close()
kasunthilina
2-Dec-15 4:59am
View
can you please guide me??
kasunthilina
2-Dec-15 4:58am
View
im trying use Vehicle GPS tracker or any other way. i dont know any more than this method! trying to use google maps.
Show More