What I'd suggest doing is using a ListView control and,
when you open the particular record, add links with icons
into the listview, having the Text property of the
listviewitem set to the full file name, or Medical
Records ID#, or other unique identifier. Then, you can
write code to open the file using the program that
created it, or to open your EMR program and load the
medical record, if it has an API. All in all, it's not
hard, and it's pretty straightforward. You simply have
to write a managed code wrapper for the shell functions
you'll need to call to get the appropriate icon for the
file, and then write a little code to start a process
from the document file you wish to open.
Hope that helps some!
Ben
-----Original Message-----
I've been reading a number of postings on .Net that
indicate thatthere is no OLE Container control for .Net applications.
Has anyone successfully converted a VB6 or MS Access
2000/2002 appthat used OLE Controls to hold links to files? If so how
did you getaround the no OLE Control limitation?
I have an Access app to SQL Server that uses an OLE
control to letusers link to and view medical records, form letters,
emails and faximages in .pdf, .doc, .tif, and a variety of other file
formats.
All I need to do is 1) control the files associated with
particularrecords (know if they are changed or deleted) and 2)
print files viacode.
Can this be done with .Net?
.