How can I force the close of a third party ActiveX server.

We have a third party ActiveX executable that refuses to shut itself down once in a while. And when I say once in a while, I mean one out of every 20-30 times it's attempted. All termination commands are being sent and recieved properly, and all refnums are being closed. No errors are ever generated, all operations report successful, but the thing just won't die. Problem is of course, that if we attempt to restart our software after the ActiveX app fails to terminate, it generates server execution errors when trying to open a new instance. We are not expecting a speedy resolution from the third party, but it is becoming a great inconvenience for our customers. I would like to be able to kill the process thro
ugh the OS as a last resort. Problem is, to do that I need a ProcID. Is there any way to retrieve a ProcID for the ActiveX server through LabVIEW? Alternatives and suggestions are welcome.

Hello codeman,
Thank you for your inquiry regarding closing a third party ActiveX server. It sounds like the third party application is having trouble closing. There are several Windows Utility VIs available that could help in this case. One of the Utility VIs is called Get Window Refnum and should return an instance of a Windows window. The following links are great resources when dealing with this issue.
http://digital.ni.com/public.nsf/websearch/136F6B1​F34CBB76E852563FC007AEFC7?OpenDocument
http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=B45EACE3EF4556A4E034080020E74861&p_​node=DZ53008&p_submitted=&p_rank=&p_answer=&p_sour​ce=External
Other responses similar to these can be found on the ni.com website by clicking the support tab at the top
of the home page. Then search for �refnum instances� from Technical Resources at the top of the page or topics similar to this. I hope these resources help. Let me know if I can further assist you.
Shea C.
Applications Engineering

