Hi Guys,
I was wondering if anyone had created a GUI with an embedded Virtual Machine? For those that do not use Virtual Centre you can access Virtual Machines via Internet Explorer and the VM loads in the IE window.
I would imagine its possible using:
ObjCreate
GUICtrlCreateObj
Does anyone happen to have an example of how this could be done?
Thank you
Embed VM In GUI
Started by
goss34
, Nov 16 2011 02:14 PM
4 replies to this topic
#1
Posted 16 November 2011 - 02:14 PM
#2
Posted 17 November 2011 - 01:51 PM
Any ideas anyone?
#3
Posted 17 November 2011 - 07:47 PM
How about something along these lines:
#Include <ie.au3> $GUI=GUICreate("", 1000, 800) $oIE=_IECreateEmbedded() GUICtrlCreateObj($oIE,10,10,980,780) _IENavigate($oIE, 'www.autoitscript.com') GUISetState() Do Until GUIGetMsg() = -3
#include <ByteMe.au3>
#4
Posted 18 November 2011 - 09:09 AM
Hi Sleepy,
Thanks for that, i did give that a go however the link Virtual Centre creates is not like i have seen before:
https://vc1/ui/?wsUrl=http://localhost:80/sdk&mo=VirtualMachine|vm-1346&inventory=none&tabs=hide_
When this loads i immeditately hit "Page cannot be displayed" if i refresh i can get to the "invalid certificate do you want to continue" message but then cannot get passed that screen i assume something to do with it being a Https site?
Any ideas?
Thanks
Thanks for that, i did give that a go however the link Virtual Centre creates is not like i have seen before:
https://vc1/ui/?wsUrl=http://localhost:80/sdk&mo=VirtualMachine|vm-1346&inventory=none&tabs=hide_
When this loads i immeditately hit "Page cannot be displayed" if i refresh i can get to the "invalid certificate do you want to continue" message but then cannot get passed that screen i assume something to do with it being a Https site?
Any ideas?
Thanks
#5
Posted 18 November 2011 - 10:10 AM
There is a lot of embedding going on. You are trying to embed a link. And the link appears to be embedding another link. Notice the https and then a http?
Check out the following website that shows some instructions that look like it could create a simpler link. Perhaps that may help.
http://akutz.wordpress.com/2010/03/10/how-to-vsphere-client-to-vcenter-using-http/
Check out the following website that shows some instructions that look like it could create a simpler link. Perhaps that may help.
http://akutz.wordpress.com/2010/03/10/how-to-vsphere-client-to-vcenter-using-http/
#include <ByteMe.au3>
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users




