<HTML dir=ltr><HEAD>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16441"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText57858>
<DIV dir=ltr><FONT color=#000000><FONT face=Arial>I'm using "Vboxmanage guestproperty get|set" as a heartbeat indicator in my VMs (Windows 7-64 Prof host running VB 4.0.16 with extension pack, SBS2003 & 3 XP guests with 4.0.16's guest additions). The host runs a ".cmd" batch file every ten minutes that "guestproperty set"s a custom property to 0, then waits for the guest (running its own batch file) to set the property back to 1. If the guest does so within a certain time, the host assumes the guest is working properly, since the guest has to be able to run a batch file successfully to respond to the heartbeat request. Everything is working fine.<BR><BR>But...<BR><BR>I can't stand those flashing command windows every ten minutes. So I'm looking into running the "guestproperty get|set" stuff in a Visual Basic Script (.vbs), which will run invisibly. I found the SDK reference manual, and I'm hunting through it. I've hit a jam, though. The manual offers this code as a test to see the version of Virtualbox from a vbs file:<BR><BR></DIV></FONT>
<DIV dir=ltr>
<DL class=codebox>
<DD><CODE><FONT face=Arial>set vb = CreateObject("VirtualBox.VirtualBox")<BR>Wscript.Echo "VirtualBox version " & vb.version</FONT></CODE></FONT></DD></DL></DIV></DIV>
<DIV dir=ltr><FONT color=#000000><FONT face=Arial>On the host, this popus up a little window with the version listed. On a guest, I get an error: "ActiveX component can't create object: 'VirtualBox.VirtualBox' "<BR><BR>I assume either there is no API to access on a guest, or it's called by something else. Anyone know?</FONT></FONT></DIV>
<DIV dir=ltr><FONT color=#000000 face=Arial></FONT> </DIV>
<DIV dir=ltr id=idSignature46675>
<DIV><FONT color=#000000>
<DIV class=MsoNormal><FONT color=navy face=Arial><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"></SPAN></FONT> </DIV>
<DIV>
<DIV class=MsoAutoSig><FONT color=navy face=Arial><SPAN style="FONT-FAMILY: Tahoma; COLOR: navy; FONT-SIZE: 12pt">Scott Gustafson</SPAN></FONT></DIV>
<DIV class=MsoAutoSig><FONT color=navy size=3 face=Arial><SPAN style="FONT-FAMILY: Tahoma; COLOR: navy; FONT-SIZE: 10pt">scott@rngcabinetshop.com</SPAN></FONT></DIV>
<DIV class=MsoAutoSig><FONT color=navy face=Arial><SPAN style="FONT-FAMILY: Tahoma; COLOR: navy; FONT-SIZE: 12pt"></SPAN></FONT> </DIV></DIV></FONT></DIV></DIV></BODY></HTML>