Could not SDK with VB (IMachine error)

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
Bubba
Posts: 7
Joined: 13. Jul 2012, 23:51

Could not SDK with VB (IMachine error)

Post by Bubba »

Hi,

When I tried to use Visual Basic to program VirtualBox 4.2.20 SDK API, for example, programmatically clone/delete virtual machines, the “hello world” task never succeeded (in folder “C:\Program Files\Oracle\VirtualBox\sdk\VirtualBoxSDK-4.2.20-90983 SDK\sdk\bindings\mscom\vb\sample\vboxinfo.vb”):
During execution, visual studio says that
“Could not load type 'VirtualBox.IMachine' from assembly 'VB_VirtualBox, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.”
Image

although I have already added reference to “VirtualBox Type Library” to the project.
Image

Does anyone know how to make VB work for the SDK?


Bubba
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Could not SDK with VB (IMachine error)

Post by noteirak »

Having no knowledge of how to work with VB, and in case you do not get any answers here, I would suggest using the dev mailing list - you might get an answer there.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply