Replacing custom menu

hello,,
In forms 6i,,,,
how to replace theexisting menu in single from by clicking the various buttons,,,,,,,,,
if i use replace_menu('oldmenuname',pull_down,'newmenuname');
i am getting error like menu cant read..........
what is the solution

Hi,
>how to replace theexisting menu in single from by clicking the various buttons,,,,,,,,,
Confused by this statement. What you actullay want to know. Replace_Menu () is method which i used to replace the current menu with the menu mentioned in the method. You have given half the error message.
But, by reading it, it seems that it is not getting the .MMX file for menu. Have you compiled your menu to .MMX file. If, yes then Check for the location of .MMX file, is it at it default place i.e. FORMS90 folder. Moreover, you can give the custome location of .MMX file in REPLACE_MENU() method.
Try this. Hopefully, you solved your problem.

Similar Messages

  • How to replace a VI's default menu with a custom menu?

    After making some changes to my application, my custom Run-Time Menu for some VI have been replaced with the Default Run-Time Menu. I still have the *.rtm files.

    The path the custom menu is saved in the VI relative to itself. If you move the VI, saving to an .llb or building an executable moves it since the path changes, the VI can no longer find its menu.
    You can dynamically build a path the menu by getting the current VI�s path and checking to see if it has an .llb or .exe in it. If it does, start stripping the path until you get to a folder, then add the menu filename so you have the correct, absolute path to the menu file. Then drop a property node set to the �VI� server class and set the property to �Run-Time Menu Path�. Connect the path you built to this and the VI will always be able to find its menu.
    If this isn�t the problem, the menu file must have been corrupted and will need to be rebuilt.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Labview freeze when accessing a custom menu with data on the clipboard

    This one has got me stumped:  When selecting a custom menu item with data on the clipboard the GUI freezes.  Freezes are longer for more data and longer for older versions of Labview.  I wrote the test code, attached, but the example "Menu Selection Demo.vi" shows the same behavior.
    Running Labview 2011 here are some freeze delays for my laptop (a bit slower machine) with various amounts of text data on the clipboard:
    Clipboard size        Delay
    1.3MB                   2.1 sec
    2.6MB                   4.9 sec
    3.8MB                   17.2 sec
    14MB                    253.3 sec
    The delay appears to be non-linear.  A doubling of the clipboard data size more than doubles the delay and a tripling of the clipboard data size produces a delay of almost 10X!  Things are also much, much worse on my ancient version 8.2.1 (over a 40 second freeze for 1.3MB and it goes up from there).
    Note that the freeze also occurs on programs with a custom menu when exiting.  This would seem to suggest it might have something to do with the timeout, but why timeout should vary with clipboard size and not with the value wired to it makes this feel even more like a bug in the custom menu functionality.
    This seems to be related to known issues in Labview 2011 #39604 49UBP4LE (http://www.ni.com/white-paper/13168/en#39604_by_Da​te) that was first reported in version 8.2.1.  This known issue relates to Labview freezing when large amounts of data are copied from Labview to the clipboard.  No fix has been implemented since this was originally reported in 2007.
    This freeze also occurs when shortcuts to menu items (such as Ctrl + L) are used when large amounts of data are on the clip board.
    Thus far this has been 100% repeatable and I have not been able to find a way around it.  I also haven't found anything else similar on the forums or on the web.  It appears to be a GUI freeze with Labview still running in the background, which is also odd.
    My work-arounds at this point are either to not use the clipboard (bad), programatically clear the clipboard several times each second (worse) or remove all custom menu functionality and replace those functions with onscreen controls.  So, for now, I'm removing custom menu items because my users need the clipboard and I can't have massive delays making my data acquisition code look crashed.
    Any ideas would be helpful.  This one has me scratching my head...
    Attachments:
    Menu_Clipboard_Lv2011.vi ‏17 KB

    Well, doing Microsoft Word, Excel and what else on a computer that is used to run an important production test, is a very bad idea. There is no way that you can guarantee, that one of these applications is not causing some interruption to the currently running time critical task. Word and Excel and just about any other computer application can crash, lock up the computer or eat your breakfast while you are doing seemingly harmless things.
    The issue with the clipboard in LabVIEW is indeed a problem that exists for a long time and I hope they fix it sometime, but the fact remains, that you should NEVER use a computer for other tasks while you run a test or other manufacturing related application on it, when a failure of that application can cost you more than a few pennies.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Help: Customized menu without Window's menu

    Hi,
    I've learnt how to hide the Window's menu. Now, if I have made a customized menu and same time to hide the Window's menu, how do I make it? Namely, I want the user only see the customized menu items without seeing the default Window's menu.
    Jimmy

    Okay,
    open the Forms Builder
    open Online help
    goto tab page Index and type replace - the help-system finds the built-in replace_menu
    I did this with forms 10, but this procedure is very old, your forms knows it.
    There are several parameters - I didn't try them all. I mostly use it in the following manner:
    REPLACE_MENU(menu_module_name VARCHAR2);
    An empty ('') module_name means: No menu at all.
    Wolfram

  • Custom menu seems to be bogging the system

    Hello to all.
    I'm replacing the default menu with a custom menu and the custom menu seems to be slowing everything down to a crawl. When we used this menu system in 8.1.7 everything worked fine. Now we're hitting a 9i system (all's been recompiled) and the custom menu is killing my performance. As soon as I replace that default menu the system bogs down. I jarred up a couple of images in the custom menu so some of the images are in the jar and the rest were not jarred up I'm guessing they're being found on the server just as the default menu does. Do I need to jar up replacement images for all images in my custom menu so that the menu is accessing everything from one source? Or can I somehow hack the default menu to meet my needs?
    Thx - J

    It looks lie it crashed doing Network I/O
    Have you blown the dust out of it lately?
    Get Temperature Monitor to see if it's heat related...
    http://www.macupdate.com/info.php/id/12381/temperature-monitor
    iStat Menus...
    http://bjango.com/mac/istatmenus/
    And/or iStat Pro...
    http://www.islayer.com/apps/istatpro/
    If you have any temps in the 70°C/160°F range, that's likely it.

  • Custom Menu and Word

    Is it possible to open a Wordfile from a Custom Menu?

    I get this error message when I have posted the document on the BPC WEB and the using OPENURL in the custom menu:
    Server Error in '/OSoft' Application.
    Runtime Error
    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
    <!-- Web.Config Configuration File -->
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

  • Using a custom menu button on the slide to open and close TOC in Captivate 7

    HI
    I have a custom menu button. When the user clicks I want to show TOC, ( I see there is a state to show TOC) but when the user clicks the same menu button again on that slide how can I hide the TOC. ie toggle between hide and show.
    thanks

    I described some possible scenarios: Toggle Shape buttons - Captivate 6 - Captivate blog

  • Weird custom menu behavior in 8.2

    I'm in charge of upgrading a large project from LV 7.1 to 8.2 and I ran into several problems but was able to resolve them except 2 major ones (not including the crashing tables and indices in self-indexing while loops).
    1) Our custom menu now seems to badly lag when trying to open it. Takes a good 2-3 seconds for any items to show up when the application is running and this behavior continues UNTIL i switch to the block diagram and put in the password for our application (to access the code). This definitely seems like a bug and I wasn't able to find any similar posts. Is this a known issue? Why does it happen?
    2)Badly lagging .VIT files. We have about 7 custom display .vit subvis which get called as clones by the application. They're not marked as re-entrant and I know 8.x changed the pass-by-value to pass-by-reference handling of clones. Is this the case? Why are my .vit now running twice as slow as in 7.1 on the same computer?
    Altenbach mentioned overlapping elements on the FP of the .vit's in another post, but could someone clear this up for me please? Does slightly overlapping cursor display on a wavegraph count? Or is this when you have a completely different FP control right on top of another control? Any help is greatly appreciated.Message Edited by romulus on 01-24-2007 08:27 AM
    Message Edited by romulus on 01-24-2007 08:31 AM

    Hey romulus,
                  I am still not fully understanding the best way to try and reproduce your issue.  If I were to create a new VI with a custom runtime menu in 7.1, then lock the block diagram with a password, and then open this VI in 8.20, should it display this behavior?  I will continue trying to reproduce this on my machine, but have been unable to thus far.  If you can provide a VI that replicates this problem, I would be happy to talk with R&D about it and see what is happening to cause the issue.  Thanks!!
    Brian B
    Field Sales Engineer
    Tennessee/Southern Kentucky
    National Instruments

  • Is it possible to add a custom menu item to built-in apps like addressbook, safari etc in iPhone

    Is it possible to add a custom menu item to built-in apps like addressbook, safari etc in iPhone

    Apple expects the OS to remain constant for all users - helps to maintain a quality experience. Devs are not allowed to make changes to built-in apps.

  • How to use standard VS commands in custom menu (vsct)

    Hi,
    I have a .vsct file which defines a custom menu. I want to add some default Visual Studio commands to this menu as well. I already managed to add some default commands such as copy / paste:
    <UsedCommands>
    <UsedCommand guid="guidVSStd97" id="cmdidCopy"/>
    </UsedCommands>
    <CommandPlacements>
    <CommandPlacement guid="guidVSStd97" id="cmdidCopy" priority="0x0100">
    <Parent guid="guidMyMenuCommands" id="grpMyMenu"/>
    </CommandPlacement>
    </CommandPlacements>
    When I do this, the "Copy" command shows up in my custom menu, with default Icon, text and shortcut - just as it should be. However, this does not work for all commands. To be precise, when I want to add the following commands...
    <UsedCommand guid="guidVSStd2K" id="ECMD_FORMATDOCUMENT"/>
    <UsedCommand guid="guidVSStd2K" id="ECMD_COMMENT_BLOCK"/>
    <UsedCommand guid="guidVSStd2K" id="ECMD_UNCOMMENT_BLOCK"/>
    ...nothing happens - no entry is added to my custom menu. How can I include the above default commands in a custom menu?
    Thanks,
    Max

    I just found out that the above commands are there after all, but they are invisible until a source code file is opened. I expected them to be grayed out instead of being totally invisible.
    Nevertheless, there are some commands that cannot be "instantiated" with the CommandPlacement tag. Instead, one needs to create a button for the respective command to show up in the menu. The following code shows an example:
    <UsedCommands>
    <UsedCommand guid="guidVSStd97" id="cmdidGotoDefn" />
    </UsedCommands>
    <Commands>
    <Buttons>
    <Button guid="guidVSStd97" id="cmdidGotoDefn" priority="0x0400">
    <Parent guid="guidMyMenuCommands" id="grpMyMenu" />
    <Strings>
    <ButtonText></ButtonText>
    </Strings>
    </Button>
    </Buttons>
    </Commands>

  • Custom menu item not appearing in HTML5 Output

    I'm trying to add a custom menu item to the top right of a project, it shows up fine in the flash output of a published SCORM file, but it's non-existent in the HTML5 output.
    Has anyone experienced this issue, or have any suggestions for a solution?
    Thanks in advance for any help you can provide!

    I did it through the Skin Editor in Captivate, it is not an external flash menu...I wouldn't expect it to convert flash to html5.  Through the skin editor you can add extra buttons, in the same place you can move the table of contents button, to the "top right".  The problem is, the custom menu items won't even show the text where the link should be in html5, nothing... only when published to flash.

  • How to add custom menu options in myaccounts module?

    Hi experts,
    To implement this, I have found myaccount.xml file in UI of myaccounts module. In this file, I found only menu headings but not menu options. Can anyone explain where data of menu options were populated from and how can I add my custom menu options? I also have tried to delete the menu heading but there was no effect. Please help!! I'm on WEC 1.0.
    Regards,
    Daro

    Hi Daro,
    the path to the billing module is "sap.com/wec/ecom/mc/billing". But nevertheless
    1.  you need only to enhance in your current modul the metadata.xml file with the link to your own myaccount.xml which you can create.
    2. and then you can define within the new file the menu options you need.
    3. the last step is to update your shop configuration with the new menu options.
    Best regards,
    Nico

  • Can I take a frame from my project and use it as a custom menu background with CS4 and its Encore

    My project is edited in CS4.
    I moved it to Encore CS4.
    I don't want to use any of the supplied menu templates in CS4 Encore.
    I was hoping CS4 would be all I needed to create custom menus using scenes from my project.
    My question is: Can I take a frame from my project and use it as a custom menu background with CS4 and its built in Encore or do I need some other element from the Adobe catalog to make these custom chapter menus and sub-menus?
    Thanks Jim

    OK, I'm back. Here are my steps for creating Custom Menus with PS, En and PrPro:
    In PrPro, move the CTI (Current Time Indicator) to the desired Frame. Check Frames on either side, with the Program Monitor’s Magnification to 100%, or maybe even 200% (you’ll need to scroll, but get a really clear picture). You want the clearest Frame in that area. With AME, in CS4, you’ll want to Export that Frame as .TIFF, or .BMP. I use .TIFF for this.
    Now, for a caveat. When you Import this Exported Frame into Photoshop, be sure to check the specs., especially the PAR. You may have to use Image>PAR to adjust this to match your Project’s specs. Or, all might be perfect - just check this out.
    Now, at this point, I choose the Library Menu, Blank, so that everything is setup. One can create the Menu from scratch, but careful attention needs to be paid to the exact naming conventions. At the very least, unless you’ve done this dozens of times before, use that Blank Menu, or similar as a guide, so you get things done, as they must be done.
    Using that Blank Menu, just drag the Layer from your Exported Frame to your Menu image. It will appear above the black Background.
    Add, or manipulate your Button Layer Sets, as is required, keeping them together. Remember that Button #1 will be the Button Layer Set, that is lower down in the Layers Palette. This can play a roll with Button Routing, back in Encore. Lower Button Layer Sets will have lower Button numbers.
    Now, I always rename my Button Layer Sets, keeping the required characters - just changing the name. I also do all of my Button text in PS, and make sure to turn OFF Sync Button Names.
    When done, Save_As .PSD, and then Import_As_Menu into Encore. Note: if you start with the Blank Menu, you can choose Edit in Photoshop, and then when done in PS, you just need to Save, and it will update in Encore. This is a personal workflow choice. I do the Edit in Photoshop route, but it is not necessary. One just needs to Import the resulting .PSD into Encore with Import_As_Menu, so that Encore does all the things that it needs to and recognizes the .PSD as a Menu.
    When deciding what to base your Menu on, remember that you can "populate" your Menu with Buttons from the Functional Content. I’d suggest studying these Assets, and picking the ones that work best for you. You can still alter/edit those back in PS, so you just need to "get close."
    Pay special attention to the required naming conventions. You cannot deviate from those first characters in the Button Layer Sets. They MUST be followed.
    If you have any questions, do not hesitate to ask.
    Good luck,
    Hunt

  • Calling multi application packages in custom menu

    Hi,
    I am trying to open a data management and custom package in a custom menu for different applications. My custom menu is set for application A and the custom package is in application B. Is there a way to call this package without changing the CV of the custom menu?
    Thanks!

    Thanks Raman,
    I meant to ask if there is a way to specify the application name in the EV_DEFAULT tab of the custom menu. Normally I use MNU_eData_DataUPLoad or MNU_eDATA_SELECTPACKAGE for defining packages but this calls only the packages from the current view application. I am looking for a way to specify other applications also in the custom menu without changing the package itself.
    Thanks!

  • Saving a custom menu in Encore library

    I've been watching a training video for Encore and several days ago I recall the trainer stated that a custom menu can be saved to appear in the menu library along with all the standard menus that come with Encore.
    After creating a menu in Photoshop and importing it to Encore I have it working the way I want.  I would like to save this in the menu library to use with other projects, but now I can't find the section of the training video that described how to do that.
    Is it as simple as saving the PSD in the library folders on my hard drive where all the standard menu files are saved?  I don't want to corrupt the data base by doing somehting dumb so some advice here would be very helpful.
    Thanks,
    Jim

    It is the wrong forum, but what you want to do is simple.  Import it as a menu into the project.  Drag it from the project into the library>General window.  You will then be asked whether you want to save it as a standard menu or a template.  If you want it to be portable to other computers, also check self contained under template.  That simple.

Maybe you are looking for

  • Unique Index vs. Unique Constraint

    Hi All, I'm studying for the Oracle SQL Expert Certification. At one point in the book, while talking about indices, the author says that a unique index is not the same a unique constraint. However, he doesn't explain why they're two different things

  • Explain Plan query

    I just changed the hint to pick different indexes inside the same SQL and they have significant different performance. SQL1 is much faster than SQL2 and the explain plain is very different. I found that there is some values like :Q1003, :Q1004 and :Q

  • LDB (Logical Database) results

    Dear All, I have an requirement where I have get the selection screen fields list of logical database(LDB) in my custom program. Also after getting the selection screen fields, whatever criteria is filled in those, once again i have to take those inp

  • Class Cast Exception in a custom adapter processing module

    Hi, I am trying to create a Custom adapter module in my file adapter as a Local enterprise Bean. I have taken the "ConvertCRLFfromToLF" sample given by SAP as a reference, created an EJB module project, and deployed the enterprise archive to the J2EE

  • SSIS connection problem -- inexplicable red box

    I've developed a lengthy SSIS package to migrate data from an old database to a new SQL Server 2008 database. My workstation is on the same domain as our dev SQL server. The SSIS package has several connection managers. When I'm connecting to the dat