Launch the .exe application and initialize its position and size

How can I use LabVIEW to launch an application .exe as on the keyboard of the screen and initialize its position and its size?

I use the Windows XP system.

I know that I can use Exec.vi system to launch an exe application and close it, but how do I control its position as the race in the corner up-right when it is launched?

Hi RogerLu,

You can use the victory (user32.dll) API to get the handle to the window. If you have the handle, you can move the window with the function 'moveWindow'.

Mike

Tags: NI Software

Similar Questions

  • I tried to buy the creative cloud with all the included applications and I wrote my bank details and its been "approving or looking" for my card for an hour.

    I tried to buy the creative cloud with all the included applications and I wrote my bank details and its been "approving or looking" for my card for an hour.

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • When you install windows 95, which is the executable that launches the installation process, and where it is located?

    When you install windows 95, which is the executable that launches the installation process, and where it is located?

    The file is setup.exe.  Depending on your version of Windows 95 CD, it could be in the WIN95 folder or in a subfolder of WIN95.

    If you have more Windows 95 questions, great places to get responses are microsoft.public.win95.setup and microsoft.public.win95.general.discussion newsgroups.  It is a Windows XP forum.

  • What is the difference in the alta application and extend the alta?

    Mr President.

    What is the difference in the alta application and extend the alta?

    Concerning

    Alta application means - you change your application to alta and using only Alta Skin default skin

    While Extending means that you use your own skin (custom CSS file) that extends alta means you use alta, but you changed it for some components

    Ashish

  • You can directly download the CC applications and authenticate with my adobe cloud identification information without using the desktop application? whenever I have try with the desktop app it says impossible to arrive on the same adobe servers when I'm c

    Hello

    You can directly download the CC applications and authenticate with my adobe cloud identification information without using the desktop application? whenever I have try with the desktop app it says impossible to arrive on the same adobe servers when I'm connected to the Internet and I don't have any active anti-virus software?

    Thank you

    No application of cc, no clouds. It's the simple truth here. Programs cannot operate without him, since he controls the installation and licensing. the rest, we do not know, since you have not provided any useful technical information. Start by reading this (yet?):

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    What also good technical details are necessary.

    Mylenium

  • I have a problem with creative cloud applications is not to be downloaded or updated date on my i mac, current applications, I still have work. I uninstalled the cc application and re-installed but without success, in the apps tab there is no error code o

    I have a problem with creative cloud applications is not to be downloaded or updated date on my i mac, current applications, I still have work. I uninstalled the cc application and re-installed but without success, on the applications tab there is no code error only saying download error out area allowing you to charge applications call does not work... any suggestions?

    Hi James,

    Please follow the article: CC help | Download error in the applications tab of Creative Cloud Desktop Application to get this fixed number.

    Please let us know any questions.

    Thank you

    Yann Arora

  • square pulse time rather than the sampling frequency and size dependent frequency

    Anyone know if it is possible to create a pulse square with its dependent on the frequency at the time rather than the sampling frequency and size?

    for example if I set the frequency to 10. That means 10 pulses per second.

    rather than having to set the sampling rate and use the equation

    frequency = [(# of cycles) * (sampling frequency)] / sample size

    Thanks in advance. a photo of the block diagram would be grateful if possible

    NVM, that I solved it

  • How can I permanently change the default font and size in outgoing emails in Hotmail?

    I can't figure out how to set the default font and size for the text of all of my outgoing Hotmail emails.  Help!

    Hello

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • How you set the font style and size as the norm for the e-mail that is sent and received?

    I, too, have this problem. Am using Outlook.

    Separated from -.

    https://answers.Microsoft.com/en-us/Windows/Forum/windows_8-desktop/how-do-you-set-the-font-style-and-size-as-the/d48a95c5-68a1-4766-873d-d9924004feab

    Outlook policies can be changed in options.

    1. On the file menu, click Options
    2. Go to the mail section, and then click stationary and fonts
    3. Choose your fonts

  • How to import a layer that will have the same place and size that I have chosen?

    I have a lot of web to create files.

    All the products I have, can be chosen in 8 different sizes. And for each product and sizes, I need to put them in a room set file and then save it as a web file.

    or 10 products = 80 different web files.

    Each product to a particular size should be placed in the same area in the game room and have the same effect.

    For this, I have:

    1. create a bedroom set

    2. create models with sizes right for products to be included in the entire room (up to 8).

    3.I have created a series of actions for all sizes. Size of the image including the canvas size and export to a folder to have a layer for each product sizes.

    4.I need then to charge batteries to create a group and drag - move these files to the whole of the room.

    5 then I paste effects on all the layers in the group.

    6.I moved all layers in the right place, as a result of my models.

    So, I would avoid some steps of this... Because I have 100 products, so 800 files to create.

    If I can find a way to import (swap file one by one in the same place and sizes, she will avoid steps 3, 4 and 6, which will make my life much easier...)

    NB. Or remarks that helps...

    Hope this is not too complicated... and thank you for your help

    Jean

    If I understand correctly, you already have a common framework for all 100 products.

    For each product, you already have 8 image sizes to be placed in the parameter.

    If this is the case, the Variables can be the most convenient option that, once the model and tab delimited file are created, the placement of all the images of 800 would we automatic, accurate and extremely efficient both. Even if you work with images, I suggest rather than images and the type you watch the video and look at how it can be applied to your project.

    PS CS5 - working with Variables | The complete picture with Julieanne Kost. Adobe TV

  • How to filter the file type and size during uploadind files in APEX

    Hello

    I was wondering how I can do to validate the size of a file, before moving in my table? I want to filter the type of file, but for this one, I think I can use regular expressions in a validation process.

    I don't know if there is a way to read the size of the file, even before sending it into the temporary table.

    Thank you

    Bodart

    Hi salma,

    As far as I KNOW, you need to create a validation APEX (PL/SQL Returns Boolean or returns error text), which interrogate the details of the table apex_flow_files file. Here you can get the file type and size etc.

    So just to validate and if the validation fails, then delete the apex_flow_files and riase error message file.

    Kind regards
    Hari

    P.S. Please note that, if there are other validations apex on your page, and if they fail, always apex will load the file in the apex_flow_files table. It is sensible to create a validation (PL/SQL) that will trigger (condition) when online validation errors occurred. Make sure it is the LAST commit on your page in the sequence. And here you can write code to delete the table apex_flow_files.

    Published by: Hari_639 on Sep 20, 2012 22:09

  • How to get the outline color and size of the rectangle?

    Hi all

    I'm developing an extension for CS5 and higher (including the CC version). I want to get the outline color and size of a rectangle. I was able to do in CS5. But I noticed that in the version of the CC, there are two ways in which the user can apply to a stroke. One is by applying the effect in the layer Style, and the other through the properties panel. I am able to get the values of time in my script, if it is applied through layer Style, but I can't do it in the other scenario.

    How are these two different traits and how do I get the outline color and size if it is applied via the properties panel using script?

    Thank you!

    Here's what I have so far. It takes more work, but I don't think that's never very accurate.

    function toggleOtherLayersVisibility() {
        var desc = new ActionDescriptor();
            var list = new ActionList();
                var ref = new ActionReference();
                ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
            list.putReference( ref );
        desc.putList( charIDToTypeID('null'), list );
        desc.putBoolean( charIDToTypeID('TglO'), true );
        executeAction( charIDToTypeID('Shw '), desc, DialogModes.NO );
    };
    function liveShapeFillEnabled( enable ) {// boolean
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( stringIDToTypeID('contentLayer'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
            var shapeDesc = new ActionDescriptor();
                var styleDesc = new ActionDescriptor();
                styleDesc.putInteger( stringIDToTypeID('strokeStyleVersion'), 2 );
                styleDesc.putBoolean( stringIDToTypeID('fillEnabled'), enable );
            shapeDesc.putObject( stringIDToTypeID('strokeStyle'), stringIDToTypeID('strokeStyle'), styleDesc );
        desc.putObject( charIDToTypeID('T   '), stringIDToTypeID('shapeStyle'), shapeDesc );
        executeAction( charIDToTypeID('setd'), desc, DialogModes.NO );
    };
    function dupeVisibleMerged() {
        var desc = new ActionDescriptor();
        desc.putBoolean( charIDToTypeID('Dplc'), true );
        executeAction( charIDToTypeID('MrgV'), desc, DialogModes.NO );
    };
    function loadTransparency(){
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putProperty( charIDToTypeID( "Chnl" ), charIDToTypeID( "fsel" ) );
        desc.putReference( charIDToTypeID( "null" ), ref );
            var ref1 = new ActionReference();
            ref1.putEnumerated( charIDToTypeID( "Chnl" ), charIDToTypeID( "Chnl" ), charIDToTypeID( "Trsp" ) );
        desc.putReference( charIDToTypeID( "T   " ), ref1 );
        executeAction( charIDToTypeID( "setd" ), desc, DialogModes.NO );
    };
    function getLiveShapeStrokeInfo(){
        var doc = app.activeDocument;
        var lyr = doc.activeLayer;
        liveShapeFillEnabled( false );
        toggleOtherLayersVisibility();
        doc.artLayers.add();
        dupeVisibleMerged();
        var bounds = doc.activeLayer.bounds;
        var horzCenter = (bounds[2]-bounds[0])/2;
        var vertCenter = (bounds[3]-bounds[1])/2;
        lyr.visible = false;
        var sampler = doc.colorSamplers.add([bounds[0]+UnitValue(.5,'px'),bounds[1]+vertCenter]);
        sizeObject.color = sampler.color;
        loadTransparency();
        doc.selection.select([
                                [bounds[0],bounds[1]+vertCenter],
                                [bounds[0]+horzCenter,bounds[1]+vertCenter],
                                 [bounds[0]+horzCenter,bounds[1]+vertCenter+UnitValue(1,'px')],
                                 [bounds[0]+UnitValue(1,'px'),bounds[1]+vertCenter+UnitValue(1,'px')]],SelectionType.INTERSECT);
    
        sizeObject.size = doc.selection.bounds[2]-doc.selection.bounds[0];
    };
    var sizeObject = {};
    app.activeDocument.suspendHistory('Get Live stroke info','getLiveShapeStrokeInfo()');
    executeAction( charIDToTypeID('undo'), undefined, DialogModes.NO );
    sizeObject.size;
    
  • Unable to launch the Client Application-vCO and strange error - "exception on Hibernate JDBC data access...". "

    Hello

    We have an integrated vCO 5.5.1 installation with vCAC 6.0.1. The installation worked very well. Recently, we encountered a problem where we were not able to run that any associated workflow vCAC. The following error is thrown " " "JDBC Hibernate data access exception: SQLException for SQL [?]; State SQL [null]; error code [0]; Cannot release the connection; "the nested exception is org.hibernate.exception.GenericJDBCException: cannot release the connection in vCO. Do not know what is happening with the vCO. Can someone help me on this? It's urgent!


    To resolve this problem, all plug-ins have been recharged and services were restarted. That has not helped.

    There is another issue that is to appear after that. We cannot launch the vCO Client. Fig. 1

    We are not able to access the following URL: https://<vCO-IP-Address>: 8281 Fig. 2

    We are able to access the configuration of the vCO page (https://<vCO-IP-Address>: 8283) and the application of the vCO page (https://<vCO-IP-Address>: 5480)

    Your help would be appreciated. Thank you.

    -SK

    Not many details have been given to us. I just resolution. In the Configuration of the vCO page, under the network tab fair value 0.0.0.0 IP address and restart the Server Configurator vCO. Login back to the Configuration of the vCO page and restart the service. It worked like a charm! It is the resolution for the vCO is not opening in port 8281. Once this is done, even the vCO Client began to open.

    Come to the JDBC error, as soon as this problem has been resolved, did not appear the JDBC error. So, I'm not sure about the exact resolution for this.

    -SK

  • Error message is "launch the user interface and to reinstall the application" after executing the quick backup.

    Original title: speedy

    My pc tells me to open the settings of the user interface on my windows laptop 8. I currently have

    has ran a quick backup, and now iiiimy pc asks me to open the user interface and I have to reinstall the application

    not known were and how to find what to do.

    Hello

    Please contact Microsoft Community. I've surely you will help solve this problem.

    To better understand the issue, let me know if you get this error when executing quick backup?

    If you get this error message when running fast backup software, you can visit the article to uninstall and reinstall the software.

    http://TechSupport.SpeedyPC.com/system/templates/selfservice/speedybackup/#Portal/1013/article/8478/how-do-I-uninstall-and-reinstall-the-program

    Hope this information helps. Reply to the post with an up-to-date report of the issue so that we can help you further.

  • How was launched the EXE?

    Hi all

    It is a question of Windows: is there a way to go in my application (when run as an EXE file) if it has been launched by the user (click on the EXE file) or if the application was launched by the OS because it's in the boot?

    Thanks in advance for any help

    I don't know if there is, but you could probably configure the shortcut to pass an argument in the call and then check in your code if you receive it or not. I don't like this because it relies on a configuration that is hidden in the shortcut, so I probably prefer a file beats rather than a shortcut.

Maybe you are looking for