This is some code for embedding Destinator into a Visual Basic 6 (VB6) application.
(Sorry, just trying to put as many key-words into that first sentence as possible for anyone searching later!!

)
Here is code to embed Destinator 2 into VB :
Make two timers, don't enable either. Give them whatever interval you want.
Make a Picture Box called pctDest (or change the code below

) on your form and place it where you want.
Then put this code in your project.
Code:
Public Sub Form_Load()
tmrLoadDest.Enabled = True
End Sub
Private Sub tmrLoadDest_Timer()
Set Dest2 = New Dest
Dest2.CreateDestinatorWindow 4
Tmr_LaunchTimeOut.Enabled = False
Tmr_LaunchTimeOut.Enabled = True
myhandle = 0
While myhandle = 0 And Tmr_LaunchTimeOut.Enabled = True
myhandle = FindWindowByName("*Destinator*")
DoEvents
Wend
Tmr_LaunchTimeOut.Enabled = False
If myhandle = 0 Then Exit Sub
CurrentStyle = GetWindowLong(myhandle, GWL_STYLE)
CurrentStyle = CurrentStyle And Not WS_DLGFRAME
CurrentStyle = CurrentStyle And Not WS_SYSMENU
CurrentStyle = CurrentStyle And Not WS_THICKFRAME
CurrentStyle = CurrentStyle And Not WS_MINIMIZEBOX
CurrentStyle = CurrentStyle And Not WS_MAXIMIZEBOX
SetWindowLong myhandle, GWL_STYLE, CurrentStyle
SetParent myhandle, pctDest.hWnd
ShowWindow myhandle, SW_MAXIMIZE
tmrLoadDest.Enabled = False
End Sub
Little bit of help with that code was from coyote
Garry