Shortcut run-time menus and ActiveX

I'm working on a Labview video player with four instances of VLC embedded in it, as ActiveX controls.  After some help from the forum, it runs very well, but I would like to implement custom right-click menu's for the ActiveX windows.  Currently, nothing happens when the user right-clicks on the ActiveX control.  I've tried enabling the shortcut menu, editing the menu, etc, and nothing worked.  I've tried overlaying another transparent control over top of the ActiveX window, but the ActiveX control seems to want to be on top no matter what I do.  Any ideas?
Running LV 8.6.1f

i tried the same with windows media player since i dont have VLC.. Did you use the shortcut menu activation property? see the attched vi
Regards
Guru (CLA)
Attachments:
1.vi ‏10 KB

Similar Messages

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • Run-time menus and save with control

    I created a custom shortcut menu (on an XY graph) and saved it by selecting "save with control". This worked fine while I was running LabVIEW but did not work in the executable version that I created. The label of my XY graph was something like "X/Y GRAPH". I guessed that LabVIEW was trying to save my shortcut menu by using the string "X/Y GRAPH" and that the "/" was causing the problem. I changed the label to "XY GRAPH" and everything now works fine.  Does this count as a bug? Do widget labels need to use legal filename characters if I am going to create custom shortcut menus?

    Hi Oyester,
    I have reproduced your situation and this does not count as a bug--the slash counts as a special character and the filenames have to be alphanumeric. I hope that answers your question.
    Ipshita C.
    National Instruments
    Applications Engineer

  • Check marks on custom run-time menus

    Is there a simple way to add a check mark for currently selected item on custom run-time menus?  
    The only method I have found is to fire off of the "Shortcut Menu Activation?" event, grab the menu reference, and basically recreate the shortcut menu with the proper check marks based on boolean values.  This method just seems ... cumbersome for something that should (in theory) be fairly common. I can't help but think there is a better solution.
    Thanks!
    Solved!
    Go to Solution.

    Hi Bown,
    you can assign custom menus with the menu editor to your controls/VIs. They will be saved as rtm file.
    Using the known tag names of such custom menus you can set the checkmark for your tags without rebuilding the menu on activation each time…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Run Time Error 429 - ActiveX Controls CRAXDRT.DLL Dependancy

    Post Author: mhamlyn
    CA Forum: Deployment
    After upgrading from Crystal Reports 11.0 to 11.5 we have found that when deploying an application and bundling it in Install Shield we continually get an error when trying to view crystal reports:
    Run-time error '429':ActiveX component can't create object
    From what we can see this is partly caused by the incorrect setup of the craxdrt.dll dependancey file, point to previous versions of business objects i.e.
    C:\Program Files\Common Files\Business Objects\3.0\bin
    Where it should be
    C:\Program Files\Common Files\Business Objects\3.5\bin
    Even after editing this file and amending the correct locations we still get this error. Has anybody had any success in resolving this. There are lots of forum posts but no diffinitive answers!
    This is an extremelly frustrating problem!
    PLEASE HELP!!!!

    Hi Shane,
    Here is another way to create PDF with Macro using another API than Distiller. This API is faster too.
    Probably this post is not of interest anymore but here is how I have done it:
    1. Download PDFCreator: http://sourceforge.net/projects/pdfcreator/
    2. Use the following Macro:
    Option Explicit
    Sub printPDFmacro()
    'Author : Ken Puls (www.excelguru.ca)
    'Macro Purpose: Print to PDF file using PDFCreator
    ' (Download from http://sourceforge.net/projects/pdfcreator/)
    ' Designed for early bind, set reference to PDFCreator
    Dim pdfjob As PDFCreator.clsPDFCreator
    Dim sPDFName As String
    Dim sPDFPath As String
    '/// Change the output file name here! ///
    sPDFName = "Facture-" & nclient2 & " le " & Format(Date, "yyyy-mm-dd") & ".pdf"
    sPDFPath = "E:\Partenaire Scolaire\Comptabilite\Factures"
    PDFFileName2 = sPDFPath & "\" & sPDFName
    Set pdfjob = New PDFCreator.clsPDFCreator
    With pdfjob
    If .cStart("/NoProcessingAtStartup") = False Then
    MsgBox "Can't initialize PDFCreator.", vbCritical + _
    vbOKOnly, "PrtPDFCreator"
    Exit Sub
    End If
    .cOption("UseAutosave") = 1
    .cOption("UseAutosaveDirectory") = 1
    .cOption("AutosaveDirectory") = sPDFPath
    .cOption("AutosaveFilename") = sPDFName
    .cOption("AutosaveFormat") = 0 ' 0 = PDF
    .cClearCache
    End With
    'Print the document to PDF
    ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"
    'Wait until the print job has entered the print queue
    Do Until pdfjob.cCountOfPrintjobs = 1
    DoEvents
    Loop
    pdfjob.cPrinterStop = False
    'Wait until PDF creator is finished then release the objects
    Do Until pdfjob.cCountOfPrintjobs = 0
    DoEvents
    Loop
    pdfjob.cClose
    Set pdfjob = Nothing
    end sub
    Have any questions, just have to poke me.
    Michael

  • Preserving run time menus

    The problem is that applications do not preserve custom run time menus applied to graphs or controls once the executable is run on another machine, or an installation is built and installed on another machine. I have tried advice from this board about saving .rtm to alternate llb's, to the same destination/support, opening from within development vi and saving to the same path as development vi.
    Surely the concept that you want to define a custom menu for a control and have your customer see this one when he installs is not a foreign concept within Labview. How can this be done?

    Here's how the two workarounds would play out in this situation:
    In the first workaround, you'd have to open the run-time menu editor for each control individually and choose to save the run-time menu to the control instead of the file. I don't think this is a very risky procedure, but it would be tedious. One thing to keep in mind is that in order to get the prompt to save the menu to the control or to a file, you'll need to make some small change to the menu. For instance, you could press the add button to add a temporary item and then the delete button to delete it. Then when you close the menu you'll see the option to save the menu to a control. I suppose this step is the only real risk in the process
    In the second workaround, you'd have to create 3 or 4 new event structure cases, one for each of the different run-time menus you want to display. Then you'd have to register each separate event for all the controls that correspond to that particular menu. This seems a little more risky, because the new code might induce bugs into your system, or you might forget to register the event for a control, or register the wrong event for a control.
    Jarrod S.
    National Instruments

  • XL Reporter Run-time Error '429' ActiveX component can't create object

    Hi Everyone,
    When trying to install XL Reporter on a Windows 2003 Server SP2 machine getting the following Error:
    XL Reporter
    Run-time error '429':
    ActiveX component can't create object.
    Did anyone get this error? Please advise of any steps we can try to resolve.
    Kind Regards,
    Kafil

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • Run-time error '429': ActiveX component can't create object

    HI,
    I am having the following error in my Excel VBA Run-time error '429': ActiveX component can't create object  when running the following code:
    Dim objDistiller As New ACRODISTXLib.PdfDistiller6
    objDistiller.FileToPDF2 filePath & ".PS", filePath & ".PDF", "T:\Templates\PDFSettings\Standard.joboptions", 1
    This code has been working for years on all our systems, but due to recent security issues our administrator changed all user accounts to not have local administrator rights and now when we run this code we get the above error message.
    I have had a look at DComcnfg.exe to try and get it to work by setting the default property permissions to allow access by Everyone but I am still getting the error.
    Any help would be greatly appreciated.
    Regards.
    Shane Chapman.

    Hi Shane,
    Here is another way to create PDF with Macro using another API than Distiller. This API is faster too.
    Probably this post is not of interest anymore but here is how I have done it:
    1. Download PDFCreator: http://sourceforge.net/projects/pdfcreator/
    2. Use the following Macro:
    Option Explicit
    Sub printPDFmacro()
    'Author : Ken Puls (www.excelguru.ca)
    'Macro Purpose: Print to PDF file using PDFCreator
    ' (Download from http://sourceforge.net/projects/pdfcreator/)
    ' Designed for early bind, set reference to PDFCreator
    Dim pdfjob As PDFCreator.clsPDFCreator
    Dim sPDFName As String
    Dim sPDFPath As String
    '/// Change the output file name here! ///
    sPDFName = "Facture-" & nclient2 & " le " & Format(Date, "yyyy-mm-dd") & ".pdf"
    sPDFPath = "E:\Partenaire Scolaire\Comptabilite\Factures"
    PDFFileName2 = sPDFPath & "\" & sPDFName
    Set pdfjob = New PDFCreator.clsPDFCreator
    With pdfjob
    If .cStart("/NoProcessingAtStartup") = False Then
    MsgBox "Can't initialize PDFCreator.", vbCritical + _
    vbOKOnly, "PrtPDFCreator"
    Exit Sub
    End If
    .cOption("UseAutosave") = 1
    .cOption("UseAutosaveDirectory") = 1
    .cOption("AutosaveDirectory") = sPDFPath
    .cOption("AutosaveFilename") = sPDFName
    .cOption("AutosaveFormat") = 0 ' 0 = PDF
    .cClearCache
    End With
    'Print the document to PDF
    ActiveSheet.PrintOut copies:=1, ActivePrinter:="PDFCreator"
    'Wait until the print job has entered the print queue
    Do Until pdfjob.cCountOfPrintjobs = 1
    DoEvents
    Loop
    pdfjob.cPrinterStop = False
    'Wait until PDF creator is finished then release the objects
    Do Until pdfjob.cCountOfPrintjobs = 0
    DoEvents
    Loop
    pdfjob.cClose
    Set pdfjob = Nothing
    end sub
    Have any questions, just have to poke me.
    Michael

  • Hyperion Financial Reports Run-time error '429' ActiveX error:

    Hi All,
    When i open a Hyperion Financial Reports i am getting an error:
    Run-time error '429' ActiveX component can't create object,
    If anybody having same issue, please let me know, any help will be appreciated..
    Thanks

    I have tried configuring and running the fix and I get a 'Build Failed' with several errors.
    Client is Vista 64bit, if that matters.
    Thanks for any help.
    -Todd
    PS I believe this is the relevant output:
    hyperion.home.register:
    [exec] Execute failed: java.io.IOException: CreateProcess: regedit.exe /s C
    :\Hyperion\BIPlus\install\scripts/../scripts/HyperionHome.reg error=740
    [delete] Deleting: C:\Hyperion\BIPlus\install\scripts\HyperionHome.reg
    general.replace:
    replace.install.all:
    replace.install.unix:
    replace.install.web.unix:
    replace.install:
    general.system.files:
    sysfiles.deploy:
    [echo] C:\Hyperion\BIPlus\install\scripts/..\system\files
    BUILD FAILED
    C:\Hyperion\BIPlus\install\scripts\SetupHyperionReports.xml:165: Following error
    occured while executing this line
    C:\Hyperion\BIPlus\install\scripts\SetupSystemFiles.xml:16: Execute failed: java
    .io.IOException: CreateProcess: C:\Hyperion\BIPlus\install\scripts\..\bin\update
    file.exe 0 C:\Hyperion\BIPlus\install\system\files\OLEDLG.DLL system\files C:\Wi
    ndows/system32 error=740
    Total time: 4 seconds

  • Custom run-time menus within dynamically called sub-VIs?

    How do you use custom run-time menus within sub-VIs that have been dynamically called? I'm using Labview 6.02.

    Since you say within subVIs, I am assuming that you have the subVIs open their front panels when called. Each subVI must have the RTM defined when the subVI is created. You can use the same RTM for each one (use the open function in the menu editor).
    If necessary, you can dynamically add and remove menu items using the Application Control->Menu functions. I have some subVIs that add items to the main RTM when they are loaded and remove the items when they finish.
    Rob

  • Uninstall LabVIEW but leave run-time engine and DAQmx

    Hoping there is an easier way to do this, basicall we are developing software on a customers computer that we buy and will eventually ship to them. However we can't ship them LabVIEW so we make an executable and just keep the run time, DAQmx and MAX. Is there anyway to do this easier than uninstalling LabVIEW and reinstalling everything else?
    Windows 7
    LV2013

    Under Windows, try going to Control Panel | Programs and Features and find National Instruments Software. You might be able to select all except the run-time, DAQmx and MAX, then select uninstall. If not, then perhaps consider just making a full installer for your LabVIEW executable solution, this will clearly install only the necessary components for your code to work (if it's LabVIEW 2013).
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Run Time Hours and Active Hours

    Hello all,
    I've been trying to work up some reports regarding use of certain applications and I don't quite understand how ZAM actually generates the information for Run Time Hours and Active Hours of say Microsoft Access. Or what these options really mean.
    Also, with a PC that may have mulitple users (all with their own user accounts), does it take a cumulative count of 'usage' of applications or is it based on a per user basis. And if it is per user, does that mean it will only report on the user that happened to be logged in on the PC when it was 'scanned' for the week?
    Any help would be greatly appreciated.
    Thanks
    JH

    Originally Posted by jehegarty
    Hello all,
    I've been trying to work up some reports regarding use of certain applications and I don't quite understand how ZAM actually generates the information for Run Time Hours and Active Hours of say Microsoft Access. Or what these options really mean.
    Also, with a PC that may have mulitple users (all with their own user accounts), does it take a cumulative count of 'usage' of applications or is it based on a per user basis. And if it is per user, does that mean it will only report on the user that happened to be logged in on the PC when it was 'scanned' for the week?
    Any help would be greatly appreciated.
    Thanks
    JH

  • Run-Time Menu and Event Structure~~HELP~~

    Hi, brothers,
    I'm new user for LabVIEW. Use the version of LabVIEW is 8.6
    One problem describe as below:
    Can Run-Time Menu and Event Structure exist simultaneously?
    Without Event Structure, Run-Time Menu works well, but Run-Time Menu works abnormally.after adding Event Structure,
    How do I modify the problem?
    Thank you for your help.
    Attached is the program.
    Attachments:
    PC_Adjustment.zip ‏44 KB

    Yes they can coexist, but not how you did it.
    Every iteration of the while loop you wait for an event in the event structure, and you look if the user has selected anything from the menu.
    To get this working you should add an event for <this VI>\Menu Selection (User):
    Ton
    PS you should add a stop button, the only way you can stop the VI is hitting the 'emergency stop' button, with hardware connected (like you have) this is not the adviced routine
    Message Edited by TonP on 09-26-2008 07:34 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Main_BD.png ‏5 KB

  • How do I unlock my external hard drives one has photos on them one is trying to run time machine and is not able to complete a basck up.

    How do I unlock my external hard drives one has photos on them one is trying to run time machine and is not able to complete a basck up.

    VK said for locked HDs and volumes at http://discussions.apple.com/thread.jspa?threadID=2329689
    sudo chflags 0 /volumes/*
    sudo chmod a+rx /volumes/*

  • What to do if you simultaneously run Time Machine and File Vault

    Never do what is mentioned in the subject line; even if you decrypt your drive, it does not spread to Time Machine, and so if you ever need to do a system restore, File Vault will forget your password and lock you out of your own system.
    Thankfully, I ended up having recourse. The solution is to log in as root and create a disk image from the last Time Machine backup, "latest," and then duplicate that disk image. Having done that, paste the files into the user folder of your choice, recreating the account you have lost.

    Realistically, your only option is to upgrade to an Intel-based Mac.
    There is no way to use iCloud on a Mac running anything lower than OS X 10.7.2 - not even Snow Leopard.
    You can access iCloud.com through a web browser on your current computer, but you'd need a Mac running 10.7.2 to move to iCloud and it wouldn't sync anyway...

Maybe you are looking for