In case anyone wanted it, I converted the example to vb.net. Here it is:

declare these items

'windows API declarations for the external application
Public Declare Function SetParent Lib "user32" (ByVal hWndChild As Integer, ByVal hWndNewParent As Integer) As Integer
Public Declare Function EnableWindow Lib "user32" (ByVal hWnd As Integer, ByVal bEnable As Boolean) As Boolean

'varible to store a pointer to your main class from your external form
Public m_Parent As Class1

' module used for External application
Public modEX As StreetDeck.ScriptModule

'Create our embedded form and embed it inside of our host window
Public embeddedForm As EmbeddedForm = New EmbeddedForm
Public hWndHost As Integer


in the OnConnection

modEX = app.CreateModule("External Prog")

'Create a host window to put in general windows inside the program
hWndHost = CType(modEX.CreateHostWindow, Integer)

'To enable gestures, we have to disable the host window
'once you do this, you should recieve mouse events
'through the module.OnMouse... functions, but mouse events
'will no longer be processed in your form.
'If set to true then mouse events will occur in form
EnableWindow(hWndHost, True)


embeddedForm.TopLevel = False

'set the pointer back to main class from your form
embeddedForm.m_Parent = Me
embeddedForm.Show()
SetParent(CType(embeddedForm.Handle, Integer), hWndHost)

'//Register to recieve some events from the objects
AddHandler modEX.OnEnter, AddressOf modEX_OnEnter
AddHandler modEX.OnRender, AddressOf modEX_OnRender

'in the OnDisconnect
RemoveHandler modEX.OnEnter, AddressOf modEX_OnEnter
RemoveHandler modEX.OnRender, AddressOf modEX_OnRender

'update any items in the OnRender for the module you created i.e. modEX

on the form declare
Public m_Parent As StreetDeckVBAddin.Class1

then
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

'tell StreetDeck to go back to the previous module when it is clicked
m_Parent.modEX.GoBack()

End Sub

hopefully this will help someone out.