My program performs a search on a specific directory and returns a list of files with specific criteria. When the user selects a file name in the list and Clicks the button, I want the program to open that file and print it. I have two functions - one store the file path in a text box and the other gives me an option to select the printer. I have no idea how to open the file using that path and how to get it print.
Any suggestions?

What type of file is this?? Is it a doc?? Rtf?? Picture??

dim filename as string
System.Diagnostics.Process.Start(filename)

That works for RTFs and Docs for sure.. Runs it in Microsoft Office..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.