Subject says it all.
Any suggestions on the most versatile way to open any file?
I'm rewriting a function for versatility and while I currently know precisely what file type I'm opening, I'd have thought there'd be a very simple way to open anything without needing to specify the exe that opens it.
I was thinking about Shell & URLs as two options.
or
Declare Function OpenFile Lib "Kernel" (ByVal lpFileName As String, lpReOpenBuff As OFSTRUCT, ByVal wStyle As Integer) As Integer
Mike
Any suggestions on the most versatile way to open any file?
I'm rewriting a function for versatility and while I currently know precisely what file type I'm opening, I'd have thought there'd be a very simple way to open anything without needing to specify the exe that opens it.
I was thinking about Shell & URLs as two options.
or
Declare Function OpenFile Lib "Kernel" (ByVal lpFileName As String, lpReOpenBuff As OFSTRUCT, ByVal wStyle As Integer) As Integer
Mike