Sign in to follow this  
Followers 0
swstrau118

Embed Radmin Viewer or TightVNC viewer in Gui HELP!

5 posts in this topic

Does anyone know how to embed a Radmin remote window or VNC Viewer into a gui? I can run the code but I am not sure how to embed it.

Run ("C:Program Files (x86)Radmin Viewer 3Radmin.exe /connect:" & "IP_Address")

I am trying to remote into a desktop and have that embedded onto the Gui I created. However, I am unsure how to do this. Please help.

Any help would be greatly appreciated!

Thanks!

 

Share this post


Link to post
Share on other sites



I don't have either application to test with, but I use the snippet below to embed apps in a GUI. Might be worth a try (shamelessly stolen from SvenP and modified for my own use)

#include <GUIConstants.au3>

$file = @DesktopDir & "\Word.docx"
$oWordDoc = ObjGet($file)

if IsObj($oWordDoc) then
    GUICreate ( "Embedded Object Test", 1000, 1000)
    $GUI_ActiveX = GUICtrlCreateObj( $oWordDoc, 1, 150, 999 , 999 )
    GUISetState ()

    While 1
        $msg = GUIGetMsg()
        Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
        EndSelect
    Wend

    GUIDelete ()

EndIf

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

 

I don't have either application to test with, but I use the snippet below to embed apps in a GUI. Might be worth a try (shamelessly stolen from SvenP and modified for my own use)

#include <GUIConstants.au3>

$file = @DesktopDir & "\Word.docx"
$oWordDoc = ObjGet($file)

if IsObj($oWordDoc) then
    GUICreate ( "Embedded Object Test", 1000, 1000)
    $GUI_ActiveX = GUICtrlCreateObj( $oWordDoc, 1, 150, 999 , 999 )
    GUISetState ()

    While 1
        $msg = GUIGetMsg()
        Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
        EndSelect
    Wend

    GUIDelete ()

EndIf

Wow, that's neat!

Seems a little unstable though...embedded msword hangs when I click the File tab. (Office 2010 BTW).  Does this occur for you?

Share this post


Link to post
Share on other sites

To be honest, I use it for other applications, just threw Word in there because it was quick. I did try it on Word 2007 just now, and seemed able to click through files and menus okay.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

That is a neat program - I tried it with the TightVNC viewer and the code won't run it just exits right away. Do you think I'm doing something wrong? Sample code below: If you want you could download this for free and test it, if you want, http://www.tightvnc.com/download.php.

Thanks for the help!

#include <GUIConstants.au3>

 

$file = @DesktopDir & "\MyComputer.vnc"

$oWordDoc = ObjGet($file)

 

if IsObj($oWordDoc) then

    GUICreate ( "Embedded Object Test", 1000, 1000)

    $GUI_ActiveX = GUICtrlCreateObj( $oWordDoc, 1, 150, 999 , 999 )

    GUISetState ()

 

    While 1

        $msg = GUIGetMsg()

        Select

            Case $msg = $GUI_EVENT_CLOSE

                ExitLoop

        EndSelect

    Wend

 

    GUIDelete ()

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0