Key Handler

//My source code:
package keyhandler;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import javax.swing.JFrame;
public class Handler implements KeyListener {
private boolean FINISH = true;
private Set<Integer> set;
*@param args*
public Handler() {
set = Collections.synchronizedSet(new HashSet<Integer>());
public void handle() {
while (FINISH) {
synchronized (set) {
Iterator<Integer> i = set.iterator();
String k= "";
while (i.hasNext()) {
int key = i.next();
switch (key) {
case 27: FINISH=false;break;
case 38:k = k.concat(" Up");break;
case 39:k = k.concat(" right");break;
case 40:k = k.concat(" down");break;
case 37:k = k.concat(" left");break;
default :k = k.concat(" "+key);break;
System.out.println(k);
System.exit(0);
public static void main(String[] args) {
Handler handler = new Handler();
JFrame frame = new JFrame();
frame.setVisible(true);
frame.addKeyListener(handler);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
handler.handle();
@Override
public void keyPressed(KeyEvent arg0) {
synchronized (set) {
set.add(arg0.getKeyCode());
@Override
public void keyReleased(KeyEvent arg0) {
synchronized (set) {
set.remove(arg0.getKeyCode());
@Override
public void keyTyped(KeyEvent arg0) {
// TODO Auto-generated method stub
// I 've got this code to handle keys. I am making an interface for a game and I would like to handle more than one key at same time. I want to handle the arrow keys. It seems to be fine except when I am holding down the Up arrow key i can hold just another key at same time.
Example :
Down Left Right - holding down left and right arrow key at same time
Up left - with up arrow key i can hold just another one key. Not more.
Can anybody help me to sort out this source?

Thanks for your idea, very cool very useful
[fresh fridays |http://reggae-cd.net/fresh-fridays-reggae-dance-in-jamaica]
[passa passa DVD |http://reggae-dvd.com/passa-passa-reggae-music-and-dancing]
[passa passa  |http://bestreggaemusic.com/passa-passa-90-mavado-fall-rain-fall-official-dance]
[reggae videos|http://reggae-dancehall.net/crabb-up-friday-dancehall-reggae]

Similar Messages

  • UP AND DOWN ARROW KEY HANDLING IN MODULE POOL PROGRAM

    HI GURUS,
    I HAVE A STRANGE REQUIREMENT ....I AM DISPLAYING  TWO TABLE CONTROLS IN A SCREEN
    WHERE IN THE 1ST TABLE CONTROL IS DISPLAYING ALL THE SALES ORDER NO'S  WHEN ENTER KEY IS PRESSED.
    THE SECOND TABLE IS DISPLAYING THE ITEMS FOR THE SELECTED SALES ORDER...
    THIS IS HAPPENING WHEN I DOUBLE CLICK THE SALES ORDER NO IN THE FIRST TABLE CONTROL..
    NOW THE CLIENT SAYS HE WILL NOT DOUBLE CLICK IT...HE SAYS THAT THE ITEM DISPLAY IN THE SECOND TABLE SHOULD BE DONE WHEN HE USES THE ARROW KEYS..

    Yes!
    Create a class like this:
    CLASS lcl_click_handler DEFINITION.
      PUBLIC SECTION.
        METHODS:
        handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
                       IMPORTING e_row_id e_column_id.
    ENDCLASS.             
    Write the implementation for this class which meets your needs.
    Declare it:
    DATA: obj_click_handler TYPE REF TO lcl_click_handler.
    Create and use it:
    CREATE OBJECT obj_click_handler.
    SET HANDLER obj_click_handler->handle_hotspot_click  FOR your_obj_grid.
    Regards
    Jordi

  • Duplicate keys handling

    I come across a problem when handling duplicate keys retrieved from query result.
    It is not hard I believe, but I can not find solution
    the problem is:
    I have a query that will retrieve the rows like structure
    product_A, aaa
    product_A, bbb
    product_A, ccc
    product_A, ddd
    product_A, eee
    product_B, 111
    product_B, 222
    product_B, 33
    product_B, 334
    product_C, 212
    product_C, 411
    In jsp page, I can do iteratoring to get each element like product_x and number display row by row in table
    Now the requirement is changed to get no duplicate key(product_X) displayed in page, but all the number that belongs to same product key should be displayed alongside product key display.
    that means to display like this:
    product_A aaa bbb ccc ddd eee
    product_B 111 222 33 334
    product_C 212 411
    The condition is i can not change the original query, what i need to do reorganize the each row object and change the display like above
    I was trying to add each elements include product key and number to the hashmap as key value pair
    and then plan to do data structure change. But the hashmap does not support duplicate keys. Now i have no idea of implemeting this
    Any of you has solution to it?
    Appreciated!
    Very junior programmer

    My testing code according to what you guys suggest as below:
            Hashtable map = new Hashtable();
            String[] strArray1 = { "PRODUCT_A","PRODUCT_A","PRODUCT_A","PRODUCT_A","PRODUCT_A","PRODUCT_A",
                                  "PRODUCT_B","PRODUCT_B","PRODUCT_B","PRODUCT_B","PRODUCT_B","PRODUCT_B",
                                  "PRODUCT_C","PRODUCT_C","PRODUCT_C","PRODUCT_C","PRODUCT_C","PRODUCT_C",
            String[] strArray2 = { "1000","1001","1002","1003","1004","1005",
                                   "2000","2001","2002","2003","2004","2005",
                                   "3000","3001","3002","3003","3004","3005"};
            for (int i = 0; i < strArray1.length; i++) {
                String productKey = strArray1;
    String productNumber = strArray2[i];
    List list = (ArrayList) map.get(productKey);
    if (list == null)
    map.put(productKey, list = new ArrayList());
    list.add(productNumber);
    System.out.println(" map.size(): " + map.size());
    Enumeration emuKey = map.keys();
    while(emuKey.hasMoreElements()){
    String productKey = (String)emuKey.nextElement();
    System.out.println("PRODUCT: " + productKey);
    ArrayList list = (ArrayList)map.get(productKey);
    for(int i=0; i<list.size();i++){
    System.out.println("list["+i+"]: " + (String)list.get(i));
    output:
    map.size(): 3
    PRODUCT: PRODUCT_C
    list[0]: 3000
    list[1]: 3001
    list[2]: 3002
    list[3]: 3003
    list[4]: 3004
    list[5]: 3005
    PRODUCT: PRODUCT_B
    list[0]: 2000
    list[1]: 2001
    list[2]: 2002
    list[3]: 2003
    list[4]: 2004
    list[5]: 2005
    PRODUCT: PRODUCT_A
    list[0]: 1000
    list[1]: 1001
    list[2]: 1002
    list[3]: 1003
    list[4]: 1004
    list[5]: 1005
    With all your suggestion, it finally works. thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Power key handler

    I am running the latest Arch (pacman -Suy executed on 2013-07-07, kernel 3.9.9.1) with OpenBox on a Samsung 900X4C.
    No acpid installed.
    When I press the power key/button the system gets shut down all right (I can see some log messages).
    My question is WHY?!
    As I understand https://wiki.archlinux.org/index.php/Sy … management, /etc/systemd/logind.conf controls
    what happens when the power key is pressed. Here is mine:
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #Controllers=
    #ResetControllers=cpu
    #InhibitDelayMaxSec=5
    #HandlePowerKey=poweroff
    HandlePowerKey=ignore
    #HandleSuspendKey=suspend
    #HandleHibernateKey=hibernate
    HandleLidSwitch=suspend
    #PowerKeyIgnoreInhibited=no
    PowerKeyIgnoreInhibited=yes
    #SuspendKeyIgnoreInhibited=no
    #HibernateKeyIgnoreInhibited=no
    LidSwitchIgnoreInhibited=yes
    #IdleAction=ignore
    #IdleActionSec=30min
    So, unless there is a systemd-ghostd handling the power key (and possibly also ignoring the lid switch), I'd expect
    NOTHING to happen on keydown for the power button.
    What IS the real "chain of command" here?
    Thanks a lot for your help,
    André
    Last edited by andy4712 (2013-07-07 10:33:59)

    my logind.conf and my laptop doesn't shut down
    [Login]
    #NAutoVTs=6
    #ReserveVT=6
    #KillUserProcesses=no
    #KillOnlyUsers=
    #KillExcludeUsers=root
    #Controllers=
    #ResetControllers=cpu
    #InhibitDelayMaxSec=5
    HandlePowerKey=ignore
    HandleSuspendKey=ignore
    HandleHibernateKey=ignore
    HandleLidSwitch=ignore
    PowerKeyIgnoreInhibited=ignore
    SuspendKeyIgnoreInhibited=ignore
    HibernateKeyIgnoreInhibited=ignore
    LidSwitchIgnoreInhibited=ignore
    #IdleAction=ignore
    #IdleActionSec=30min
    I don't know if this is perfect, but it works

  • ALT key handling in Jmenbar

    Hi,
    I am using Jmenu/menubar/item on a JFrame in my applicatrion. I set mnemonics to the menus and menu items. When I press the ALT+Mnemonic it is working fine. At the same time if I press only ALT key the menu on the frame is not getting selected. At the same time if I press F10 the menu on the bar is getting selected.
    Normally in windows pressing the ALT key will select the first menu bar.
    Regards,
    Clement

    Hi Qaiser
    The best place to ask this question is the Oracle Forms forum. I hope env the "ORACLE REPORT TEAM" will agree with me.
    Regards
    Sripathy

  • Key Handling in Tab Pages of Form

    Dear OTNz
    I want to control my tab pages with some HOT keys
    For example : I have Five Tab Pages named as FIRST,SECOND,THIRD,FOURTH and FIFTH
    now i want to access them with the keys ALT+F,ALT+S,ALT+T,ALT+U and ALT+I rescpectively...
    Is there a way in oracle forms to capture key codes and then use them to go to the particular tab page with those keys.
    If any body knows ..pls tell me ASAP.i'll be really thankfull.
    ALL i want to do is to provide hot keys to my TAB PAGES....
    I'll like ORACLE REPORT TEAM to respond me if there is any way to implement this functionality.
    THANK YOU.

    Hi Qaiser
    The best place to ask this question is the Oracle Forms forum. I hope env the "ORACLE REPORT TEAM" will agree with me.
    Regards
    Sripathy

  • Up and Down arrow keys handling - ALV

    Hi guys!
    Is there any possibility to handle such events in cl_gui_alv_grid?
    thanks!

    Yes!
    Create a class like this:
    CLASS lcl_click_handler DEFINITION.
      PUBLIC SECTION.
        METHODS:
        handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
                       IMPORTING e_row_id e_column_id.
    ENDCLASS.             
    Write the implementation for this class which meets your needs.
    Declare it:
    DATA: obj_click_handler TYPE REF TO lcl_click_handler.
    Create and use it:
    CREATE OBJECT obj_click_handler.
    SET HANDLER obj_click_handler->handle_hotspot_click  FOR your_obj_grid.
    Regards
    Jordi

  • NIO Non-Blocking Server not Reading from Key

    I have created a NIO non blocking server (below) and it will not pick up any input from the client.... My log doesnt even show that it enters the readKey() method, so it must be something before. Any help would be appreciated.
    Scott
    package jamb.server;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.nio.ByteBuffer;
    import java.nio.CharBuffer;
    import java.nio.channels.ClosedChannelException;
    import java.nio.channels.SelectionKey;
    import java.nio.channels.Selector;
    import java.nio.channels.ServerSocketChannel;
    import java.nio.channels.SocketChannel;
    import java.nio.channels.spi.SelectorProvider;
    import java.nio.charset.Charset;
    import java.nio.charset.CharsetDecoder;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.logging.Logger;
    import java.util.prefs.Preferences;
    import jamb.server.client.Client;
    public class Server {
            private Selector selector;
            private ServerSocketChannel serverChannel;
            private static Logger logger = Logger.getLogger("jamb.server");
            private static Preferences prefs =  Preferences.systemRoot().node("/jamb/server");
            public void init() {
                    logger.entering("jamb.server.Server", "init");
                    //Get a selector...
                    try {
                            selector = SelectorProvider.provider().openSelector();
                            //Open the SocketChannel and make it non-blocking...
                            serverChannel = ServerSocketChannel.open();
                         serverChannel.configureBlocking(false);
                            //Bind the server to the port....
                            int port = prefs.getInt("Port", 4000);
                            logger.config("Server configured on port " + port + " (default: 4000)");
                         InetSocketAddress isa = new InetSocketAddress(
                                    InetAddress.getLocalHost(), port);       
                         serverChannel.socket().bind(isa);
                    } catch (IOException ioe) {
                            logger.severe ("IOException during server initialization!");
                    logger.exiting("jamb.server.Server", "init");
            public void run() {
                    logger.entering("jamb.server.Server", "run");
                    int bufferSize = prefs.getInt("BufferSize", 8);
                    logger.config("Buffer size set to " + bufferSize + " (default: 8)");
                    SelectionKey acceptKey = null;
                    try {
                            acceptKey = serverChannel.register(
                                    selector, SelectionKey.OP_ACCEPT);
                    } catch (ClosedChannelException cce) {
                    try {
                            while (acceptKey.selector().select() > 0) {
                                    Set readyKeys = selector.selectedKeys();
                                    Iterator i = readyKeys.iterator();
                                    while (i.hasNext()) {
                                            //logger.finest("Processing keys...");
                                            //Get the key from the set and remove it
                                            SelectionKey currentKey = (SelectionKey) i.next();
                                            i.remove();
                                            if (currentKey.isAcceptable()) {
                                                    logger.finest("Accepting key...");
                                                    acceptKey(currentKey);
                                            } else if (currentKey.isReadable()) {
                                                    logger.finest("Reading key...");
                                                    readKey(currentKey, bufferSize);
                                            } else if (currentKey.isWritable()) {
                                                    //logger.finest("Writing key...");
                                                    writeKey(currentKey);
                    } catch (IOException ioe) {
                            logger.warning("IOException during key handling!");
                    logger.exiting("jamb.server.Server", "run");
            public void flushClient (Client client) {
                    try {
                            ByteBuffer buf = ByteBuffer.wrap( client.getOutputBuffer().toString().getBytes());
                            client.getChannel().write(buf);
                    } catch (IOException ioe) {
                            System.out.println ("Error writing to player");
                    client.setOutputBuffer(new StringBuffer());
            private void acceptKey (SelectionKey acceptKey) {
                    logger.entering("jamb.server.Server", "acceptKey");
                    //Retrieve a SocketChannel for the new client, and register a new selector with
                    //read/write interests, and then register
                    try {
                            SocketChannel channel =  ((ServerSocketChannel) acceptKey.channel()).accept();
                            channel.configureBlocking(false);
                            SelectionKey readKey = channel.register(
                                    selector, SelectionKey.OP_READ|SelectionKey.OP_WRITE  );
                            readKey.attach(new Client(this, channel));
                    } catch (IOException ioe) {
                            System.out.println ("Error accepting key");
                    logger.exiting("jamb.server.Server", "acceptKey");
            private void readKey (SelectionKey readKey, int bufSize) {
                    logger.entering("jamb.server.Server", "readKey");
                    Client client = (Client) readKey.attachment();
                    try {
                            ByteBuffer byteBuffer = ByteBuffer.allocate(bufSize);
                            int nbytes = client.getChannel().read( byteBuffer );
                            byteBuffer.flip();
                            Charset charset = Charset.forName( "us-ascii" );
                            CharsetDecoder decoder = charset.newDecoder();
                            CharBuffer charBuffer = decoder.decode(byteBuffer);
                            String text = charBuffer.toString();
                            client.getInputBuffer().append(text);
                            if ( text.indexOf( "\n" ) >= 0 )
                                    client.input();
                    } catch (IOException ioe) {
                            logger.warning("Unexpected quit...");
                            client.disconnect();
                    logger.exiting("jamb.server.Server", "readKey");
            private void writeKey (SelectionKey writeKey) {
                    //logger.entering("jamb.server.Server", "writeKey");
                    Client client = (Client) writeKey.attachment();
                    if (!client.isConnected()) {
                            client.connect();
                    //logger.exiting("jamb.server.Server", "writeKey");

    From my own expierence with the NIO (Under Windows XP/ jdk1.4.1_01); you can't seem to set READ and WRITE at the same time.
    The program flow I usually end up with for a echo server is:
    When the selector.isAcceptable(): accept a connection; register for READs
    In the read event; write the incoming characters to a buffer; register for a WRITE and add the buffer as an attachment.
    In the write event; write the data to the socket If all the data was written; register for a READ; otherwise register for another WRITE so that you can write the rest.
    Not sure if that the "proper" way; but it works well for me.
    - Chris

  • Submit OA page with Enter key in custom page

    Hello All,
    I have one custom page with 20+ fields and two submit buttons to do different processing.
    On this page, if enter key is pressed then I need to submit the form i.e. invoke processing corresponding to one of the submit button.
    I know that at field level I can bind enter key event. But for that I need to write same code 20 times for all 20 fields.
    Do we have any simple way to implement submit if enter key is pressed in any of the fields?
    Any help will be highly appreciated.
    Thanks,
    Ritesh

    Hi Ritesh,
    Not sure but you will want to try implementing the method mentioned by Anil using "OAPageLayoutBean" to get the enter key handle for all the fields in a page.
    i.e. try with
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    Hashtable params = new Hashtable(); 
        params.put ("Go", "value1");
        page.setAttributeValue(OAWebBeanConstants.ON_KEY_PRESS_ATTR, new OABoundValueEnterOnKeyPress(pageContext,
                                          "DefaultFormName", // enclosing form name
                                          params, // request parameters
                                          false, // client unvalidated
                                          false)); // server unvalidatedinstead of
    OAMessageTextInputBean HelloName = (OAMessageTextInputBean)webBean.findChildRecursive("HelloName");
             Hashtable params = new Hashtable(); 
             params.put ("Go", "value1");
             HelloName.setAttributeValue(OAWebBeanConstants.ON_KEY_PRESS_ATTR,
             new OABoundValueEnterOnKeyPress(pageContext,
                                          "DefaultFormName", // enclosing form name
                                          params, // request parameters
                                          false, // client unvalidated
                                          false)); // server unvalidatedand pls update the result.
    regards,
    Anand

  • KeyEvent Handling

    Hello everyone.
    I'm using Netbeans 5.0 to build a form project. I have a class that extends from JFrame and I wanted to make it a KeyListener. So I set on the design window the desired events I wanted my frame to handle, which were keyPressed, keyReleased and keyTyped. Netbeans has generated the following code:
    addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyPressed(java.awt.event.KeyEvent evt) {
                    formKeyPressed(evt);
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    formKeyReleased(evt);
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    formKeyTyped(evt);
            });and also generated the methods formKey<action> stated above. I wrote the methods and they work ok. But when I ran the project the key listening didn't work properly. Using Netbeans debugger, I found out that the following happens: in the code above, when the first method is called (formKeyPressed), the object evt is correctly set, with a valid key code. The program goes on because the key that I pressed is suposed to be treated in formKeyTyped. When formKeyTyped is invoked, however, object evt has its code set to 0, although its char is unchanged. Does anyone knows why it happens?

    and the key handling code is built as follows
    switch (evt.getKeyCode()){
                  case KeyEvent.VK_MINUS:
                   //code
                   break;
                  case KeyEvent.VK_UNDERSCORE:
                   //code
                   break;
    }in all three methods

  • Event on Del key keyboard

    As from James_D code posted here
    How to progate an event to a children using JavaFx2
    I am interested in how to attach an event to group made of Line and Anchor, or at line only in order to intercept the delete key keyboard press to remove the whole group.
    Thanks

    Hi James D,
    thanks for your reply: do you mean something like this?
    line.addEventHandler(KeyEvent.ANY, new EventHandler<KeyEvent>() {
                        @Override
                        public void handle(final KeyEvent keyEvent)
                            System.out.println("key handler");
                    });It does not work.

  • How to trap the Delete Key..

    Hi
    I have implemented key handler for a text area and I want to do something when the delete key is pressed, but somehow the delete key press event is never trapped.
    Any ideas?? Here is the code:
    text_area.addKeyListener(new KeyAdapter(){
    public void keyTyped(KeyEvent e){
    if(e.getKeyCode() == e.VK_DELETE){
    System.out.println("This was deltete");
    I checked in the debugger....this method is never invoked for the delete key.
    How do I trap the delete key event??
    Thank you for your time.

    I agree. Something like:
    String actionName = DefaultEditorKit.deletePrevCharAction;
    final Action deletePrevCharAction = textpane.getActionMap().get(actionName);
    Action myAction = new AbstractAction()
    public void actionPerformed(ActionEvent e)
    System.out.println("Pressing backspace...");
    deletePrevCharAction.actionPerformed(e);
    textpane.getActionMap().put(actionName, myAction);
    mrai3

  • _key.key

    I have been making some changes to a program that I didn't
    develop. I'm
    using Director MX. I have opened the program probably 30
    times, added code,
    tested it. It ran fine without errors.
    I'm doing some more work now on one behavior. I have made
    some code changes
    in that behavior and have run it several times. All of a
    sudden I'm getting
    an error on _key.key Handler not Defined. This code is not in
    any behaviors
    I've modified and I checked to see in the backup version if I
    accidentally
    type an odd char while this behavior might have been open,
    but the code
    matches the original version so that didn't happen.
    I'm sure this is because MX doesn't recognize the new OOP
    structure that MX
    2004 implemented.
    1) Why did this all of a sudden pop up when for a week it's
    been running
    perfectly?
    2) Is _key.key in MX 2004 EXACTLY the same as the key in MX,
    so if I do a
    global replace on _key.key, I won't have a problem?
    I could update the movie to MX2004 but I prefer to leave as
    much of the
    project as it was when I received it.
    Craig

    Thanks
    Craig
    "Mike Blaustein" <[email protected]> wrote in
    message
    news:gmsgrs$g53$[email protected]..
    > In Director 9 and earlier "the key" is the command to
    use. In fact, I
    > still use it in Director 10 and 11 because it makes more
    sense to me than
    > _key.key which seems silly and redundant. I think you
    can safely
    > find/replace it without problems, even if you upgrade
    the project to a
    > newer version of Director.

  • Office 2013 Std (local) in combination with Office 2013 Pro (App-V)

    Hello,
    I have multiple RDS servers, that have Office 2013 Std installed locally. I did this on purpose, after reading some blogs pointing out Office 2013 is a complicated applicatie to stream well. And of course Office 2013 is highly critical to my clients.
    So I have a local installation of Office 2013 Std on every RDS server.
    The catch is, that the client also has an open license for Office 2013 Pro. This is because some users need to work with 'Access 2013'.
    So I thought it would be nice to use App-V to stream Access 2013 to the RDS servers. I have created the package for Office 2013 Pro, with Access in it. And I succesfully published Access 2013 to the group of users. So I can use Access on the RDS servers.
    The problem is, that when I click on the appliation "MSACCESS.exe", the application pops up in taskmanager and is immidiatly shut down again. So it never launches. No error, no nothing.
    I can't find any directions in the server, applicatie or App-V logs in the eventviewer. Does anyone have a clue where to look?
    Thanks in advance

    I think to be on a safe side, using a 'true' control system like AppSense or using dedicated RDS servers would be the only legally valid option.
    Even when Office (or at least Access) is virtualized, the licensing part and product key handling is done natively on the RDS servers by the 'Office 2013 Deployment Kit'. Besides others this includes a locally installed 'licensing stump'. Therefor there
    can be only one Office Suite product key be assigned to a RDS server machine.
    In fact you could tell the Deployment Kit to use the Office Pro key (allowing a virtualized Access to run), but then also the locally installed Office Version would (attempt to ) be licensed as 'Pro'. That potentially won't work. In fact you could re-configure
    the local Standard Office installation to consume Pro licenses, but that doesn't fit to your legal licenses.
    As Aaron write, legally an Office license is bound to the endpoint device, so you'd have to make sure that your Access App-V package can only be access by permitted client machines. And while App-V can filter application on the accessing user and the executing
    machine, it can't filter on the accessing end-point.
    Though we don't like it... 3rd party or a server silo seem the way to go.
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • I am trying to do a clean install MacBook Pro

    I am trying to do a clean install on my Dad's older MackBook Pro. He downloads things he shouldn't and after frustrations trying to wipe ou trojans and bad files I just decided that the only way to make this thing work again is to clean install it. It was already running yosemite when I started.
    I followed the directions at
    www.osxdaily.com/2014/10/18/clean-install-os-x-yosemite/
    I used a flash drive to install os x yosemite installer and made it bootable per the instructions on the site.
    Everything seemed to work fine, I loaded the drive as the statup disk, I erased the partitions and the hard drive with disk utitilies using the installer flash drive.
    However when I try to start to Install Os X it runs for about 10 minutes and then gets stuck at "one second left" I accessed the log errors and got this
    Apr 19 21:01:40 MacBook-Pro.local InstallAssistant[415]: Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
    Apr 19 21:01:41 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:41.054 InstallAssistant[415:17320] Failed to connect (keyReceivingView) outlet from (IASetupWindowController) to (PUKDiskPickerHorizontalView): missing setter or instance variable
    Apr 19 21:01:41 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:41.054 InstallAssistant[415:17320] Failed to connect (loadingDistProgress) outlet from (IASetupWindowController) to (NSProgressIndicator): missing setter or instance variable
    Apr 19 21:01:41 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:41.054 InstallAssistant[415:17320] Failed to connect (loadingDistView) outlet from (IASetupWindowController) to (NSView): missing setter or instance variable
    Apr 19 21:01:41 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:41.055 InstallAssistant[415:17320] Failed to connect (subtitle) outlet from (IASetupWindowController) to (NSTextField): missing setter or instance variable
    Apr 19 21:01:41 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:41.055 InstallAssistant[415:17320] Failed to connect (keyReceivingView) outlet from (IAContentView) to (PUKDiskPickerHorizontalView): missing setter or instance variable
    Apr 19 21:01:49 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:49.708 InstallAssistant[415:17328] ***storageTaskManagerExistsWithIdentifier:withIdentifier failed: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.nsurlstorage-cache was invalidated.) UserInfo=0x7f981cbde640 {NSDebugDescription=The connection to service named com.apple.nsurlstorage-cache was invalidated.}; {
    Apr 19 21:01:49 MacBook-Pro.local Unknown[397]:     NSDebugDescription = "The connection to service named com.apple.nsurlstorage-cache was invalidated.";
    Apr 19 21:01:49 MacBook-Pro.local Unknown[397]: }
    Apr 19 21:01:49 MacBook-Pro.local Unknown[397]: 2015-04-19 21:01:49.712 InstallAssistant[415:17328] ***cachedResponseForRequest:key:handler failed: Error Domain=NSCocoaErrorDomain Code=4099 "Couldn’t communicate with a helper application." (The connection to service named com.apple.nsurlstorage-cache was invalidated.) UserInfo=0x7f981ce92fe0 {NSDebugDescription=The connection to service named com.apple.nsurlstorage-cache was invalidated.}; {
    Apr 19 21:01:49 MacBook-Pro.local Unknown[397]:     NSDebugDescription = "The connection to service named com.apple.nsurlstorage-cache was invalidated.";
    Apr 19 21:01:49 MacBook-Pro.local Unknown[397]: }
    Apr 19 21:01:50 MacBook-Pro.local InstallAssistant[415]: GetDYLDEntryPointWithImage(/System/Library/PrivateFrameworks/CacheDelete.framew ork/CacheDelete,CacheDeleteCopyPurgeableSpaceWithInfo) failed.
    Apr 19 21:01:50 MacBook-Pro.local Unknown[397]: Keyboard Layouts: duplicate keyboard layout identifier -16899.
    Apr 19 21:01:50 MacBook-Pro.local Unknown[397]: Keyboard Layouts: keyboard layout identifier -16899 has been replaced with -28673.
    Apr 19 21:01:50 MacBook-Pro.local Unknown[397]: Keyboard Layouts: duplicate keyboard layout identifier -16900.
    Apr 19 21:01:50 MacBook-Pro.local Unknown[397]: Keyboard Layouts: keyboard layout identifier -16900 has been replaced with -28674.
    Apr 19 21:03:44 MacBook-Pro.local Unknown[397]: 2015-04-19 21:03:44.052 InstallAssistant[415:17320] Layout still needs update after calling -[NSScrollView layout].  NSScrollView or one of its superclasses may have overridden -layout without calling super. Or, something may have dirtied layout in the middle of updating it.  Both are programming errors in Cocoa Autolayout.  The former is pretty likely to arise if some pre-Cocoa Autolayout class had a method called layout, but it should be fixed.
    I already have his pertinant files back up. I just need to install a new system on this empty hard drive. What did I do wrong?
    Matt

    Click on the blue Internet Recovery in nbar's post. That is a link to what computers can run Internet Recovery.
    Do a backup,  preferable 2 separate ones on 2 drives. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

Maybe you are looking for

  • Open Orders Data Sources & Cube

    Hello Experts. I want to know if I can use business content data(2lis_11 /12/13 etc.) sources for cube 0SD_C03 for calculating open orders? Also should I create a new cube or will I be able to get results from 0SD_C03? For my open orders, I want to s

  • Touch is not working properly

    I have hp omni 10 .one day I change option of re calibrated now touch is not working properly how I can fix this

  • Need HELP with JAVA RUNTIME Environment

    Hi, I just download J2EE, J2SE, and Ant from sun site. I am having problem to compile java program. Here what I did 1)     Download J2EE at c:\j2sdkee1.3.1 directory 2)     J2SE at c:\Program Files\Java\j2re1.4.1_01 dir 3)     Ant at ant c:\Jakarta_a

  • Query-plsql

    ======================================================= SELECT mc.segment1 sbu, mc.segment3 ssbu, mc.segment2 bu_code, msi.inventory_item_id, msi.segment1, group_code, package_name_code, 0 onhand, 0 VALUE FROM mtl_system_items_b msi, sga_inv_item_ext

  • Failed to execute 'postMessage' on 'DOMWindow':

    When I create a SharePoint Provider hosted App in visual studio, visual studio creates two projects: App and web application. both projects runs over HTTPS I created a list in the App and entered some random data. Now, I need to get the data I entere