Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Browsing all 34639 articles
Browse latest View live

Can't get executable linked to VixAllProducts.lib to run on Windows XP

When I link to the VixAllProducts lib, I can't get my application (Win32 console app) to run on Windows XP Professional. The following error message is displayed in a message box:"This application has...

View Article


Image may be NSFW.
Clik here to view.

Get information on VM.

Currently im developing an app to monitor vmware VM's using VIX... in the monitoring section Im looking forward to extract information related to CPU (%) and Memory of the virtualmachines (VM, not...

View Article


Non-interactive VMware Tools install with VixVM_InstallTools

 Is there any way to initiate a non-interactive VMware Tools install using VixVM_InstallTools? Currently, the tools install launches a wizard GUI that prompts the user to select installation options....

View Article

More VM properties

I would like to see more VM properties exposed via the VIX API. Currently only the following VM properties are available: CPUs, memory size, pathname, power state, and tools state. Information like...

View Article

VixVM_WaitForToolsInGuest timeout can't work after call VixVM_RevertToSnapshot

 I encounter a issue.  VixVM_WaitForToolsInGuest timeout can't work after call VixVM_RevertToSnapshot. I call VixJob_Wait and hope that it can return after timeout or detect VM Tools is installed. But,...

View Article


LoginInGuest and VIX_CONSOLE_USER

 I'm interested in taking advantage of the feature described in the documentation snippet below: * Optionally, you may call LoginInGuest() with the constant defined by VIX_CONSOLE_USER_NAME in vix.h as...

View Article

VixCOM.VixLib.Connect call fails with error code 3014;...

 I am attempting to use the VIX API 1.60 from a VBS script to connect to a VC 2.5 Server using the VixCOM.VixLib.Connect call with the hostType parameter set to...

View Article

VIX API VM IP Address Info

Currently I'm using the VIX Perl 1.6.2 API to communicate to a Server 2.0 install. I have used the API to successfully register/poweron/suspend/shutdown a particular VM. I was wondering if there was a...

View Article


USB connect/disconnect

Hello! I'm not sure if this belongs in the VIX section of the forums. If it doesn't please show me where in the forums to post instead. What I want to do is simple: I want to be able to connect a USB...

View Article


LoginInGuest() issue with VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT...

 Hi, I'm having problem with the LoginInGuest() function when using the VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT option. Here's the code written in C#: jobHandle =...

View Article

Reading Environment variables problem

 Hi,   I am using ReadVariable with the option VIX_GUEST_ENVIRONMENT_VARIABLE and I am getting blank values. I am logged in as the Administrator.   Note, the two environment variables I can retrieve...

View Article

SOLVED: Insufficient permissions in host OS

I'm trying to use VIX to open a VM on a Server 2.0.  If I set the user as an admin on the server I'm able to open the machine just fine.  However if I remove the user from the admin group I get the...

View Article

VIX with Freebie ESXi

Hi all,  I'm trying to use VIX 1.7 remotely against a test ESXi 3.5 server (VMware ESX Server 3i, 3.5.0, 153875). It fails from the API when connecting (no errors) so I've tried going to basics and...

View Article


VIX API question vmrun says a File was not found

  I am trying to send commands directly to my Windows guest OS. Will the vmrun command come back with the information as if it was on the Windows command prompt?   I'm getting an error that the file...

View Article

help with RunScriptInGuest()

Hi,I'm trying to implement the function RunScriptInGuest in c#.Here is the code: public void RunScriptInGuest(string interpreter, string scriptText, int options){    VMWareJobCallback callback = new...

View Article


parse error while running vmrun.exe

 Hi,  I have installed Vmware Server 2.0 in Windows server 2008.  Im trying to connect the host machine using the vix api. it gives the following errors. Previously its working fine. What i have done...

View Article

porting set/getguestInfo to VIX (writeVariable)

I've been using the old magement API to exchange strings between host and virtual machines. Now I'm looking at upgrading which means I can no longer use the old scripting API - so as a first step, I...

View Article


Programming VIX in Python

Hello: I need to program some funtions with VIX API but I need do it in python. For this purpose I need to import dll, etc to python... and call vix functions from a python script... someone can helps...

View Article

IP address of guest OS (VIX API)

Is there a way to figure out the IP address of guest OS in the VM, using VIX API. I did notice in a couple of discussion threads, mention of trying to read VM specific variables using...

View Article

Modifying built-in VNC server configuration

I am experimenting with some code where I want to switch on the VNC server inside Workstation 7.1.2 via the VIX API by writing to runtime configuration variables. At the moment just using vmrun to do...

View Article
Browsing all 34639 articles
Browse latest View live