Good afternoon. I have a forma with a subform. On the subform, I have a textbox and two command buttons, Display and Print. I found a proceedure in FAQ that clains it can open any file. I kind of works, but I would like it more automatic, like when I click the diplay button the file in the textbox, which is DPartNumber, would open the file in normal view. I have this code which open the directory, but I need to double click the file to open it. Can any let me know if this can be used to open the file? Here is the code:
Private Sub DisplayDrawing_Click()
Call fHandleFile("U:\PartPics\", WIN_NORMAL)
End Sub
Thank you for any assistance.
Private Sub DisplayDrawing_Click()
Call fHandleFile("U:\PartPics\", WIN_NORMAL)
End Sub
Thank you for any assistance.