You can use Serge's code he posted in your other thread. Just use it like this:
VB Code:
  1. 'By Serge 8/14/2001
  2. Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
  3. Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
  4. Private Const GWL_STYLE = (-16)
  5. Private Const WS_MINIMIZEBOX = &H20000
  6.  
  7. Private Sub Command1_Click()
  8.     Dim lngStyle As Long
  9.     'open your program here
  10.     lngStyle = GetWindowLong(Me.hwnd, GWL_STYLE) 'find your own app
  11.     lngStyle = lngStyle Xor WS_MINIMIZEBOX 'set the style (disabled minimize)
  12.     Call SetWindowLong(Me.hwnd, GWL_STYLE, lngStyle) 'disable it
  13.    
  14. End Sub