15,908,906 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 Python 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 william_nhl (Top 8 by date)
william_nhl
28-Jun-11 12:35pm
View
What i want is to let the source code above to run to calculate each data grid view row column 1 data and show it on that row column 2 if the column 1 have data. The below is the source code that will show the distinct data in data grid view column 1.
Dim n As Integer = 0
row = 0
dgv.Rows.Clear()
datagridview1.Rows.Clear()
connection = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\AnalyzerDb.mdb")
connection.Open()
cmd = New OleDbCommand("SELECT DISTINCT (Protocol) FROM Raw_Protocol", connection)
Dr = cmd.ExecuteReader
Do
While Dr.Read()
dgv.Rows.Add(Dr("Protocol"))
datagridview1.Rows.Add(Dr("Protocol"))
n += 1
End While
Loop While Dr.NextResult
Dr.Close()
connection.Close()
william_nhl
28-Jun-11 12:27pm
View
Ok,thanks for advice.^^
william_nhl
28-Jun-11 12:25pm
View
ok, but how can i modify the loading csv source code above to made it auto load all the csv file in the folder into the dgv? Can it be done?
william_nhl
28-Jun-11 11:57am
View
I need it in vb.
william_nhl
28-Jun-11 11:07am
View
Ok,after i discussed with my lecturer she juz ask me assume that all the connected computer are allowed the system to copy file, so is tat possible to do the system i mention above which will detect all computer in the same network and retrieve file from those computer? The system must be able to detect all computer connected even if got new computer connected. If it can done, can giv me some idea and source code how it can be done?
william_nhl
27-Jun-11 15:56pm
View
Deleted
Can i have the source code? i need 2 create almost the same system.
william_nhl
27-Jun-11 15:03pm
View
But my lecturer request me to do a system,when user press a button, it will detect those connected computer which means if got a new machine is connected then it will detect it and retrieve file.
william_nhl
27-Jun-11 14:50pm
View
Oh but i have been ask to create a system that will detect the computer whose connected in the network and will auto retrieve file from particular folder. Can it be done?
Show More