Getting Menu Reference for a VI other than the current one

Is there any way to get a Menu reference for a VI that isn't the current VI? There's Current VI's Menubar, but that only works on the current VI. I'd like something that does the same thing, but accepts a VI reference to a higher-level VI. I would expect to find a Property Node entry for it, but there doesn't seem to be one. This is for 8.2.

eaolson wrote:
A functional global is what I wound up using. It just seems odd to me that there's no other way to get access to that reference.
It also seems counter-intuitive to me that a Shortcut Menu reference is only valid inside that particular frame of the Event Structure that caught it. If you're using a producer-consumer architecture, you can not send that refnum off to the consumer loop for handling; it can only used within that frame of the Event Structure.
I am not sure what you mean. The refnum seems to be accessible from everywhere .
As i wrote above:
You can store the Menu Reference to a global variable for example, and you can read it, in any vi you want, just like all variables.
Note: Do not try to use a property note. Use the menu functions

Similar Messages

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • How do i get siri to set a reminder for a time other than the appt time. For example:  I want Siri to remind me at 10:00 pm on Monday that I have a dentist appt. at 9:00 am on Tuesday. She screws up the dates and times no matter what I say

    What I can't figure out is how to set a reminder for a time other than the appt time. For example:  I want Siri to remind me at 10:00 pm on Monday that I have a dentist appt. at 9:00 am on Tuesday. She screws up the dates and times no matter what I say

    "Remind me at 10:00 pm on Monday".  Siri: "Ok, just tell me what you want to be reminded about".  "I have a dentist appointment on 9:00 am on Tuesday".  Siri should set it up correctly.

  • Running a java program in a directory other than the current directory

    How do I run a java program that's located in a directory other than the current directory?
    There is a file Test.java in /dir1/subdir1. If my current directory is anywhere other than that directory, say /dir2/subdir2, I can compile Test.java by using:
    javac -classpath /dir1/subdir1 /dir1/subdir1/Test.java
    But when I try to run it with:
    java -classpath /dir1/subdir1 /dir1/subdir1/Test
    I get a java.lang.NoClassDefFoundError: \dir1\subdir1\Test
    Any thoughts?

    You need to specify just the name of the class you want to run. So java -classpath /dir1/subdir1 Test

  • TS3297 iTunes puts up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one. How I can clear that messag

    I've been running iTunes on WinXP for years with few problems.  I have all my iTunes files on an external USB drive. I just bought a new PC running Win7, 64-bit.
    I connected the external USB drive to the new PC and installed 64-bit iTunes on it. When iTunes started up, I pointed it at the iTunes directory in the external drive, using Edit > Preferences > Advanced > iTunes Media Folder Location. It showed a progress bar that it was updating the iTunes Library. I signed in and authorized the new machine. I have one spare authorization.
    Then iTunes put up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one.
    When I click OK, the iTunes Store page remains blank, apart from saying "iTunes Store" in the middle of the page.
    I went to "View My Account" and pressed the Reset button to "Reset all warnings for buying and downloading items", but that doesn’t fix this particular warning. I also tried Edit > Preferences > Advanced > Reset Warnings and Rest Cache.
    But still, every time I click the “App Store” button in the iTunes Store window, the message appears. If I click the Books, Podcasts or iTunesU buttons, these display normally.  So I’m stuck with being unable to purchase apps, other than through my iPad and iPhone.
    If I move the external drive back to the XP machine, the same thing happens.  If I go to another PC - a notebook running Vista - everything is normal.
    Any idea how I can clear that message?
    Thanks for any help you can offer.

    Further info on my question above.
    I have tried re-validating my credit card, which apparently fixed it for some. 
    I have also tried uninstalling, re-downloading and installing again.
    Neither of these steps fixed the problem.

  • Can I use a different charger for my iPhone other than the one that was supplied for it

    Can I use a different wall charger for my iPhone 4S other than the one that was supplied with it

    wjosten wrote:
    Lawrence Finch wrote:
    Apple puts no special requirements on it other than that it meet the USB spec.
    Except for the connector...
    What is special about the connector for the 4s charger cable? Mine is a normal USB connector. The question was about the wall charger, not the connector to the phone.

  • Configuring a Communication Channel for an AE other than the default IS

    Configuring a Communication Channel for an Adapter Engine other than the default engine.
    See:  help.sap.com for Communication Channel http://help.sap.com/saphelp_nw04/helpdata/en/1b/d5ef3b1ad56d4fe10000000a114084/frameset.htm
    It states under 'Adapter Configuration', that you can specify the Adapter Engine you want to use in the Adapter Engine dropdown box.
    I have activated the XI components on my ERP system using transaction SICF, but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    Maybe some background would be helpful:  This is for a scenario that will send a file from an external system to one of the ERP systems in our landscape.  BUT, the system admins have decided to revoke our FTP accounts (because they have their reasons), so I need to create a File Adapter that will drop the file on the file system of that ERP system, due to visibility I want to use the integrated Adapter Engine that comes with the ERP system, but need to know how/what I'm missing in setting up this scenario.

    Hi Anesh,
    >>>>but what do I have to do to make the other adapter engines show up in the dropdown list when configuring an adapter?
    in order to use some other adapter engine you
    have to install it first by dafault only one
    (central) adapter engine is used and it is all
    most clients need
    if you'd like to use some other adapter engine
    (decentralized for example) have a look at thid guide:
    <b>Configuring a Local Adapter Engine to Work with a Central Instance</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/03fd85cc-0201-0010-8ca4-a32a119a582d
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • How do I update Firefox to a version other than the latest one?

    As you can see from the troubleshooting information, I am several versions behind the latest Firefox. I am wondering whether an update would make Hotmail work on Firefox again and make it faster. However, Firefox Auto Updater is set to install the latest version, so I have to keep refusing it permission because: a) Character Palette isn't compatible with it; b) Last time I looked, there was no fix to turn off that infuriating swear word censor in the latest version. Is there any way I can get a version that is newer than my current version, but doesn't censor anything I choose to type and lets me use Character Palette?

    try the alternate and easiest way by downloading from here
    * getfirefox.com
    simply run the installer, you can install on top of current version or you can remove the current one if you wish

  • CF Admin login fails (invalid pw) for Windows User other than the one used to install CF 10

    I installed CF 10 on a server running Windows Server 2008 R2 Standard having logged into the server as a Windows user in the administrator group.  I set up CF 10 Administrator to use a single password (the default).  I can log into CF Admin when authenticating to the server with the same Windows credentials used when installing CF 10 but if I log into the server as another Windows user in the administrator group I cannot log into CF Admin; I get an Invalid Password error.  I thought the whole point of the single password was so that anyone who can log into the server could log into CF Admin.  It works like that for my CF 8 and CF 9 machines.

    It is a new design, based on security issues that arose in previous ColdFusion versions. See, for example, Charlie Arehart's blog for more details.

  • Create a Contact on an address book other than the default one

    Hello everyone,
    I am using a professional address book and calendar on exchange provided by my company. I am also using my iCloud account to manage my personal address book and calendar. I have set up my iphone 4S to display both address book and calendar, this works well, same for the sync mechanism.
    When I create an event on my iPhone using the standard calendar app, I can simply indicate whether it is a personal or professional event.
    When I create a contact using the standard contact app, there is no way to indicate wheter it's personnal or professional. The contact is created on the default address book that I setup in the settings. The only way I found is to hide all categories except the personal one and then create the contact. It is then created not on the default address book but on the only one displayed. It is rather awkward and that does not solve all problems : I have some contacts already created by mistake on my professional address book that I want to move to the personnal one. I found absolutely no way of doing that. The same thing for calendar events is straightforward: open the event for modification, simple toogle the appropriate field from Pro to Personal and you're done.
    Does anyone have a hint for this ?
    Thanks,
    Cyril

    Hi sumella, <br>
    I think you should try an Add-on like one of these:
    <br>
    [https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/ Tab Mix Plus]
    <br>
    [https://addons.mozilla.org/en-US/firefox/addon/new-tab-button-on-tab-bar/ New Tab Button on tab bar]

  • Getting playlists from backed up iTunes combined with the current one.

    I have backed iTunes several times and upgraded OS and computers. I have some playlists on the B/U drive that did not get brought forward at some time. I would like to add these to the current library and not affect the latest music access.

    File > Add Folder to Library, and navigate to the folder containing the music.
    If you have a group of songs you would like to keep together as a playlist, you can create the new playlist in iTunes via File > New Playlist. Open that new playlist and drag the songs into the open window. iTunes will then add them to the library and to that playlist.

  • Getting Firefox Mobile from a location other than the android market

    I love firefox and would like to use it on my android tablet a Viewsonic VB730.
    I realize this is not in the supported device list but would like to give it a try anyway.
    The issue is that the VB730 does not have the Android Market app on it.
    Is there another location I can get Firefox for Android? ( Perhaps Amazon.com ??? )
    Thanks
    Greg Richter

    You can use http://bit.ly/fennecftp to download from outside the market. You will need to check back every 6 weeks to install the latest version. There is no automatic updates outside the market.

  • Can I specify a price list for an invoice other than the customers default?

    Can I specify a price list when I enter an invoice that will override the customers default price list?

    Hi Greg......
    You can change the Price List on Transaction level only through Form Setting.
    Open Invoice and Go to Form Setting and Document--> Table Tab and select the desired Price List....
    Regards,
    Rahul

  • How do I sync my iPhone 4s with a different computer other than the original one that I used initally?

    How do I change computers for syncing my iPhone 4s?  The original laptop that I used to sync with died and I can not get my iPhone to sync with my desktop.

    can't if you do not have access to the old library (the usual workaround is to backup the old library and import it to the new itunes)
    for important data...
    sync your existing contacts with icloud, your text messages will not be disrupted, music will sync with whatever music you have on your new itunes, photos shoud still be in the camera roll (I would sync them to photostream before you sync, just in case).   Any photos on your phone that are not in camera roll or photostream... if you lost those pictures with the computer crash I would take screen shots (lock button + home button at the same time) of each photo so they show up in the camera roll.  App data may or may not be lost.  In my experience, it depends on the app.  Some of the apps recognize your apple ID and sync data over the internet with servers, some do not.  I would take note of important data (such as passwords in a password keeper if you have such an app) just in case if you lose that data.

  • How do programatically set focus on a record other than the first one in a block?

    My form performs the query for the block, and by default it leaves the focus on the first (top) record in the block.  I'd like to have it focus on the last record in the block upon initial query.
    i've tried Last_record and go_record in a post-block trigger but these builtins are restricted and you can't execute them from post block triggers.  i don't see any block property things that would influence this either...  how can i do it?  thanks.

    i just figured out the answer to my own question... in the when new block instance trigger, there's an execute_query statement, and i simply put last_record statement after that...

Maybe you are looking for