Having issues with setting the "Active Window"

Hello List,
I've got a LV installation that runs three LV created EXE's simultaneously. In the "top level" application, the user enters a product model number (by way of a PS2 barcode scanner) to be tested, and that application looks at our network to see if there is a test recipe for the product. If there is, it hides and moves itself to the bottom and maximizes and moves to the top EXE number two. On EXE number two, the user is supposed to scan the product serial number. But on occasion, EXE number two is not the active window, even though it is the frontmost and maximized, so the scan from the barcode reader doesn't go into the field. (Looking at the Taskbar at the bottom of the screen, the task for the frontmost & maximized EXE is not "depressed")  A simple mouse click anywhere on the window will make it active, but the users don't have a mouse (or keyboard) (I am able to "remote in" from another computer using a product line "PC Anywhere). I have tried using the "mouse_event" from user32.dll in a "Call Library Function Node", but that doesn't seam to work reliably.
So my first question is, will the "mouse_event" from user32.dll even fire if my computer doesn't have a mouse plugged in?
And, if not, does anyone have any better ideas?
Thanks in advance,
Mike

wd8ivl wrote:
So my first question is, will the "mouse_event" from user32.dll even fire if my computer doesn't have a mouse plugged in?
I'm guessing that it would, because Windows has a cursor even if there's no mouse plugged in, but I haven't tried it.
As for the second question, you could try what I posted here, although you'll probably want to clean up the code - http://lavag.org/topic/12751-how-do-you-make-your-​application-window-frontmost/?p=76308
Try to take over the world!

Similar Messages

  • Hi am having issues with getting the list of users from the Active Director

    Hi am having issues with getting the list of users from the Active Directory, can anyone help me with this!

    Hi Jason,
    Try this:
    1.  In Ultiboard select Tools>>Netlist Editor>>Pins, press the Delete button
    2.  Select all nets in the Select the Net to Delete dialog and then press the Delete button.  This will clear all nets in the layout, don't worry all traces, parts are still on the design.
    3.  Go to Multisim and select Transfer>>Forward annotate to Ultiboard.    This will add all nets that you removed back and it should fix the pin problem
    Tien P.
    National Instruments

  • I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the app does not accept the change, and automatically enters its own time. Am I doing something wrong?

    I am having issues with adjusting the duration of time for each still frame and transition in imovie 11.  Each time that I adjust these times, the application does not accept the change, and instead automatically enters its own time. Is there a work around this? Or am I doing something wrong? Please Help!
    Thank you,
    lagrl

    Have you tried turning off automatic transitions ? Choose file - project properties and follow the dialogue box to change duration with a slider.  iMovie also doesn't allow a transition to be more than 50% duration of the clip its attached to. In other words if the clip is 4 seconds the transition cannot be more than 2 seconds and remember that relates to the first clip as the following clip (right side) is pulled back to overlay it.
    Does this help.  Perhaps you already know this ?

  • Having issues with Mac the ripper and DVD2OneX2

    Is anyone having issues with these two programs, i try to rip my home collection of dvds ( not bought movies) with these programs and they both crash on me.

    both of these apps work fine for me.

  • Issue with setting the tag "Bld_localDestDir" in pre-build VI: Project gets saved to previous localDestDir.

    Hey All,
    I'm writing a pre-build VI that updates the build destination (and other items, but we're ignoring those for now). This pre-build vi, when run, grabs the Destination Directory from the tag "Bld_localDestDir" and modifies the directory by incrementing a version number.
    The issue I'm having is that after the pre-build vi is run, the build continues and puts the executable in the *previous* Destination directory instead of the updated one.
    Example:
    Destination Dir = c:\temp\version1   -->   Choose to build the executable   -->   Pre-build VI runs and sets Destination Dir to c:\temp\version2   -->   Build finishes and says "You can locate the build at C:\temp\version1"   -->   Check the build properties, destination dir is C:\temp\version2   -->   build again   -->   Pre-build runs and updates destination to version3   -->   Build finishes and says "you can locate the build at C:\temp\version2"   -->   check build properties, destination dir is C:\temp\version3
    And so on and so forth. As you can see, the tag setting is working (as witnessed by the Build Properties being updated). However, it looks like the destination directory for the build is determined and set *before* the pre-build VI is run. This is, in my opinion, not intended behavior.
    Here's a snippet of a watered-down version of the code, which still has the issue. I've also attached the full VI, saved for LV2010.
    The attached VI will grab the version number of the build, append it to the startup vi's title bar, update the build destinations with a new path that has the version number, and then save the project.
    As a final note, I'd prefer to not use a post-build VI to rename the directory that the build is placed in.
    Solved!
    Go to Solution.
    Attachments:
    Pre-Build Action 2010.vi ‏25 KB

    > Leah-L Said:
    > We were able to replicate your problem here as well. We are also seeing that the destination directory for the build is determined and set *before* the pre-build VI is run. Just so I am aware, have you found any other documentation concerning Pre-Build VI's?
    Cool, thanks for confirming that I'm not crazy.   And no, I haven't found any documentation concerning this phenomenon.
    > gmart Said:
    > it potentially processes the information and so simply updating values may not have the desired effect
    Good to know. I think this should be in the documentation somewhere though, perhaps in the detailed help for the Get/Set Tag invoke nodes for a Build Spec reference.
    To fix the issue, I've just made my own "Build Executable" vi that sets the tags before the build is started. It uses the same VI that I attached earlier (confirming that the VI works). Instead of starting the build from the project window and having a pre-build vi execute, I run this stand-alone VI and it builds the app.

  • Having issues with getting the slide to advance properly after audio is done playing

    Before I describe the problem I will describe what I'm trying to do.
    I have a slide that plays a video.  When the video is finished the user clicks a Continue button, and a short audio clip plays, and then the slide advances to the next screen.  The problem comes when I'm trying to integrate closed captions.  Since CC is only allowed at the slide lever I created an advanced action that is intended to display the audio text and play the audio.  The caption with the audio text displays fine, but one of two things happens with the audio:
    The slide advances before the audio is done playing.
    I add a pause action to the advanced action and the slide does not advance at all.
    Does anyone have any advice on how to control the slide so it will advance once the audio is done?  Thanks in advance for your help.

    The Pause action WILL pause the slide if invoked.  And there is no way to set the duration of the Pause in the Advanced Action.
    I would suggest you add a button to the slide that the user clicks to go to the next slide.  Add the short audio clip that you want the learner to hear to the On Success caption of that button and set the button properties to Pause for Success/Failure captions.  You can add the CC text for the short audio clip into the success caption so that it appears as the audio is playing.  As soon as the audio clip finishes playing the success caption will disappear and the timeline will continue to the next slide.
    No Advanced Actions required for this solution.

  • I cannot access my ebay account. I can still look for stuff but if I try to login in I get an error message saying that the connection was reset. This is the only site I am having issues with. The site works with IE6 but I would rather use Firefox.

    - Was having problems accessing messages on Facebook, seems to be working now
    - Cannot login on ebay.ca or ebay.com
    - Having troubles listing items on ebay (uploading pictures)... this started before the logging in problems
    - Problems only on laptop, other PC in the not having any problems
    - Can log in to ebay using IE on laptop, but I would rather use Firefox

    HouFunGuy wrote:
     One thing I notice is that the _mmServerScripts folder does not show up in my Local Files folder - even after refreshing. (The underscore must hide this folder?)When I change the drop-down from Local View to Testing Server I don't see the _mmServerScripts folder, and all folders are red.
    The underscore at the beginning of the folder name hides it in the Files panel, although you can turn on the option to display hidden files by accessing the panel options menu.
    The folder icons in the Files panel are colour coded: green is for local files, red represents the testing server (or Subversion repository, if defined), and yellow (Windows) or blue (Mac) represents your remote server.
    As Randy says, check the Web URL in your testing server definition. It should be http://localhost/check_php/.

  • Is anyone having issues with installing the 32 bit version of Adobe Presenter?

    I am trying to install the 32 bit version of Presenter on my computer from the downloaded file on the website. I have an authorization code I put in and then when it starts to download it asks to insert the disk when there is not one. Below are the specs for my computer:
    Windows 7, Microsoft Office 2010, PowerPoint version 14.0.7166.5000 (32-bit)
    Any suggestions???
    Thanks,
    Chris

    After downloading, please do not go inside Presenterwin32” folder or the “Presenterwin64” folder .
    Use the setup.exe that is outside these folders. It will automatically detect whether your PowerPoint is 32 or 64 bit and will install the corresponding Presenter.
    Hope this will resolve your issue.
    Thanks
    Alpi Agarwal
    Adobe Presenter Engineering Team

  • HT1694 Is anyone else having issues with setting up email through their Yahoo account on 7.1?

    My Yahoo account was hacked and I had to change the password. Tried to update it through settings and I'm getting the message Server Unavailable. Try again later. Has anyone experienced this or know how to help? Tried setting it up as an Other email account and that didn't work either.  The same thing has happened with my iTouch4.

    Yes, Yahoo is known for this. - connection to server failed or unavailable.

  • HAVING ISSUES WITH SETTING UP AN EXTERNAL HD TO AIRPORT EXTREME

    I have a 5th generation Airport Extreme that is 2 months old and for the life of me I can not get it to see the new Lacie 2 TB external I just purchased today.  I have followed all the directions from the Apple support site and NOTHING! I just want to be able to back up my MBP 15" wirelessly...if any one can help that would be AWESOME!!!

    Checklist.....
    The hard drive is formatted in Mac OS Extended (Journaled)
    Verify that the USB cable is working correctly
    Use a powered USB hub due to low voltage on the AirPort Extreme USB port
    Locating via Finder.....
    Open Macintosh HD or Finder
    Click the AirPort Extreme icon under the SHARED heading
    A folder representing the drive will appear in the window to the right
    Double click the folder to mount the drive on the desktop
    Caution......
    Time Machine backups to a drive at the USB port of the AirPort Extreme are not supported by Apple.
    You should be OK for regular file storage, etc.

  • Line Chart query...having issues with finding the right SQL...tough query

    This initaial entry was much longer and confusing.
    I'm looking to make ar running total based using time periods...see the link in the last post to get to the demo.apex.com area.
    Rob
    Edited by: bostonmacosx on Feb 14, 2013 1:33 PM

    bostonmacosx wrote:
    Hello there. So I hope I can explain this sufficiently:
    OUT OF THE WAY: 11g 4.1.1
    I'm going to simplify my data so that it is clear what I'm looking to do.
    I want to have a line chart grouped by date. Let's say monthly...this is easy to do if you are dealing with one specific date and some value you can build the series against with case statements. I've done that a million times.
    The columns of data I'm dealing with are as follows:
    CREATE_DT(create date)
    RETIRE_DT(retire date)
    MACHINE_TYPE(type of machine)
    So lets say I want to see a line chart where each line(data point) is a MACHINE_TYPE and each bin is a month. That month should be any machine with a CREATE_DT below then end of the month and a RETIRE_DT which is either Greater then the end of the month or is NULL(ala hasn't been retired yet).
    In the query for a chart which is
    SELECT LINK,LABEL,CASE()"",CASE()"",CASE()"" from TABLE GROUP BY ROLLUP(VALUE)I guess I'm not seeing how to be able to put these values together so that it walks month by month and figures out the values and puts them in the correct "bin" of time along the X axis of the chart.
    I hope I'm being semi clear as it is hard to explain this scenario. Nope. Clear as mud.
    If time is plotted against the X axis, what measure is plotted on the Y?
    =============
    on another note I built this table from the data:
    01-JAN-12     01-FEB-12     01-MAR-12     01-APR-12     01-MAY-12     01-JUN-12     01-JUL-12     01-AUG-12     01-SEP-12     01-OCT-12     01-NOV-12     01-DEC-12     01-JAN-13     ENVOS
    59     59     59     59     59     59     59     59     59     59     59     60     60      Alias
    12     26     26     26     26     26     26     26     26     26     26     26     26      Blade
    9     9     9     9     9     9     9     9     9     9     9     9     9      DataMvrUsing the function:
    create or replace FUNCTION ACTIVE_SYSTEMS
    RETURN VARCHAR2
    is
    var1 VARCHAR2(4000):= '';
    start_date DATE:= to_Date('05-JAN-2012','DD-MON-YYYY');
    end_date DATE:= to_Date('08-JAN-2013','DD-MON-YYYY');
    new_start_date DATE;
    BEGIN
    new_start_date:=trunc(start_date,'MONTH');
    var1 := q'!SELECT !';
    while(new_start_date<end_date)
    LOOP
    var1 := var1 || q'! count(case when create_dt<'!'||to_char(new_start_date,'DD-MON-YY')||q'!' and (retire_dt IS NULL or retire_dt>'!'||to_char(new_start_date,'DD-MON-YY')||q'!') then 1 end) "!' ||to_char(new_start_date,'DD-MON-YY')||q'!",!';
    new_start_date:= add_months(new_start_date,1);
    END LOOP;
    var1 := var1 || q'! CMS_NODE_OS.OS_TYPE||' '||node_env as envos from CMS.CMS_NODE LEFT join CMS.CMS_NODE_OS on CMS.CMS_NODE.NODE_NAME=CMS.CMS_NODE_OS.NODE_NAME where retire_dt is NULL group by rollup(CMS_NODE_OS.OS_TYPE||' '||node_env)!';
    RETURN var1;
    END;
    Instead of inadequate attempts to explain this here with fragments of code that we can't do anything with because we don't possess the objects and data they're based on, show us something. Create the objects and some sample data in a workspace on apex.oracle.com and post guest developer credentials. Sketch the required chart or mock it up in a spreadsheet and upload it as an image or PDF so we can see what you're aiming for.

  • Having issue with installing the newer version of flash player 15

    this system i think is windows vista 32 bit and trying to install the new version but it gives me this error -
    The ordinal 495 could not be located in the dyamic link library urlnon.dll.
    how do you fix this?
    it does it for all browsers too

    Try resetting Internet Explorer using http://go.microsoft.com/?linkid=9646978

  • Having issues with installing the latest version?

    Hello, I recently reinstalled my windows xp and I am trying to install adobe flash player for youtube ect. When I'm in the middle of installing it, this little screen pops up and says: The procedure entry point SetDllDirectoryW could not be located in the dynamic link library KERNEL32.dll. Please help
    Thanks,
    Tiffany

    Use the forum for Flash player.

  • Having issues with syncing the ipod to the itunes

    when i load the ipod after rebooting it will say songs on ipod "name" cannot be updated because all of the playlists selected for syncing no longer exists HELP! i just got the ipod nano and i dont want to have to return it. it was an earily christmas present n it also says that the files are being used under another program

    Have a look at this user tip, it should sort out your missing playlist problem: Hudgie - iPod cannot sync because one or more playlists are missing

  • Have Officejet J4680c and having issues with getting the wireless to work with my pc (HP Pavilion)

    HP Pavilion Elite- have followed steps in quickstart- doesn't recognize it as a device-
    This question was solved.
    View Solution.

    I assume you have a wireless router?  What brand?
    Have you done this from the front of the printer?: Setup > Network > Wireless Setup Wizard
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

Maybe you are looking for