Similar Messages

  • How can I get the rest of my third party audio plugins (UAD & Altiverb) to show up in FCPX

    Hello Everyone,
    In FCPX'as audio effects I can see the Logic (included with FCPX) plugins, as well as my own Celemony (Melodyne) & PSP Audioware plugins. However, my UAD plugins and Altiverb are not there. How do I get FCPX to see my other audio plugins that are also currently on my machine?
    Any help appreciated, thank you.
    ~Shea A.J. Comfort

    err = -50 when downloading from store - https://discussions.apple.com/thread/3697501 - delete incomplete downloads from downloads folder as per http://support.apple.com/kb/TS3297
    iTunes Store: "Error (-50)" when downloading purchased content - http://support.apple.com/kb/TS1583

  • How can I force the use on a specific application when I am in the Downloads window?

    I have Vista and Firefox 3.6.15
    when I open an email attachment it goes to the intended application but when I click on the downloaded file in Downloads it invokes OpenOffice and then it displays:
    "Move background page assignment
    The loading of password-encrypted Microsoft Powerpoint presentationsis n ot supported"
    How can I force the use on a specific application when I am in the Downloads window?

    Hi Frank!
    you should catch your save-event and after saving put the following line:
    oMatrix.Columns.Item(4).Cells.Item(lstRowIndex + 1).Click(SAPbouiCOM.BoCellClickType.ct_Regular);
    that's it!

  • How can I put the close button in the mainframe of the dialog?

    Hi all,
    I am creating a new dialog and I would like to konw...
    How can I put the close button in the mainframe of the dialog?
    Thanks in advance.
    Best regards,
    Juanma.

    Juanma,
    Usually, a dialog would have an OK and a Cancel button, both can be served as the close button, but if user clicks the ok button (DefaultButtonWidget) to close the dialog, your dialog controller's (if it is based on CDialogController) ApplyDialogFields will get called so you can react to the OK action, otherwise, if user clicks the cancel button (CancelButtonWidget), nothing will happen. The dialog simply is dismissed.
    See BasicDialog SDK sample to see how to add DefaultButtonWidget and CancelButtonWidget to a dialog.
    Thanks!
    lee

  • How can I force the unlock of one  locked resource?

    I have locked a resource, how can I unlock the resource?
    I try to call unlock function but I receive an error (ORA-31108)
    Is there a way to force the unlock of a resource locked by other user?
    thanks

    Is there a way to force the unlock of a resource locked by other user?Yes. get a DBA to kill the session. Actually it might be better to kill the OS process.
    Alternatively get the DBA to find out who the user is, and phone them up. This won't help if it's not an actual person (it might be a batch process).
    Cheers, APC

  • How Can we force the Hyper-V Replica to use a dedicated network between two hyper-v hosts?

    Dear Team,
    How can we force Hyper-V Replica to use a dedicated network between two hyper-v hosts?
    For live migration, we can choose the desired network in Hyper-V Manager (Use these IP addresses for Live Migration).
    I have two 10G adapters teamed together, the virtual switch is created on top as converged network with several vNICs (MangementOS, LiveMigratrion, Backup, etc...)
    Each network is set with a specific VLAN to isolate the traffic.
    The two Hyper-V hosts are on the same LAN and domain.
    Thank you.
    Regards,

    I have accomplished this by using a DNS pointer specifying an IP address on that dedicated network. That will force traffic done that network.
    John Johnston

  • How can I see the relationship of tables in Microsoft SQL Server?

    How can I see the relationships of the tables? Exactly like what we see in Access. In Access if we select Database tool and then relationships, we can see how the tables are linked to each other. How can I find this option in SQL Server Management Studio?
    Thanks,
    GGGGGNNNNN
    GGGGGNNNNN

    Thanks,
    I could verify what you explained here. how can I overcome this message and resolve it when my database owner is not there:
    Message while starting with database diagrams of a attached/restored database
    If you have just attached/restored a database from another SQL Server instance. While accessing its database diagrams folder, you may get the following message
    It is an informational message and would prevent you from working on database diagrams. The message says that your database has no valid owner currently. Reason for this error is that database owner on a previous SQL Server instance does not exist here.
    To overcome this error just add the valid database owner through T-SQL or SSMS. Also verify the compatibility level of your database is correct for your SQL Server instance.
    I appreciate your help.
    GGGGGNNNNN
    GGGGGNNNNN

  • How can i change the DNS Name of a 10.6 Server

    Hello when i installed the Server i made a mistake and put in a wrong dns name wich is not reachable from the clients. How can i Chane the DNS Name?

    The core command is changeip, and Google will find some details and discussions.
    $ man changeip
    $ changeip {-v} {-d path} directory-node old-ip new-ip {old-hostname new-hostname}
    It's not always successful; the host name tends to get embedded everywhere.
    For the official documentation on this, see the [Advanced Server Management Manual|http://manuals.info.apple.com/enUS/ServerAdminv10.6.pdf] for a discussion of what (else) needs to happen when the IP settings change; see the +Understanding Changes to the Server IP Address or Network Identity+ section.

  • How can I force the Creative Cloud Manager to detect previously installed CC applications.

    Being a tester of Windows 10, I frequently have issues with updates and have to completely reinstall windows, this means that I lose my CC installs if I don't keep them on a separate drive.
    However, the issue is that if I do keep them on a separate drive, the CC manager can't detect that they're there. And I don't expect it to magically know that the files are there, I understand that the registry entries are no longer there, and whatnot. But I at least expect that it checks for the files when you go to install the application. It doesn't seem to do this and just overwrites the entire thing.
    This may not be an issue for many people, but being Australian, with the government doing everything it can to slow down the internet, it takes a very long time to install 6 or 8 adobe programs for which the files already exist. All the while the internet is basically unusable.
    How can I communicate to CC that these applications still exist.

    While your answer feels like speculation, it wouldn't surprise me if it were the case, but what a feeble system it is if there's no way for it to be shown existing files.
    Especially considering that you can launch the applications from the exe without them being "installed", they still communicate with the CC manager and are allowed to run.

  • How can we force the access policy to be re-triggered?

    Hello,
    I set up the access policy (AP) for the dbat connector (with Retrofit).  The AP was triggered correctly to give resource DBAT to the user.  When the user login changed, I called "Delete User" in the dbat connector and the resource is revoked from the user.
    My goal is for the AP to be triggered so that a new dbat account is created for the user with the username.
    However, the AP is not triggered again.  I tracked this by selecting the policy_eval_needed in the user_provisioning_attrs table (1 access policy will be re-evaluated, 0 AP not evaluated).
    Is there a way for me to force the AP to be re-evaluated?
    Thanks
    Khanh

    How are you triggering the Access policy Assignation?
    Hopefully ,if this is governed by the grant and revoke of role, you may first revoke the role for the account which is already revoked and grant the same role again.
    As the previous account was in revoked status, a new account would be provisioned for the DBAT connector. Grant and revoke of role can be done through the SElf Service UI or a custom scheduled task.
    Regards,
    Arvind

  • How can I force the update of items from my local iTunes media onto cloud?

    I have a complete library of music in iTunes on my Mac. When I create
    a new playlist or import some new CD into the iTunes music library I want to
    export and refresh all music files, directories and playlists to the cloud (iMatch).
    How do I force an update of my local music library back into the Cloud
    (and not from Cloud onto my computer)?

    Thanks everyone for the many solutions.
    I ended up un-selecting all the songs in library(edit->select all, then right click and uncheck), setting the ipod to "update checked songs only", then syncing which removed songs.
    Then select all songs again, re-sync and solved.
    Don't forget to undo the "update checked songs only" option.
    I think the manual solution above may have been easier, but only read that solution now.

  • How can I force the Disk Cache on with Apple Raid Card?

    I have an apple raid card in my mac pro that has now had it's battery fail twice. I don't really want to keep putting money into this and would rather just force the disk cache on and hope my UPS works, I don't use this box for real work anymore anyway and it's all backed up.
    There used to be a force on button next to the Write Cahce Status section, but that seems to have gone away. Does anyone know how to force the cache on? Permanently if possible.

    OK, Command Line fun, use at your own risk:
    sudo raidutil modify controller -E

  • How can I force the font when authoring new or replying to email?

    I have tried changing the font via TOOLS-->Options, but nothing seems to take. The resulting font is quite small.
    When I reply to an email, the font is still small. Then if I use the icon to increase the font size, sometimes my reply text reverts to the smaller font.
    This is pretty frustrating!
    I just updated to the latest release.. which is strange, as this only happened when I opend the HELP--> ABOUT which said I was on the "Release Update Channel", which to me implies automatic updates....

    If a website uses absolute values for the width property of containers then you can't force word wrap with zooming or an increased font-size.<br />
    You would need to create overriding CSS rules in Stylish to make this work or use the build-in Inspector.<br />
    Only if you visit such a website frequently (daily) then it is worth the effort to see if you can make this work.
    Current Firefox versions have a lot of web developer tools build-in.
    *https://developer.mozilla.org/en/Tools/Page_Inspector
    *https://developer.mozilla.org/en/Tools/Page_Inspector/HTML_panel
    *https://developer.mozilla.org/en/Tools/Page_Inspector/Style_panel

  • How can I install OSX on a new third-party hard drive in my Macbook Pro?

    I'll start off by saying that I bought my MBP (Mid 2009, 13 inch) used two years ago, and the seller never thought to mention that he had installed a third party hard drive not long before selling it to me... First problem.
    Anyway, the hard drive crashed. I'm installing a new hard drive, but I'm worried about getting back to having Mountain Lion. I'm confused by the process - Some say I can start by ordering a retail copy of Snow Leopard on Amazon, some say I need the OS disc that originally came with the computer (which obviously I don't have), and some make it seem as if there's a special version of Snow Leopard I need to order from the Apple store?
    Help.

    There is no special version of Snow Leopard (other than what ships with a Mac of that vintage). There is a regular retail version. It is a good idea to have a copy.
    http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
    After you install the new hard drive boot the computer from the OS disk, and install OS 10.6.
    If you want a more recent OS, sign in to the App Store - use the same ID and password you have used here.
    There you can download Yosemite, it's free.
    I assume your MBP meets the requirements for Yosemite. If it does not, or if you want an earlier OS than 10.10, you should be able to find it at the App store.

  • How can we get purchase req. no in third party sales order

    Hi,
    I am creating third party order scenario, where i can get purchase req. no in third party sales order.
    Regards,
    M B Raju

    HI
    Once you save the Sale order then go to VA02
    Double click on the Line item , click on the schedule line tab
    under Schedule line tab  you can see the Purchase Req. number
    Regards,
    Prasanna

Maybe you are looking for

  • Creation of fillable forms from existing HTML documents

    Hi All, I know this is doable, but I was wondering if someone could point me in the right direction or perhaps to an existing HowTo. I recently started working for a company in which part of my job duties includes the creation of new users and deauth

  • User-defined function(java)

    hi expects, how to write user defined finction in javain meesage mapping.please help me.

  • ERROR ITMS-9000:  duplicate id: p1" at Book (MZItmspBookPackage)

    hello help me please.. when i try to deliver my ebook on iBookstore i receive an error message : ERROR ITMS-9000: "could not parse OPS/content6.xhtml: duplicate id: p1" at Book (MZItmspBookPackage) please hel me.. i don't know where to find the mista

  • How to fix Gen6IntelGVAQueryAVDCommandStatus timeout?

    When playing video files, typically m4v type files, using QuickTime, iTunes or VLC and maybe other players, the video freezes for 30 seconds or so while the audio continues.  Then the video plays rapidly until it catches back up with the audio.  When

  • More connections in application...

    Hi! I need to create more connections in my app. So I have 2 users in DB. I created two connections under Application Resources in my project. How can I say that for first AppModule I want to use one connection, but for second AppModule I want to use