Create a virtual click in the code

I tried to activate a button based on clicking on a certain column in a datagrid.
1. I don't know how to access the index of the column value, but can access the line easily with SelectedIndex
2. don't know how to click on the specific index of the command button.

Can anyone help with this?

Thank you
Dev

fact

Tags: Flex

Similar Questions

  • Create new virtual machine of the model that have two hard drives in the different data store

    We do VM deploy automation with PowerCLI.

    There is already a model created with at least two hard drives to one side and each hard drive belong to difference datastore,

    In the model's operating system is Windows server 2008 R2 already installed VMware Tools and other software in the second (other than C: driver) driver

    We can successfully deploy a new virtual machine with this manually with vSphere client model.

    But when we try to make the deployment with PowerCLI, can not find examples of similar scripts in the document of reference,

    and we also google this question, still no similar question was found.

    Is this possible with PowerCLI? If it's possible could you give me some advice or an example of script, thank you!

    Best regards.

    I already found the solution.

    With the vSphere SDK .NET API, we can create the new virtual machine to the model

    Mainly used API listed below, sorry because I can not give the source code here.

    • VMware.Vim.VirtualMachineCloneSpec
    • VMware.Vim.VirtualMachineRelocateSpec
    • VMware.Vim.ManagedObjectReference
    • VMware.Vim.VirtualMachineRelocateSpecDiskLocator
    • VMware.Vim.ManagedObjectReference
    • CloneVM_Task

    For reference, you can take a look at this post and this post

    LucD , thanks for your help!

  • Create a virtual machine using the ubuntu (host of W7) partition

    I am running Windows 7 and 8 of VMware Workstation.

    The disc is actually a raid-0. There are 3 partitions: (Dual-boot)

    -Ubuntu (64-bit)

    -System reserved Windows

    -Windows (64-bit)

    I am trying to create a virtual machine under W7 using the Ubuntu partition.

    I tried 2 things for step 'select a physical drive:

    -Use individual partitions. The problem is at the end, when you click Finish. I get the error: "one of the provided parameters is not valid."

    -Disc use whole. The virtual machine is created, but when I turned on, I get the error:

    "Could not open the disk ' C:\. [..] \Ubuntu 64 - bit.vmdk' or one of the snapshot disks it depends on.

    Reason: the physical disk is already in use. »

    Thank you in advance for answering,

    Kind regards.

    In my tests I couldn't use a host physical diskwith a Windows 7 without setting the disc 'offline '.
    But then you can set the diskette from Windows Startup 'offline '.

    Using Linux or 2003, you don't have this problem.

  • How to add a new document type to those that you can create by right-clicking on the desktop window or fodler?

    When you right-click on the desktop or the window displaying the contents of a folder and select 'New', you see a list of the types of documents you can create. How to add and delete?

    When you right-click on the desktop or the window displaying the contents of a folder and select 'New', you see a list of the types of documents you can create. How to add and delete?

    With regedit , you can see a lot of extensions of files known, for example, HKEY_CLASSES_ROOT\.txt for txtfile.   To get rid of the "new extension" option in all of the folders that you can rename the key HKCR\.txt\ShellNew to HKCR\.txt\ShellNew.disabled or similar.

    Some applications can open empty files, for example, Notepad can open a (new) empty text file.  For the purposes of C:\windows\shellnew which is indicated by an empty string (REGSZ) NullFile.
     
  • Can I just create a virtual machine with the installation of operating system and Application in an external drive?

    People,

    Hello. I use VMPlayer to install virtual machines a few OS in my laptop.

    Because my laptop's hard drive space is not enough to create a VM more to install Oracle Linux and its Application, can I just create a virtual machine in my laptop and then install Oracle Linux and its Application in an external USB disk?

    You can create and save the Virtual Machine in any place that you have read & write access to and enough space to support what is being installed.

  • Create a virtual machine with the physical RAM total?

    I want to virtualize ESXi 4 on my MacBook Pro. However, I have 2 GB of RAM and ESXi 4 requires a minimum of 2 GB.

    I posted in the community of ESXi (is it possible to virtualize ESXi 4 with less than 2 GB of RAM?) and there is a solution for using ESXi with less RAM, but the problem is that I first need to run the installation with 2 GB.

    Basically, I tried to create a virtual machine with 2 GB, but the maximum I can use is 1840MB. Is it something that I do with Fusion to increase this limit? I understand that I am under a host operating system and requiring too little RAM, but just to get through the ESXi installation isn't it possible to push the VM of RAM to 2 GB and the host what OS increase the pagefile to deal with the lack of RAM?

    Any help would be appreciated!

    Thank you

    You may be able to edit the .vmx file and change the memsize option either 2048 or more. The merger is able to start a virtual machine with more memory that the host, just UI prevents common users to exceed the limits of security in general.

    I'm not quite sure what would happen if the VM actually tries to use all of the memory. If all goes well, it will be just talk and run slowly. Of course, the worst case are that it crashes.

  • Create several virtual machines from the same base image

    Hi all

    Is there any vi api sdk by which I can create several virtual machines form same base vmdk file?

    All create the VM from the base VMDK file will have their own delta vmdk file that will refer to the same base VMDK file. Only changes that are performed on each virtual machine are saved on their respective delta vmdk files.

    Thanks in advance...

    Hello

    What you are referring is called Clones related, in the current VI API, there is no method that supports this feature. You can take a look at CloneVM_Task() http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/vim.VirtualMachine.html#clone if you want to implement a full clone and this will require you to have access to vCenter.

    In the next version of vSphere, vSphere SDK THAT will provide a way to implement the related Clones and it will be a parameter you can specify CloneVM_Task() , more precisely in the VirtualMachineRelocateSpec where you will specify diskMoveType to createNewChildDiskBacking

    You can find more information once vSphere of GA and the new QAnywhere VI documents are released, but if you are looking to implement related Clones today, you can take a look at the product of VMware View 3, which provides support for linked Clones or you can take a look at two scripts that I wrote which creates linked Clones similar to that of the view :

    Clones related to ESX

    CLones related to ESXi

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • Lost the option paste on a right click on the code.

    I lost the option paste on the right click of the mouse. The option to copy and cut is still there, but not paste.

    ideas please

    Apple iMac

    cheers in advance

    Please try to delete the cache as shown in the link below, and this should fix the problem if it is limited to Dreamweaver.

    Deleting a corrupted cache file

    Concerning

    Vivek

  • Creating Eclipse is no longer the COD project file

    Hello.

    I encountered a problem. My BB Simulator has worked very well all morning, but now when I click Run as > Simulator Blackberry my application never gets loaded on the device.

    I also noticed that there is no .cod file in my folder of expected results. Right now, I can not test, don't know what I have to do.

    Can anyone help?

    Thank you.

    Problem solved, see the thread next (post JProfitt)

    http://supportforums.BlackBerry.com/T5/Java-development/Eclipse-I-O-error-cannot-run-program-quot-ja...

    Basically, I need jar.exe in my PATH. I found got the following file:

    C:\Program Files\Java\jdk1.6.0_21\bin\jar.exe

    Copied and pasted into each of the following folders:

    Files\Java\jre1.6.0_02\bin

    Files\Java\jre1.6.0_03\bin

    Files\Java\jre1.6.0_05\bin

    Files\Java\jre1.6.0_07\bin

    Files\Java\jre6\bin

    Thanks jProffit, I have to go back now and Kudo your post.

  • Creating machines virtual mulitple of the same image

    Currently, we have an obligation to produce 100 identical virtual machines from an image for data loading tests. Does anyone know VMware produce a product that would help me to deploy these machines quickly and efficiently. Currently the only method I can find is running converter 100 times http://communities.vmware.com/images/emoticons/sad.gif we are running 3 ESX servers.

    Thanks in advance for your help

    Steve

    You need not necessarily to buy a VMware product to do this, you can do so via the CLI, it is pretty manual and using the vmkfstools to copy your vmdk x-amount of time. If in entry if you will manage 100 VM (s), I would say looking into VMware vCenter, it is a management tool that allows you to manage your host and VM (s) and provides additional features, one of which is cloning and customization of each clone by using sysprep. If the requirement is complete clones, then you can go this way, but if you don't necessarily need full clones because that will take a significant amount of storage, you can watch in Linked Clones, which is available through a VMware product called View 3. You can do a quick search for these two products mentioned on the VMware site: http://vmware.com/products/product_index.html

    If you are looking for some free solutions to the above, you have a few options and if you are uncomfortable with the CLI:

    ghettoClone

    Ghetto-esx-bound-clone

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    http://Twitter.com/lamw

  • Create the virtual machine with the type of controller SCSI LSI logic SAS with PowerCLi

    Hey guys,.

    IM the difficulty to create a virtual machine with the type of controller SCSI to "LSI Logic SAS". The cmdlet New - VM im struggling to find where to create the type of controller?

    If you create a virtual machine without specifying a disk it will create a 4 GB SCSI type thick (0:0) hard drive 1 with 0 Parrall default BusLogic SCSI controller.

    What im wanting to do is to create a disk hard which is thin Prov. and create SCSI LSI logic SAS controller is set to.

    New-VM -name VMSTORE23 -$vmhost $esxhost MemoryMB- 4096 NumCpu- 2 -NetworkName "Vlan 6 Machine Virtual Network" | Get-NetworkAdapter | Set-NetworkAdapter -Type Vmxnet3 -MacAddress '00:50:56:00:00:21' -confirm:$false

    I have recived of aid by some LucD who helped direct the value of the network card in the New - VM cmdlet as follows. But I'm not able to add a hose for hard disk also like:

    | Get-hard drive | Together-hard drive - Datastore $datastore - slim StorageFormat

    And I have no idea how change the type of SCSI conroller or create it with the correct configuration?

    Any help would be great,

    Thanks in advance

    Eddie

    Greetings, steddyeddie-

    You should be able to use Set - hard drive and SCSI controller Set cmdlets to set the storage format of your hard drive and the SCSI controller type, respectively.  You were close to on the part of game - hard drive .  Try something like:

    ## get the VM object $vmVMSTORE23 = Get-VM VMSTORE23 ## set the harddisk storageformat to thin$vmVMSTORE23 | Get-HardDisk | Set-HardDisk -StorageFormat Thin ## set the SCSI controller type$vmVMSTORE23 | Get-ScsiController | Set-ScsiController -Type VirtualLsiLogicSAS
    

    It could pack in to your existing order to keep it as a good word, but for readability.

    Enjoy

  • Problem with the Code/Design view buttons

    (My bad... maybe a clearer title will help you...)

    OK, I work with DW CS4 v.10.0 Build 4117 on a platform of Win XP Pro SP3.

    When you work with files from my site, they open in Code view.  The Split and design buttons are grayed out.  When I click the page layout button, the check mark is sometimes next to the option Code, but sometimes next to Design (even if the page is clearly displayed only in Code view!).

    To view the file in Design view or split view, click the page setup button, click on the Code, click on the button layout again, click Design or split view and then it will display the page in this way file.

    It's SO frustrating!  Is this a bug in CS4?  (I scanned through the other topics and can't seem to find anything about it.)  I don't remember having this problem with CS3 and have spoken with other DW CS3 users who also say that they have never had this happen.

    What can I do?

    Thanks in advance for any help you can provide.

    Susan

    Hi Susan,.

    I might have a solution for this one. I had the same problem. It would be 'reliable' whenever I would create a new PHP file.

    "File" > "New" > "PHP" > Layout 'None' > 'Create' - no buttons 'Split' or 'Design' (grey)

    In 'preferences' under 'File Types/errors', there is a section "open in code view".

    I removed the. The extension PHP from here, tried again and it worked!

    Maybe it will work for you.

    Good luck

    Tony

  • Virtual PC - create new virtual machine snap into button appears not

    I installed virtual PC and having the image in XP mode works on Win 7 64 bit on a Dell Optiplex 990 i5 processor.  However when I choose the Manager of Windows Virtual PC and the Windows Explorer window opens, I see not the option create a virtual machine, just 'burn' where it should be.

    I tried to activate windows 7 aero UI think the classic look of windows blocked somehow but that has no effect.

    I tried to reinstall the configuration of virtual machine directly on the site but it gives me the message that there is not suitable for use.  I tried uninstalled and re - install, but get the same when the Explorer window is missing the snap.

    How can I get the snap in option seem to create a virtual drive?  The window appears with the title of Virtual Machines.

    Once again, the image in XP mode work properly and starts and stops without any problem.

    Hi NSmith,

    It is better suited for the IT Pro TechNet public. Please post your question in theTechNet Support Forum. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en/w7itprovirt/threads

    I hope it helps. If you have problems in the future, please let us know. We will be happy to help you.

  • How to get from the code to the direct view

    Hello

    Maybe a silly question but... When I'm in direct view and I click somewhere, the corresponding code is automatically selected in the code window; but when I click anywhere in the code, I'll be back automatically at the top of the page in the window of direct view. How can I go directly to the corresponding direct view when you click in the code window?

    Thank you

    Switch to the Design mode.

  • Virtual machine in the DMZ

    Hello

    We have 8 guests ESXi 5.0 in our internal network, network cards connected to 2 internal switches of the kernel.

    Can I do below;

    (1) create a new virtual switch "vSwitchDMZ" on one of the host, with "DMZ_VLANid".

    (2) assign a NIC to this vSwitchDMZ

    (3) connect this adapter to the physical switch DMZ port (this port will be access VLAN for this id VLAN individual)

    (4) create a new virtual machine with 1 NIC and assign it DMZ_VLANid

    Question:

    (A) I need to create 2 virtual machines in the DMZ. I can do it, or there is risk involved?

    (B) If no, then how the maintenance of the 2 mV in DMZ can be achieved? We have no license Cisco Nexus 1000v.

    Hope that I am able to explain my concern.

    Thank you

    Mihir

    A.) Yes it is possible. As long as the virtual machines connect only to the DMZ vSwitch, and DMZ vSwitch has only an uplink to the physical DMZ pass it's ok form a networking perspective.

    You can even create a DMZ switch on each of the hosts to use HA and vMotion for VM in case it is needed.

    André

Maybe you are looking for