How to use ignore=check_min_mem Command

Hi Guru's,
I was  trying to install Hana on VMware in laptop. But I am having 8GB ram.
I heard that ignore=check_min_mem command can be used to skip the check.
Can anyone tell me how  to use this command
My installation path is  - ./setup.sh /tmp/hanainstdir /tmp/hana.model
Pl note - I am installing this for my learning purpose.
Thanks in advance.
Saurabh Vaidya.

Hi Atul,
I had brought the server on rent to install the hana db, but it could not be completed
I had followed below  steps, Pl let me know  if  these were right or wrong
1. I had used hana life cycle management to install, I stuckup at stage "Starting the system" (4th step, sub step 2)
2. how  much time does hana installation takes? ( it took almost 4 hrs) but could not start the system
3. When I used "Top" command, I could see processes with something like (hdbindexserver, hdbpageserver......) was it going on well?
Thanks in Advance
Saurabh Vaidya

Similar Messages

  • How to use ls-l command in SAP ??

    Hi,
    can any one suggest how to use ls-l command of unix in sap to get the details of file like creation date,etc.
    Thanks.

    Hi Krishna.
    These are the steps you need to follow.
    tables: specify the table.
    data: begin of fs_...
            end of fs_    " Structure Field string.
    data: t_table like
            standard table
                      of fs_...
    data:
    w_file TYPE string.
    data:
      fname(10) VALUE '.\xyz.TXT'.
    select-options: if any.
    PARAMETERS:
      p_file LIKE rlgrap-filename.
    w_file = p_file.
    select .... statement
    OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    LOOP AT t_... INTO fs_....
    write:/ .....
    TRANSFER fs_... TO fname.
    or
    TRANSFER t_... TO fname
    ENDLOOP.
    CLOSE DATASET fname.
    Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
    Regards Harsh.

  • How to use "Open Stream" command?

    How to use "Open Stream" command in the iTunes application.

    File > Open Stream > Enter a URL > Click OK > Listen. Obviously the URL needs be a valid media source like an mp3 file or a streaming radio station.
    tt2

  • How to use Operating System Commands while using define in sqlplus

    How to use Operating System Commands while using define in sqlplus . The Host OS is Linux
    define report_name=PROD_${host date "+%b"}.html
    The above is not working.
    The output should be 
    define report_name=PROD_JAN.html
    Regards,
    DB

    of course I was talking nonsense: the problem here is the mixing of bind variables and DEFINE variables.
    With the following changes the script should work (the conditions for begin_interval_time are perhaps not what you want):
    variable snap1 number
    variable snap2 number
    variable rptname varchar2(20)
    begin
    SELECT min(snap_id) into :snap1 FROM dba_hist_snapshot WHERE CAST(begin_interval_time AS DATE) >= SYSDATE-1;
    SELECT max(snap_id) into :snap2 FROM dba_hist_snapshot WHERE CAST(begin_interval_time AS DATE) >= SYSDATE-1;
    end;
    col file_name_value new_value report_name noprint
    select 'PROD_'|| to_char(sysdate,'MON') || '_' ||  to_char(sysdate,'DD') file_name_value  from dual;
    define  report_type  = 'html'
    define num_days=2
    define begin_snap=:snap1
    define end_snap=:snap2
    @@?/rdbms/admin/awrrpt.sql

  • How to use do varying command

    Hi all,
    DATA: BEGIN OF i_mgmt OCCURS 0,
           btrtl     TYPE pa0001-btrtl,
           btext     TYPE t001p-btext,
           perm      TYPE pad_amt7s ,
           con       TYPE pad_amt7s ,
           perm2     TYPE pad_amt7s ,
           con2      TYPE pad_amt7s ,
           perm3     TYPE pad_amt7s ,
           con3      TYPE pad_amt7s ,
           tot       TYPE pad_amt7s ,
           avg       TYPE pad_amt7s ,
          END OF i_mgmt.
    This my int. table and i need to calculate tot. row wise How can i use do varying command in this condition. Or any other way to calculate tot. row wise...Plesae help me
    Thanks.

    Hi,
    Check this example program how to use DO VARYING ..
    REPORT ZTEST_NOTEPAD.
    DATA: BEGIN OF text,
            word1 TYPE c LENGTH 4 VALUE 'AAAA',
            word2 TYPE c LENGTH 4 VALUE 'BBBB',
            word3 TYPE c LENGTH 4 VALUE 'CCCC',
            word4 TYPE c LENGTH 4 VALUE 'DDDD',
          END OF text.
    DATA: word  TYPE c LENGTH 4,
          char1 TYPE c LENGTH 1,
          char2 TYPE c LENGTH 1,
          leng TYPE i.
    FIELD-SYMBOLS <word> LIKE text-word1.
    DATA inc TYPE i.
    DESCRIBE FIELD text LENGTH leng IN CHARACTER MODE.
    leng = leng / 2.
    DO leng TIMES VARYING char1 FROM text(1)
                                NEXT text+2(1) RANGE text
                  VARYING char2 FROM text+1(1)
                                NEXT text+3(1) RANGE text.
      WRITE: char1, char2.
      char1 = 'x'.
      char2 = 'y'.
    ENDDO.
    DO 4 TIMES VARYING word FROM text-word1 NEXT text-word2.
      WRITE / word.
    ENDDO.
    DO.
      inc = sy-index  - 1.
      ASSIGN text-word1 INCREMENT inc TO <word> RANGE text.
      IF sy-subrc = 0.
        WRITE / <word>.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    Thanks
    Venkat.O

  • How to use Runtime.getRuntime("command") in win?

    I dont know how to use this method in win entironment, for example about file opertions, where there is some documents on detail about it?

    Huh?
    There is a method called Runtime.getRuntime(). It does not take any parameters. The javadocs describe it.
    Is that what you are asking about?

  • How to:  using the Place command in an action and remembering the source filename...

    I have a large set of product, architecture, and other subject-specific photos, that I’m preparing for a new website; all to be placed in various galleries.
    For each photo, I want it to have the same background.  If I were doing this manually, I would simply “place” the subject photo into the background, and save it – back to the original photo name.
    In other words, doing this manually, PRODUCT_001.TIF gets placed into STANDARD_BKGRND.TIF, (thereby automatically correctly sizing and centering it), and then saving the result back to PRODUCT_001.TIF; either overwriting the original, or into a new folder.   (I have the original file somewhere else, and am working with an intermediate copy).
    But since I have several hundred photos, how do I create an action (and really – a droplet) that will save the resulting file to the desired name?  Typically placing photo ‘PRODUCT_001’ into photo ‘B’, alters photo ‘STANDARD_BKGRND’, so I can’t save the result back to ‘PRODUCT_001’.  Said differently, in a droplet, each time it's run saves the result back to the same filename 'STANDARD_BKGRND'.
    The end result – I want to apply that droplet to all the PRODUCT_***.TIF files in a given folder, and end up with the same file names as before.
    Thanks in advance for your help!
    Jerry
    PS - I have no scripting experience in PS, but have written code in other applications/scenarios. 

    Actions don't have access to the document name (where the file name is).  Scripts do, however.
    If your products are sequentially numbered, you're in luck.  You can overide the "Save as command" and make sure that your naming uses a sequence which you can set to the same starting number as your product. Here is an example of how to configure File -> Automate -> Batch (assume the set and action are your hand built one)
    Instead of "Document name" you'd type "PRODUCT_" per your example and choose a 3 digit Serial number.
    The "Starting Serial #" is where you can change if your products are numbered say, 101 and up.

  • How to use cvs checkout command in java

    Hi,
    I am using Ubuntu
    I have installed cvs client in ubuntu
    I have one problem running 'cvs checkout' command through java..
    "cvs" -d ":ext:[email protected]:/var/cvs" co -P "Auto/test"
    When i run the above command in terminal, i got one prompt like '[email protected]'s password:' in the terminal if i give the valid password the folder 'Auto' checked out successfully..
    I have tried following steps but i don't know how to give the password to the terminal using java
    First i created the 'checkout.sh' file.
    In this i have typed "cvs" -d ":ext:[email protected]:/var/cvs" co -P "Auto/test"
    Then i call it using java by the following code
    =================================================================
    String cmd[] = {"bash","checkout.sh"};
    Runtime.getRuntime().exec(cmd).waitFor();
    =================================================================
    Anyone let me know how do I achieve this in java?
    Thanks in Advance
    Kulandaivelu

    masijade. wrote:
    PhHein wrote:
    Maybe you need to modify your links to be more obvious :P
    [*>>klick me<<*|http://www.jcvs.org/]
    Nah! Attention to detail is one of most crucial attributes for a programmer in any language. ;-)
    Edit: The urls seemingly don't like h1 and color tags. ;-)Nope, they don't and I couldn't be bothered to try.
    Gratz on Gold!

  • How do use an Import Command from DB2 into a java program

    I have to use a csv file to load data into a table, after connecting to the database and using the execute, it does not recognise the import statement.
    How do i import that file into a table using a java program

    Import is a DB2 utility program which uses sql Insert to write data into a table. Insert is called from the CLP (command line processor), not from Java. If you want to do this job using Java, then you need to establish a connection to the database, and write your own sql insert statements.

  • How to use GPShells open_sc command for a SC02 option 15 Card (J2A, J3A)?

    Hi,
    my cards tell me as response to get-data 0066 command, that they are using SC02 option 15:
    Global Platform version : 2.1.1
    Global Platform Secure Channel Protocol: 02 option 15
    What are the right parameters for GPShells open_sc command?
    h3. GPShell help says:
    open_sc -keyind x -keyver x -key xyz -mac_key xyz -enc_key xyz -kek_key xyz -security x -scp x -scpimpl x -keyDerivation x
    For OpenPlatform 2.0.1' card only -keyind, -keyver, -mac_key and -enc_key are necessary.
    For GlobalPlatform 2.1.1 cards -scp and -scpimpl should be not necessary to supply. But you must also specify -kek_key. If your card supports a Secure Channel Protocol Implementation with only one base key, specify this key with -key and omit the other keys.
    If you have a card which uses key derivation you must enable the derivation mode with the -keyDerivation option and you must specify with -key the master (mother) key. -kek_key, -mac_key and -enc_key are not relevant, because they are calculated from the master key. See the sections #Options and #Key Derivation.
    h3. GP-2.1.1-Spec says for SC Protocol 02 with option 15:
    Initiation mode explicit, C-MAC on modified APDU, ICV set to zero, ICV encryption for CMAC session, 3 Secure Channel Keys,
    h3. So, What are the right parameters for GPShells open_sc command?
    Assumtions:
    1. As my cards support GP 2.1.1 I sould not need to supply -scp and -scpimpl (acc. to GPShell help)
    2. SCP 02 option 15 has three Secure Channel Keys (acc. to GP2.1.1. Spec) and does not support SCPImpl with only one base key (as mentioned in GPShell help).
    Questions:
    1. Are the 3 Secure Channel Keys mentioned in the Spec the keys -mac_key -enc_key -kek_key mentioned in GPShell help?
    2. Where can I look for the correct values of -keyind and -keyver?
    3. How can I check wether my card uses key derivation?
    4. Can I freely choose the -security parameter from [ 0: clear, 1: MAC, 3: MAC+ENC ]
    or is this determined by the SCP 02 option 15 to 1: MAC?
    5. GPShells listgp211.txt uses
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel
    But that does not work for me (in fact: how can one open_sc command match for all GP Cards, if they use different
    SCP 02 but with different options (as it is 15 in my case?)
    It is no prob for me to dig into the specs, but I feel like there are some points not too clear there,
    so I need experience too: trial and error.
    That would be fine for me but locking all these cards does not feel so well, I'd be glad to perform some successful auth
    to reset that damn counter ;)
    Cheers,
    Max

    I managed to connect sucessfully to J2A-Card:
    Main insight is that you have to specify 3 keys (can be the same key three times)
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key x -enc_key x -kek_key xh1. GPShell Trace:
    mode_211
    enable_trace
    establish_context
    card_connect
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F658408A000000003000000A5599F6501FF9F6E06479181023100734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
    open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040215650B06092B8510864864020103660C060A2B060104012A026E01029000
    Command --> 805000000860A1D92C0D5BA76800
    Wrapped command --> 805000000860A1D92C0D5BA76800
    Response <-- 00000093014854952092FF020004B1B79602B1CB9486C7A12DEB85139000
    Command --> 8482010010273C6B2808F0F5391350C479076D6951
    Wrapped command --> 8482010010273C6B2808F0F5391350C479076D6951
    Response <-- 9000
    get_status -element 10
    Command --> 80F21000024F0000
    Wrapped command --> 84F210000A4F008EB97807E3B04F9200
    Response <-- 07A000000003535001000108A0000000035350410948454C4C4F4A434F500100010A48454C4C4F4A434F50419000
    List of Ex. Load File (AID state Ex. Module AIDs)
    a0000000035350     1
         a000000003535041
    48454c4c4f4a434f50     1
         48454c4c4f4a434f5041
    get_status -element 20
    Command --> 80F22000024F0000
    Wrapped command --> 84F220000A4F00530272F4C196EACD00
    Response <-- 07A000000003535001000948454C4C4F4A434F5001009000
    List of elements (AID state privileges)
    a0000000035350     1     0
    48454c4c4f4a434f50     1     0
    get_status -element 40
    Command --> 80F24000024F0000
    Wrapped command --> 84F240000A4F00F4B9DB41BAF2486E00
    Response <-- 0A48454C4C4F4A434F504107009000
    List of elements (AID state privileges)
    48454c4c4f4a434f5041     7     0
    card_disconnect
    release_contexth1. JCOP Tools Trace
    --Opening terminal
    /card -a a000000003000000 -c com.ibm.jc.CardManager--Waiting for card...
    ATR=3B F8 18 00 FF 81 31 FE 45 4A 43 4F 50 76 32 34    ;.....1.EJCOPv24
        31 43                                              1C
    ATR: T=1, FI=1/DI=8 (31clk/etu), N=-1, IFSC=254, BWI=4/CWI=5, Hist="JCOPv241"
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00          ..............
    (24218 usec)
    <= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65    oe...........Y.e
        01 FF 9F 6E 06 47 91 81 02 31 00 73 4A 06 07 2A    ...n.G...1.sJ..*
        86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B    .H..k.`...*.H..k
        02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64    ....c...*.H..k.d
        0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09    ...*.H..k...e...
        2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01    +...Hd...f...+..
        04 01 2A 02 6E 01 02 90 00                         ..*.n....
    Status: No Error
    cm>  set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
    cm>  init-update 255
    => 80 50 00 00 08 51 C6 9C 29 E2 B2 9E 89 00          .P...Q..).....
    (49458 usec)
    <= 00 00 00 93 01 48 54 95 20 92 FF 02 00 05 BD 1A    .....HT. .......
        6B E9 D3 D5 5C 10 15 5A 3B FE 74 3B 90 00          k...\..Z;.t;..
    Status: No Error
    cm>  ext-auth plain
    => 84 82 00 00 10 80 2B 5E A2 9A E4 CB AC FB 4B 10    ......+^......K.
        A2 5F E3 1A 87                                     ._...
    (52746 usec)
    <= 90 00                                              ..
    Status: No ErrorCheers,
    Max

  • How to use the telnet command line in Labview

    Hi, someone can help me, I need to use a Telnet session in Labview but without using the http protocol, in this application I can only access the Telnet session using command line, here is an example of how I can access:
    From my computer, click on Start, then Run and then type in CMD.
    In the command line enter “telnet 192.168.0.1 5454” (without the quote marks) to bring up a blank DOS screen with a blinking cursor.
    Type “AT” and press the ENTER key, you should receive an “OK” response.
    Type in capital letters “AT+CMAR=1234” (without the quote marks)

    I had a similar situation and here is what I did...
    In MAX (Measurement and Automation eXplorer)
    Select Devices and Interfaces
    Select VISA TCP/IP Resources
    Create a new resource
    Select Manual Entry of Raw Socket
    Enter the IP address and port (23 is the standard telnet port)
    Give it a name. (VISA Ailas)
    Now this "Device" will show up in the VISA drop down just like any other VISA device.
    Use the VISA read and write just like you were communicating through a com port.
    Since Telnet does not have a stop bit like serial, make sure you enable the termination character.
    On your VISA reads set the number of characters to a big number, then VISA will read until it gets the termination character.
    See my attached snippet of my Telnet read vi
    Message Edited by RTSLVU on 06-16-2010 01:49 PM
    Message Edited by RTSLVU on 06-16-2010 01:50 PM
    Attachments:
    telnet.png ‏40 KB
    max1.png ‏33 KB
    max2.png ‏31 KB

  • How to use 'right click' command of windows in mac firefox

    how do i use the windows 'right click commands in mac firefox
    == This happened ==
    Every time Firefox opened
    == begining

    http://kb.mozillazine.org/Ui.click_hold_context_menus
    type '''about:config''' in the URL bar and hit Enter
    Pref Name = '''ui.click_hold_context_menus'''
    Double-click to Toggle to '''True'''

  • How to use this backup command

    I am learning about solaris backup, I found three useful backup command, I am confusing about them, can not find
    explanation on the man page
    ufsdump 0f - / | ( cd /cop/0 ; ufsrestore -rf - )
    ufsdump 0f - /export/home | ( cd /cop/7 ; ufsrestore -rf - )
    installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0
    I try first two commands, they are works, my questions are,
    1 The hyphen dumps the data to standard output, what is the standard output?
    2 why use the ufsrestore -rf -
    3 when I finish the first command, there is nothing record in the /etc/dumpdates, why?
    4 it seems they are useful to copy from disk to disk, but , when I restore data,
    will I use the command ufsrestore as usual?
    5 currently, in the real world, what kind of backup command do you use in your
    company? Because many books give me command of backuping data to tape,
    are you still using tape nowadays? or do you backup data to hard disk instead of
    tape?
    appreciated for any help, thanks
    Edited by: user8117130 on Jul 2, 2011 9:14 PM

    Where to begin..
    Well, question 1 and 2:
    The commands you found are commands which were used to copy the entire root disk, as well as the partition /export/home to a new disk.
    Apparently the person who first used them had a new harddrive, which he (or she) partitioned and mounted under /cop/ . He (or she) then copied all the data from the / and /export/home partitions to the new disk.
    Hence the use of ufsrestore.
    There are two outputs, standard output (also referred to as - or STDOUT) and standard error.
    Any normal output from any command (such as 'ls') is sent to STDOUT . You can redirect data from STDOUT to a file by using >, i.e:
    ls > /tmp/output.ls
    STDERR is where error messages go.
    Apart from STDOUT and STDERR you also have something called STDIN (or Standard Input), which is used to feed data to a command.
    Just as you can use > to send STDOUT, you can use < to send STDIN, i.e:
    cat < /tmp/output.ls
    In the example you posted with ufsdump/ufsrestore the use read the content of a partition with ufsdump, then send it through a pipe to ufsrestore, which writes it down at a different place. The result is that the user gets a copy of the / disk under /cop/0 .
    As such thats not a backup command, its a way of copying a disk.
    Question 3:
    Because there is no 'u' option, to update /etc/dumpdates you need to use the u argument to ufsdump, in your example:
    ufsdump 0fu - /
    Question 4:
    Well. There are two ways to do a ufsdump to a disk, one way is to do it the way you did it, by piping it to ufsrestore. In that case you can't restore your files using ufsrestore, since they are already copied to the disk.
    The second way to use ufsdump to a disk is to write the entire dump to a file, i.e.:
    ufsdump 0fu /path/to/ufsdump_of_root.dmp /
    Then you can restore a file using ufsrestore, to use an interactive restorer:
    ufsrestore fi /path/to/ufsdump_of_root.dmp
    Question 5:
    Most companies i have worked at uses a mix, some backups are written to disks and some to tape. In particular the short term backups (in the time frame one week to one month) are disk based and everything else (one month to ten years) are tape-based.
    But it really depends on what kind of data it is and what legal requirements you have. If you have to store data for a few years disk backups are not really an option. The benefits of tape backups are that they are quite fast (in particular LTO5), they don't really consume any electricity and you can easily enlarge your archive by buying more tapes.
    I once calculated how many harddrives i would need to store 10 years of backups online. I don't remember how many harddrive i needed (but it was 100TB +), but it would require about 10-15kW of electricity...
    Harddisk backups was popular a while ago, but i think tape is coming back, at least thats my impression.
    .7/M.

  • How to:  using the Place command in an action and remember the correct source filename...

    I have a large set of product, architecture, and other subject-specific photos, that I’m preparing for a new website; all to be placed in various galleries.
    For each photo, I want it to have the same background.  If I were doing this manually, I would simply “place” the subject photo into the background, and save it – back to the original photo name.
    In other words, doing this manually, PRODUCT_001.TIF gets placed into STANDARD_BKGRND.TIF, (thereby automatically correctly sizing and centering it), and then saving the result back to PRODUCT_001.TIF; either overwriting the original, or into a new folder.   (I have the original file somewhere else, and am working with an intermediate copy).
    But since I have several hundred photos, how do I create an action (and really – a droplet) that will save the resulting file to the desired name?  Typically placing photo ‘PRODUCT_001’ into photo ‘B’, alters photo ‘STANDARD_BKGRND’, so I can’t save the result back to ‘PRODUCT_001’.  Said differently, in a droplet, each time it's run saves the result back to the same filename 'STANDARD_BKGRND'.
    The end result – I want to apply that droplet to all the PRODUCT_***.TIF files in a given folder, and end up with the same file names as before.
    Thanks in advance for your help!
    Jerry
    PS - I have no scripting experience in PS, but have written code in other applications/scenarios.

    Its great that your products are cutouts layers,  Its easy to put cutouts on backgrounds and even add layer style to the product layer to enhance the composite. Still cutouts have size and resolution as  do your background images. 
    When you make composites. A document that is place in or pasted into the current document will be resample to match the current documents DPI resolution to preserve the size of the document being place or pasted in size.
    Additionally if your using place if the document being placed in does not fit within the current document's canvas size. Photoshop may scale the image to fit within the canvas.  It depends on your user id Photoshop Preference setting.
    That means you need you handle the sizes involved.
    I would think that you would want the final composite to be the size of the background image.
    You need to know its size and dpi resolution.  You must use image size on your product image and make the image have the same dpi resolution and a size smaller then the background image.  Perhas they have the same dip resolution as the background and are smaller in size. If that the cast their size are good no image resize  is required,
    Then you need to use canvas size to make the document have the same size and resolution as the background image.
    You may want to center the product layer over the canvas however Canvas size will add canvas evenly around the produt layer's layer bounds when you leave the anchor point in the center. 
    When you then place in the background image it will not be resampled for it has the same dpi resolution as the current document and it will not be scaled for it is an exact canvas size fit.  All that remains to be done is  move the current placed layer below the  product layer 
    The document name is the product image file name opened by you or by Photoshop automate batch process.

  • 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>

Maybe you are looking for

  • Is Parralels faster than Bootcamp for my Imac?

    I run mostly High Graphics Games like Minecraft-Bootcamp runs it ok, but would Parralels run faster, with less processor overhead, or emulation? My Imac isnt equipped with the fastest video card on the block...Looking for a better frame rate. Thanks

  • Exporting MPEG2's????

    I am using an uncompressed quicktime graphic within final cut that I have to take into dvd studio pro to create a dvd. When I export an mpeg2 and burn my dvd the graphic seems to look like I have lost Alot of contrast. The quality has been greatly lo

  • Solman 3.2

    Dear all , I had 2 queries regarding the solution manager 3.2 --> 1. I want to implement the business process monitoring in solution manager 3.2 .i had gone throough the sap documentation but it does nt help much . If anybody had done this b4 , pleas

  • Adobe Air message by silent installing

    Hi all, i hope anybody can help me here. I have create a silnet package of cs4. The silent installation is running well only this message apears a view times during the installation and i have allways to klick to "ok" Adobe AIR This application requi

  • After installing the update to Adobe Reader 11.0.09 can't print PDF's anymore

    After installing Adobe Reader 11.0.09 I can't print PDF's anymore. After click on 'Print' I get the message 'can't print the document', after click 'OK' I get the message 'there are not pages selected'. What's the solving for this problem? Thanks for