Solved

The best way to display content of a row from a csv ?

Posted on 2016-07-15
2
64 Views
Last Modified: 2016-07-18
Ok so here is a test file .csv with 2 image form out some program will look like and how it will display the info.

Files:
Test-data.csv - only has the headers and 2 rows of data. The real one has 6000+ row

search.PNG - What the app might look like ones the user runs the program. Just ask for the Code then click button or press enter.
  • Side Note i would like to have it screen grab the code off other program when the user hover the mouse pointer over it and press a key command on the keyboard.

Output.PNG - Display the info from the row that the code matches.

What would be the best way to do this? Should i insert each row into an array. Using the Code number as a key value.

Can it be done with vb.net if so how ?
Will be running on windows 7,10 laptops with not access to the internet.

Will have to encrypt the csv file some how. Maybe bit lock it ?



But first how to get the data out and display it for the end user ?

Thank you
Test-data.csv
search.PNG
Output.PNG
0
Comment
Question by:armasmike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Expert Comment

by:NVIT
ID: 41714734
> Just ask for the Code then click button or press enter.

Side Note i would like to have it screen grab the code off other program when the user hover the mouse pointer over it and press a key command on the keyboard.

Are these 2 needs? If so, please clarify the Side Note
0
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 41714839
read the csv into an array (suggest csv to linq) and then search on the patient ID and return the values into labels on the 2nd form. Better to have the CSV added to a database and then do a simple select using the patient ID and return the values.

Doing part 2: screen grab is rather involved i.e. the actual capture, then OCR to change the image into text and so forth.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question