Does anyone know how to open a program like notepad or anything else without the OLE control(I want to be able to click on a command button to open the program) ??

I'm guessing it's the "OpenFile" API call...

Public Declare Function OpenFile Lib "kernel32"_
Alias "OpenFile" (ByVal lpFileName As String, lpReOpenBuff_ As OFSTRUCT, ByVal wStyle As Long) As Long

if it is, then what do i use for lpReOpenBuff ??

thnx!!