How can control the external application like calculator etc to fit in
my vb form,
i using shell function in vb to call external application but the problem is external application should fix in my vb form,i am very thankful for anybody put light on it.
Another way (Simple way): but the link above is better..
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Private Sub MDIForm_Load()
Dim lHwnd As Long
lHwnd = FindWindow(vbNullString, "Calculator")
SetParent lHwnd, Me.hWnd