Solved

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

Posted on 2016-07-15
2
47 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
2 Comments
 
LVL 23

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 78

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now