No GUI for MSTSC.EXE

I have built a new Windows 7  SP1 / 64  machine, there is just a newly-installed operating system now- with Microsoft Security Essentials but no other software- and I have let it do all the updates it wants to do. It is on an Ethernet LAN.
When I click the "Remote Desktop Connection"  icon, MSTSC.EXE starts, but there is no GUI for it.  Also, once it starts I can't end it with Task Manager or TASKKILL /F from an elevated command line.
I have run SFC / SCANNOW as Administrator twice.  Both times it said "Windows Resource Protection did not find any integrity violations"
Please advise.

Hi,
What is the result if we manually launch mstsc by "Run as administrator"? Something unexpected must be happened during the installation, hard to trace the actual cause, I suggst you check the event viewer and see if there're something valuable
recorded, as a
arnavsharma, a repair installation can be a choice, or you can use the following workaround, check if it helps 
http://srinibytes.blogspot.in/2010/04/is-your-mstscexe-not-launching-ui.html
echo off
cls
set INPUT=
set /P INPUT=Enter the machine name you want to connect: %=%
echo You are connecting to ....: %INPUT%
mstsc.exe /v: %INPUT%
exit
save this as a batch file, then execute the bat file, but you will lose some configuration via this way.
You can also check the files as mentioned in the link below,
http://www.interactivewebs.com/blog/index.php/support/remote-desktop-mstsc-exe-slow-will-not-start-windows-7/
c:\windows\system32\
MSTSCAX.dll
MSTSC.exe
c:\windows\system32\EN-US\
MSTSCAX.dll.mui
MSTSC.exe.mui
NOTE
This
response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
Microsoft
does not control these sites and has not tested any software or information found on these sites.
Yolanda Zhu
TechNet Community Support

Similar Messages

  • Mstsc.exe crashes after connecting to server 2008

    Hi at all
    We got a Problem with a Windows 8.1 Client, if we connect to a windows server 2008, mstsc.exe crashes:
    Name der fehlerhaften Anwendung:
    mstsc.exe, Version: 6.3.9600.16384, Zeitstempel: 0x5215e2b5
    Name des fehlerhaften Moduls:
    DUI70.dll, Version: 6.3.9600.17031, Zeitstempel: 0x53086a1c
    Ausnahmecode: 0xc0000005
    Fehleroffset: 0x000000000000277d
    ID des fehlerhaften Prozesses: 0x238
    Startzeit der fehlerhaften Anwendung: 0x01cfe2341b86ceba
    Pfad der fehlerhaften Anwendung: C:\Windows\system32\mstsc.exe
    Pfad des fehlerhaften Moduls: C:\Windows\system32\DUI70.dll
    Berichtskennung: 5a1aa523-4e27-11e4-8267-2c4138a7d63a
    Vollständiger Name des fehlerhaften Pakets:
    Connecting to a MS Server 2003 works fine, the problem only occured while connecting a MS Server 2008
    I also created a dmp-file mstsc.dmp but i cannot open it for some reason :( 
    (can anyone tell me which settings i have to apply to open it with windbg? i inserted SRV*C:\Windows\symbol_cache*http://msdl.microsoft.com/download/symbols @ "Symbol File Path" any other parameters missing? [first time using windbg ;)])
    We already tried to resolve the problem with other measures like reinstall graphics driver, deactivate sound & printer mapping in the mstsc-options, deactivate the grpahiccard etc..
    Thanks for your help!

    Hi,
    According to your description, we could try to fix that user profile for test:
    Create a new user account and transfer the profile data.
    Please follow the steps below to do that:
    1.  Open the  Windows Explorer.
    2.  Click on View tab and Click on Options at the top right corner.
    3.  Click the View tab, and then click Show hidden files, folders, and drives.
    4.  Uncheck the box which states Hide protected operating system files.
    5.  Click Yes to confirm, and then click OK.
    6.  Locate the C:\Users\Old_Username folder, where C is the drive that Windows is installed on, and Old Username is the name of the profile you want to copy files from.
    7.  Select all of the files and folders in this folder, except the following files:
    •Ntuser.dat
    •Ntuser.dat.log
    •Ntuser.ini
    8. Right click and Select Copy.
    9.  Locate the C:\Users\New_Username folder, where C is the drive that Windows is installed on, and New Username is the name of the new user profile you created.
    10.  Right click inside the folder and select Paste.
    11.  Restart your PC and check if you are able to log in to default profile.
    Karen Hu
    TechNet Community Support

  • Creating a Java GUI for a C/C++ program

    I'm tasked with creating a GUI for a multi-threaded C++ network server program that has it's main function running with a while loop that checks for keystrokes from the user. The C++ code for the loop is basically:
    while(i!='q')
    if(kbhit())
    i=getch();
    processkey(i);
    }And the processkey function performs different actions based on the key that was pressed.
    I was reading up on ways to interface between Java and C/C++ and heard of JNI, but I also found someone who suggested using the Java Robot class to send the keystrokes from my GUI to the C++ program.
    I've been trying to make a small test case application using the Robot class before trying to implement it in my larger project.
    I created a program with a JFrame with two buttons, one starts a simple C++ program that loops, waiting for keypresses and which will close when 'q' is pressed, like my main program.
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
            try {
                Runtime.getRuntime().exec("C:/Users/Administrator1/Desktop/Untitled2.exe");
                // TODO add your handling code here:
            } catch (IOException ex) {
                Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
            // TODO add your handling code here:
        }The other button creates a Robot instance and tells that robot to send a key press of 'q', which should terminate the C++ program.
    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
            try {
                Robot robot = new Robot();
                // Creates the delay of 5 sec so that you can open notepad before
                // Robot start writting
                //robot.delay(5000);
                robot.keyPress(KeyEvent.VK_Q);
            } catch (AWTException e) {
                e.printStackTrace();
        }It isn't working though. Could it be because when the program is started from my Java app, it runs in the background rather than opening in a new command prompt window? Or is Robot not the way to go, and if so, are there any examples and/or tutorials online that could help me?

    When you clicked the button, what application do you think has the focus at that point? So what do you think consumes the keystroke that you emulated? Hint: It wouldn't be the application you intended it to go to.

  • When will SAP GUI for Windows 7.20 patch level 9 be available?

    When will SAP GUI for Windows 7.20 patch level 9 be available?
    I can't see the SAP GUI patch version in the PAM (https://websmp102.sap-ag.de/pam).
    Thanks.

    Hi,
    Latest is SAP GUI for Windows 7.20 patch 8
    http://service.sap.com/swdc
    > Software Downloads
    > Installations and Upgrade
    > Browse our Download Catalog
    > SAP Frontend Components
    > SAP GUI FOR WINDOWS
    > SAP GUI FOR WINDOWS 7.20 CORE
    > Installation
    > gui720_8-10007878.exe SAP GUI for Windows 7.20 patch 8
    The NetWeaver 7.x BW/BI Front-End Patch Delivery Schedule can be checked
    via note 1085218.
    Thanks,
    Venkat

  • Bug fix for SAP GUI for Windows 6.40 and MS Internet Explorer 7.00

    With upgrading your MS Internet Explorer to release 7.00 and running SAP GUI for Windows 6.40 the GUI controls based on HTML might work no longer properly. To fix this bug it is neseccary to patch your SAP GUI to patchlevel 23.  Download the https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/00ebf59c-4c84-2910-dea9-a40963adc659 [original link is broken] [original link is broken] and run the exe-file on the machine where the SAP GUI for Windows 6.40 is installed.

    Unfortenately it still doesn't work properly with this patch. Using Tx sbwp, se80 or pftc you have still the same GUI control problems.
    regards,
    christian

  • Beginner Guide for developing GUI for Pocket PC

    Hi all,
    I have been developing Advanced Swing GUI for seven years now.
    The time has come to write some to Pocket PC, and it doesn't look good.
    I've searched the net for a mere beginners-guide and found nothing
    there is no single A-to-Z tutorial which will tell you what to download and how to write you first program.
    I am offering 15 Duke dollars for the kind member that will be kind enough to write a short "idiot's guide for writing a little gui app for pocket pc" post, including exactly what to download, how to configure, and what to write.
    Such post would help me and the rest greatly
    Thank you very much
    Eyal Katz

    Guide to installing and using CrE-ME JVM on a Handheld device:
    Step A: Where to download the CrE-ME JVM from?
    1. NSIcom.com has a 30-day free trail version of CrE-ME JVM and can be downloaded from the following link by clicking on �Download Free Evaluation�:
    http://www.nsicom.com/Default.aspx?tabid=159
    The version I downloaded was CrE-ME 4.1
    2. To download additional specific packages for applications that use SWING, RMI, etc. Click on �View all downloads� and download from the packages listed.
    Step B: Installing the JVM.
    1. Connect the device to a desktop.
    2. Install the CrE-ME version downloaded as you install any other application on your desktop.
    3. While installing, the installer program will ask if you want to install at the default location or to specify a path. (I guess installing to the default location will make life easier). Therefore, the JVM will be installed on the handheld device.
    4. Copy the additional packages downloaded to "\Windows\CrEme\lib" directory on the handheld device. Double click on the package (.CAB) file and it will configure itself.
    5. Test the sample applications given in �\Windows\CrEme\demos\� to check the proper installation of the JVM.
    Step C: Executing your applications.
    C.1 Method 1
    1. Write and compile the program in any IDE but remember to compile the programs with jdk1.4 as CrE-ME 4.1 supports JDK 1.4 or earlier.
    2. Create a jar file of your application.
    3. Write a link file (.lnk), specifying the classpath and the CrEme exe file in the following format:
    255#"\Windows\CrEme\bin\CrEme.exe" -Of -classpath <full JAR file path> <main class name>
    Ex: 255#"\Windows\CrEme\bin\CrEme.exe" -Of -classpath �\My Documents\Menu.jar� Menu
    -Of is used to redirect the console output to be redirected to jscpout.txt file located in the root directory of your device. Use -Ob if you are using a console based application.
    255 specifies the number of characters in the file, but instead of counting the characters you can use 255 which is the maximum (in general, it is seen that a higher value works but not a number less than the number of characters)
    Also note that the classpath is in single quotes
    4. Copy the link file to the handheld device and then double click on the link file to run the application and if the application doesn�t show up, you know where to look for the errors. The jscpout.txt file created in the root folder of your device due to the �Of parameter used in the link file, will contain the console output and thus the errors.
    C.2 Method 2
    1. Write and compile the program in any IDE but remember to compile the programs with jdk1.4 as CrE-ME 4.1 supports JDK 1.4 or earlier.
    2. Create an executable jar file of your application using the Manifest.mf file to specify the main class.
    Ex: Main-Class: <main class name>
    Also remember to hit the return (enter) key at the end of manifest file.
    3. Copy the jar file to the handheld device and double click on it to execute.
    4. In case the output doesn�t show up, it could mean that there were errors executing the application and to check for errors use Method 1.
    Useful link:
    1. CrEme FAQ, http://www.nsicom.com/Default.aspx?tabid=231

  • RDS 2012- connect to session collection trough mstsc.exe on XP SP3

    Hi!! i need to connect to a session collection based on rds 2012 directly trough mstsc.exe on xp sp3 clients... xp don't support remoteapp and desktop connection and my users can't use internet explorer to connect trough rd web Access..
    Thanks!

    Hi,
    What you could do is upgrade Windows XP with the latest Remote Desktop Client available for Windows XP (http://support.microsoft.com/kb/969084)
    Then extract the .RDP file you want from the RDS 2012 environment (or specify the properties manually in a .RDP) file.
    Recently I wrote on article on the distribution of Remote Apps and desktops in Windows Server 2012, that might be useful:
    http://virtualizationadmin.com/articles-tutorials/vdi-articles/general/distribution-of-remote-apps-and-desktops-in-windows-server-2012.html
    Also, more info on the .RDP properties specifically needed for RDS 2012:
    http://microsoftplatform.blogspot.nl/2012/04/rd-connection-broker-ha-and-rdp.html
    Kind regards,
    Freek Berson
    The Microsoft Platform
    Twitter
    Linked-in
    Wortell company website

  • Search c:\ drive and return file path for winword.exe and save as variable

    Hi all, here is what I'm trying to do;
    1. Search C:\ drive for winword.exe
    2. take the file path and save it as a variable.
    3. Then based on the path value, use the switch statement to run "some command" 
    Essentially I'm trying to find what the file path for winword.exe is, then run a command to modify the registry.  I already have the script that will modify the registry like I want but the problem it, the path is hard coded in the script, I want to
    now look for all versions of word and set the right file path so I can make the right registry changes.

    This should get you started:
    http://ss64.com/ps/get-childitem.html
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Unable to Print Purchase order automatically using SAP GUI for JAVA

    Hi SAP gurus,
    Some of the PC's in our company use windows and some LINUX. Therefore we use two types of SAP GUI. One for windows and the other one JAVA. PO approval was set to print automatically. In a windows setting, there are no problems with this setup. But in SAP GUI for JAVA, no print outs are produced and no error messages are displayed. I am using SAP GUI for JAVA version 7.10 ver 6. and I use Front end printing for linux access method G.
    please help,
    gungertz

    hi gungertz,
    You can use U type access method for printing SAP document using linux desktop.
    Please refer to my blog posting here (http://sapbasis.wordpress.com/2007/08/23/print-sap-documents-using-linux/)
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • Shift+F2 not working in SAP GUI for ITS

    Hi,
    In my transactional iview (SAP GUI for ITS) , in one of the screens, shift+F2 is not working(Which in turn opens graph for the report) The same is working fine in SAP GUI for html.
    How can i make this work?
    Also, can i have a document with the comparision of SAP GUI for html & SAP GUI for ITS, specifying its advantages and dis-advantages as well?..
    Pls treat this query as urgent and respond ASAP.
    Thanks in advance,
    Kavitha

    ITS THE PROBLEM IN DEV NOT IN PROD ECC SYS

  • Anything simple I can add to a GUI for some extra credit?

    I had to write a GUI for my COMP class this time, and if we add anything extra, we can get some extra points..which would be quite nice.
    I have the GUI made and working as we were shown how to do, and now I would like to add some extra things to make it better.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Tuition extends JFrame
        private JLabel stateResL, credsL, typeL, tuitFeeL, actFeeL;
        private JTextField stateResTF, credsTF, typeTF, tuitFeeTF, actFeeTF;
        private JButton calculateB, exitB;
        private CalculateButtonHandler cbHandler;
        private ExitButtonHandler ebHandler;
        public Tuition()
            stateResL = new JLabel ("Is Student a TN State Resident? 1 = yes, 0 = no ", SwingConstants.RIGHT);
            credsL = new JLabel ("Enter number of credits presently being taken: ", SwingConstants.RIGHT);
            typeL = new JLabel ("Is student an undergraduate = 0, or graduate student = 1? ", SwingConstants.RIGHT);
            actFeeL = new JLabel ("Activity Fee: ", SwingConstants.RIGHT);
            tuitFeeL = new JLabel ("Tuition amount owed = $", SwingConstants.RIGHT);
            //text fields
            stateResTF = new JTextField(10);
            credsTF = new JTextField(10);
            typeTF = new JTextField(10);
            actFeeTF = new JTextField(10);
            tuitFeeTF = new JTextField(10);
             //calculate button
            calculateB = new JButton ("Calculate Tuition");
            cbHandler = new CalculateButtonHandler();
            calculateB.addActionListener(cbHandler);
            //exit button
            exitB = new JButton ("Exit");
            ebHandler = new ExitButtonHandler();
            exitB.addActionListener(ebHandler);
            //set title of window
            setTitle("Tuition and extra Fees");
            //get container
            Container pane = getContentPane();
            //set layout
            pane.setLayout (new GridLayout (6, 2));
            //place components in pane
            pane.add (stateResL);
            pane.add (stateResTF);
            pane.add (credsL);
            pane.add (credsTF);
            pane.add (typeL);
            pane.add (typeTF);
            pane.add (tuitFeeL);
            pane.add (tuitFeeTF);
            pane.add (actFeeL);
            pane.add (actFeeTF);
            pane.add (calculateB);
            pane.add (exitB);
            setSize (WIDTH, HEIGHT);
            setVisible (true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
        private class CalculateButtonHandler implements ActionListener
            public void actionPerformed (ActionEvent e)
                //computes activity fee and tuition and sets them to respective variables
                double tuition = 0;
                double actFee = 0;
                int credits, stateRes, type;
                type = Integer.parseInt(typeTF.getText());
                stateRes = Integer.parseInt(stateResTF.getText());
                credits = Integer.parseInt(credsTF.getText());
                if (credits >= 6)
                       actFee = 44;
                else
                    actFee = 6 * credits;
                if (stateRes == 0)
                        if (type == 1 || type == 0)
                            tuition = ((448 * credits) + actFee);
                else if (stateRes == 1)
                        if (type == 0)
                            tuition = ((241 * credits ) + actFee);
                        else if (type == 1)
                            tuition = ((343 * credits ) + actFee);
                    actFeeTF.setText ("" + actFee);
                    tuitFeeTF.setText ("" + tuition);
            private class ExitButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e)
                    System.exit(0);
    }I don't care for something way out of my league (I'm only in my second semester of actually doing "tough" stuff. Maybe something that would change the colors of the text fields where the questions are, or change the color of the font printed, or change the font type, maybe add a logo or something for a school (it's a tuition calculator).
    I looked through the API but reading over class names doesn't do much for me, and I searched Google a bit but most of the stuff I found seemed pretty difficult/beyond my knowledge.

    alright...I fixed the messy issue, but I don't know how to setup the action listeners or whatever...
    I need my calculate tuition method to work using the radio buttons, and I don't know how to set up the listeners correctly.
    I can't find a single example on the internet that does anything like what I'm doing that I can use as a reference. I need something using radio buttons that calculates another number based on the results of the radio buttons...like what mine should do.
    This has got to be a noob question, but I just can't get it to work....
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Tuition extends JFrame
        private JLabel stateResL, credsL, typeL, tuitFeeL, actFeeL;
        private JTextField stateResTF, credsTF, typeTF, tuitFeeTF, actFeeTF;
        private JButton gradB, calculateB, exitB;
        private CalculateButtonHandler cbHandler;
        private ExitButtonHandler ebHandler;
        private StateResButtonHandler srbHandler;
        private NonStateResButtonHandler nsrbHandler;
        private UndGradButtonHandler ugbHandler;
        private GradButtonHandler gbHandler;
        /** extra */
        JScrollBar scrollbar_h_1;
        JScrollBar scrollbar_v_1;
        JRadioButton undGradRB, gradRB, stateResRB, nonStateResRB;
        ButtonGroup radioGroup1, radioGroup2;
        static String stateResString = "Resident";
        static String nonResString = "Non-Resident";
        static String undGradString = "Undergraduate";
        static String gradString = "Graduate";
        public Tuition()
            getContentPane().setFont(new Font("Arial", Font.ITALIC, 12));
            getContentPane().setBackground(Color.blue);
            stateResL = new JLabel ("Is Student a TN State Resident? ", SwingConstants.RIGHT);
            credsL = new JLabel ("Enter number of credits presently being taken: ", SwingConstants.RIGHT);
            typeL = new JLabel ("Is student an undergraduate, or graduate student? ", SwingConstants.RIGHT);
            actFeeL = new JLabel ("Activity Fee: ", SwingConstants.RIGHT);
            tuitFeeL = new JLabel ("Tuition amount owed = $", SwingConstants.RIGHT);
            //text fields
            credsTF = new JTextField(10);
            actFeeTF = new JTextField(10);
            tuitFeeTF = new JTextField(10);
             //calculate button
            calculateB = new JButton ("Calculate Tuition");
            cbHandler = new CalculateButtonHandler();
            calculateB.addActionListener(cbHandler);
            //exit button
            exitB = new JButton ("Exit");
            ebHandler = new ExitButtonHandler();
            exitB.addActionListener(ebHandler);
            radioGroup1 = new ButtonGroup();
            JRadioButton stateResButton = new JRadioButton(stateResString);
            stateResButton.setMnemonic(KeyEvent.VK_B);
            stateResButton.setActionCommand(stateResString);
            stateResButton.setSelected(true);
            JRadioButton nonResButton = new JRadioButton(nonResString);
            nonResButton.setMnemonic(KeyEvent.VK_B);
            nonResButton.setActionCommand(nonResString);
            radioGroup1.add (stateResButton);
            radioGroup1.add (nonResButton);
            radioGroup2 = new ButtonGroup();
            JRadioButton undGradButton = new JRadioButton(undGradString);
            undGradButton.setMnemonic(KeyEvent.VK_B);
            undGradButton.setActionCommand(undGradString);
            undGradButton.setSelected(true);
            JRadioButton gradButton = new JRadioButton(gradString);
            gradButton.setMnemonic(KeyEvent.VK_B);
            gradButton.setActionCommand(gradString);
            radioGroup2.add(undGradButton);
            radioGroup2.add(gradButton);
            srbHandler = new StateResButtonHandler();
            stateResButton.addActionListener(stateResString);
            nrbHandler = new NonResButtonHandler();
            nonResButton.addActionListener(nonResString);
            ugbHandler = new UndGradButtonHandler();
            undGradButton.addActionListener(undGradString);
            gbHandler = new GradButtonHandler();
            gradButton.addActionListener(gradString);
            //set title of window
            setTitle("Tuition and extra Fees");
            //get container
            Container pane = getContentPane();
            //set layout
            pane.setLayout (new GridLayout (6, 2));
            JPanel radioPanel = new JPanel(new GridLayout(0, 1));
            radioPanel.add(stateResButton);
            radioPanel.add(nonResButton);
             JPanel radioPanel2 = new JPanel(new GridLayout(0, 1));
             radioPanel2 = new JPanel (new GridLayout(0, 1));
             radioPanel2.add (undGradButton);
             radioPanel2.add (gradButton);
            //place components in pane
            pane.add (stateResL);
            add(radioPanel);
            pane.add (credsL);
            pane.add (credsTF);
            pane.add (typeL);
            add(radioPanel2);
            pane.add (actFeeL);
            pane.add (actFeeTF);
            pane.add (tuitFeeL);
            pane.add (tuitFeeTF);
            pane.add (calculateB);
            pane.add (exitB);
            setSize (WIDTH, HEIGHT);
            setVisible (true);
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            /** EXTRA - EXTRA - EXTRA */
            calculateB.setToolTipText("Click this button to calculate tuition and activity fee.");
            exitB.setToolTipText("Click this button to exit the program.");
        private class CalculateButtonHandler implements ActionListener
            public void actionPerformed (ActionEvent e)
                //computes activity fee and tuition and sets them to respective variables
                double tuition = 0;
                double actFee = 0;
                int credits, stateRes, type;
                type = Integer.parseInt(typeTF.getText());
                stateRes = Integer.parseInt(stateResTF.getText());
                credits = Integer.parseInt(credsTF.getText());
                if (credits >= 6)
                       actFee = 44;
                else
                    actFee = 6 * credits;
                if (stateRes == 0)
                        if (type == 1 || type == 0)
                            tuition = ((448 * credits) + actFee);
                else if (stateRes == 1)
                        if (type == 0)
                            tuition = ((241 * credits ) + actFee);
                        else if (type == 1)
                            tuition = ((343 * credits ) + actFee);
                    actFeeTF.setText ("" + actFee);
                    tuitFeeTF.setText ("" + tuition);
            private class ExitButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e)
                    System.exit(0);
            private class StateResButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e){
            private class NonStateResButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e){
            private class UndGradButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e) {
            private class GradButtonHandler implements ActionListener
                public void actionPerformed (ActionEvent e) {
    }the calculateB and exitB listeners work, but I have nothing setup for the others that works. And the calculate button doesn't work because it isn't getting any info from the buttons.
    I get addActionListener(Java.awt.event.ActionListener) in Javax.swing.AbstractButton cannot be applied to (java.lang.String). on the listeners I attempted to add within the constructor....

  • Creating a GUI for use on an Ethernet Network

    I'm designing a data logger to log voltage, current and temperature data on a reserve battery string while it's being charged. The logger will have the capability to be viewed remotely via Ethernet. With that said, I'd like some advice regarding the GUI for the remote PC which will be used to view the logger. Will it be easier to create the GUI using LabView or another high-level language  (Java, C++ etc)? (Note: I have some programming experience in C (though I've never written/created a GUI) and I've never used LabView).
    Solved!
    Go to Solution.

    Hi Joe1373.  In general, for a small one-off project, I would suggest you go with a language you know.
    In this case it sounds like whatever you choose you will have a learning curve, so I would recommend
    LabVIEW if that is a possibility cost-wise.  LV has a lot of built-in support for GUI development so
    you can make realtively sophisticated GUIs without a whole lot of work/learning.
    There are time-limited evaluation versions of LV available for download.  I would take a look there, especially
    the examples.  Find something a little similar to what you want to do, then change the GUI on the 
    example to more closely match your ultimate objective to get a feel for the GUI development in LV.
    This forum is a great resource with some very helpful developers, so come back with questions.
    There are also many professional developers available to assist if you have a budget or inclination
    towards that direction.
    Matt

  • Re-Occurring Blue Screen~Dump files included~Please Help~Unable to verify timestamp for ntkrnlpa.exe

    Hello,
    Starting yesterday I started getting the BSOD. I have uploaded my dump files to this dropbox account:
    www.dropbox.com/sh/w3ryago8pfcw2y2/AAAR5i6Crx5q-p--xdESJjnMa
    There are lots of them as my PC crashed many times.
    I attempted to analyze them with windbg but all I can see is:
    Unable to load image \SystemRoot\system32\ntkrnlpa.exe, Win32 error 0n2
    *** WARNING: Unable to verify timestamp for ntkrnlpa.exe
    Also I ran sfc /scannow and it found no integrity violations.
    After the first BSOD I was barely able to get Windows to load without another immediate crash. I couldn't boot my PC last night but today seems okay so far. CPU temp was fine, actually quite cool as I had my window open right by the PC with the side off
    the case and it was cold last night. Today, so far, seems to be running okay...so far anyways..
    Windows update recently installed a driver for my on-board video card (Nvidia GeForce 6150n) on the 18th I think as I started using a 2nd monitor using the on-board card in addition to my PCI Express Ati Radeon HD. To use the second screen, I switched
    the primary video in CMOS to on-board instead of PCI-E 16x so the on-board Nvidia card would be enabled.
    I also installed brand new ram (4gb DDR2) about a month ago
    and a new power supply 2 months ago. The power supply is not "exactly" the same voltage as the one that was in there but it's dang close. But I don't have any power leeching components.
    Other than that nothing new has happened. After I got the crash, I tried to enter CMOS yesterday and it glitched out on me twice. I hope it's not my motherboard..
    I am willing to do a system re-format as I am running Windows 7 32bit on a 64bit AMD so I wouldn't mind having 64 bit Windows anyways but I'd like to know what the problem is before I do this. Thank you.
    Update: Just did a MalwareByte's Anti-Malware scan and no malware but found these items: 
    Scan Date: 5/22/2014
    Scan Time: 6:08:00 PM
    Logfile: 
    OS: Windows 7 Service Pack 1
    CPU: x86
    File System: NTFS
    Scan Type: Threat Scan
    Result: Completed
    Objects Scanned: 261539
    Time Elapsed: 8 min, 10 sec
    Processes: 0
    (No malicious items detected)
    Modules: 0
    (No malicious items detected)
    Registry Keys: 0
    (No malicious items detected)
    Registry Values: 0
    (No malicious items detected)
    Registry Data: 0
    (No malicious items detected)
    Folders: 2
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0, , [dd97c58f413a74c2503e7106649ec23e], 
    Files: 9
    PUP.Optional.OptimumInstaller.A, C:\Users\Justin\Downloads\Player-Chrome.exe, , [6b090a4a4437d363a05f361717ea718f], 
    PUP.Optional.Outbrowse, C:\Users\Justin\Downloads\install-flashplayer.exe, , [561ee173fe7d1125edf4d9a443be5aa6], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\icon-128.png, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\icon-16.png, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\icon-48.png, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\jquery-1.10.2.min.js, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\manifest.json, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\tweetwiki.js, , [dd97c58f413a74c2503e7106649ec23e], 
    PUP.Optional.CrossRider.A, C:\Users\Justin\AppData\Local\Google\Chrome\User Data\Default\Extensions\ecoccdldklbjglocbgbfpmpehjegkode\0.1_0\_DS_Store, , [dd97c58f413a74c2503e7106649ec23e], 
    Physical Sectors: 0
    (No malicious items detected)

    Hi,
    All of the attached DMP files are of the
    WHEA_UNCORRECTABLE_ERROR (124) bug check.
    A fatal hardware error has occurred. This fatal error displays data from the Windows Hardware Error Architecture (WHEA).
    If we run an !errrec on the 2nd parameter of the bug check (address of the WER structure) we get the following:
    BugCheck 124, {0, 867d2024, b2000010, 10c0f}
    ===============================================================================
    Section 2 : x86/x64 MCA
    Descriptor @ 867d2134
    Section @ 867d22bc
    Offset : 664
    Length : 264
    Flags : 0x00000000
    Severity : Fatal
    Error : BUSLG_OBS_ERR_*_NOTIMEOUT_ERR (Proc 0 Bank 4)
    Status : 0xb200001000010c0f
    This is a pretty complicated error compared to other possibilities it could have been, as it implies you have a hardware fault somewhere along the bus (not very definitive on its own).
    In our case however, we can go a bit deeper with this one:
    0: kd> .formats 0xb200001000010c0f
    Evaluate expression:
    Hex: b2000010`00010c0f
    Decimal: -5620492266238833649
    Octal: 1310000001000000206017
    Binary: 10110010 00000000 00000000 00010000 00000000 00000001 00001100 00001111
    Chars: ........
    Time: ***** Invalid FILETIME
    Float: low 9.61613e-041 high -7.45059e-009
    Double: -7.41853e-068
    Now that we have this info, we'd refer to the AMD manual:
    63 VAL Valid
    62 OVER Status Register Overflow
    61 UC Uncorrected Error
    60 EN Error Condition Enabled
    59 MISCV Miscellaneous-Error Register Valid
    58 ADDRV Error-Address Register Valid
    57 PCC Processor-Context Corrupt
    56–32 Other Information
    31–16 Model-Specific Error Code
    15–0 MCA Error Code
    In our specific case, bit 63 of the status code is set, so it is valid. Bit 62 of the status code is
    unset, therefore there's no overflow. Bit 61 implies an uncorrected error has occurred, and Bit 60 implies an error condition was enabled. Last but not least, Bit 57 is
    set and implies a corrupted processor context.
    If we take a look at the last 15 bits of the binary:
    Binary: [trimming] 00001100 00001111
    In our case, the MSB in binary (00001100 ), implies a bus error occurred (as I mentioned above). We need to further decode the bits to understand more:
    [0000]1100 00001111
    0000 = 1PPT RRRR IILL.
    PP = Participation Processor, T = Timeout,
    R = Memory Transaction Type, I = Memory and/or I/O, and finally
    L = Cache Level.
    With this said, it appears we actually have a faulty motherboard as the processor seems fine, etc. The only other thing I see possible is bad RAM, which you can figure out whether or not is the case by running no less than ~8 passes of Memtest:
    Memtest86+:
    Download Memtest86+ here:
    http://www.memtest.org/
    Which should I download?
    You can either download the pre-compiled ISO that you would burn to a CD and then boot from the CD, or you can download the auto-installer for the USB key. What this will do is format your USB drive, make it a bootable device, and then install the necessary
    files. Both do the same job, it's just up to you which you choose, or which you have available (whether it's CD or USB).
    Do note that some older generation motherboards do not support USB-based booting, therefore your only option is CD (or Floppy if you really wanted to).
    How Memtest works:
    Memtest86 writes a series of test patterns to most memory addresses, reads back the data written, and compares it for errors.
    The default pass does 9 different tests, varying in access patterns and test data. A tenth test, bit fade, is selectable from the menu. It writes all memory with zeroes, then sleeps for 90 minutes before checking to see if bits have changed (perhaps because
    of refresh problems). This is repeated with all ones for a total time of 3 hours per pass.
    Many chipsets can report RAM speeds and timings via SPD (Serial Presence Detect) or EPP (Enhanced Performance Profiles), and some even support changing the expected memory speed. If the expected memory speed is overclocked, Memtest86 can test that memory performance
    is error-free with these faster settings.
    Some hardware is able to report the "PAT status" (PAT: enabled or PAT: disabled). This is a reference to Intel Performance acceleration technology; there may be BIOS settings which affect this aspect of memory timing.
    This information, if available to the program, can be displayed via a menu option.
    Any other questions, they can most likely be answered by reading this great guide here:
    http://forum.canardpc.com/threads/28864-FAQ-please-read-before-posting
    Regards,
    Patrick
    “Be kind whenever possible. It is always possible.” - Dalai Lama

  • Hi i wrote a java program for scanning a system for java.exe 's

    hi ,
    i wrote a program which scans the system for java.exe 's and then it captures them in a linked list and then i
    iterate through it for "\\Java\\jdk1.5.0_08\\bin\\java.exe and my aim is to return true in case the linked list contains the string "\\Java\\jdk1.5.0_08\\bin\\java.exe" and stop scanning the system.
    If the linked list does not contain "Java\\jdk1.5.0_08\\bin\\java.exe" it should return false.
    But my problem is the program is continuing to scan the system even if the linked list has "\\Java\\jdk1.5.0_08\\bin\\java.exe"
    Any sort of help is appreciated.
    The code is as follows:
    package com.installanywhere.exper;
    import com.zerog.ia.api.pub.CustomCodeRule;
    import com.installanywhere.exper.SearchTool;
    * @author
    public class eFileTool extends CustomCodeRule {
         /* (non-Javadoc)
         * @see com.zerog.ia.api.pub.CustomCodeRule#evaluateRule()
         @Override
         public boolean evaluateRule() {
              // TODO Auto-generated method stub
              SearchTool searchtool=new SearchTool();
              boolean valueTocheckfor=false;
              valueTocheckfor=searchtool.find();
              String someothervalue=Boolean.toString(valueTocheckfor);
              if(someothervalue.equalsIgnoreCase("true")){
                   return true;
                   //System.exit()
              else if(someothervalue.equalsIgnoreCase("false")){
                   try {
                        Thread.sleep(5000);
                   } catch (InterruptedException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
              System.out.println(valueTocheckfor+"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
              return valueTocheckfor;
    The code of search tool is
    package com.installanywhere.exper;
    import java.io.*;
    import java.util.*;
    public class SearchTool
         * @param args
    static     boolean valuesToReturn=false;
    static     boolean anothervalueToRefer=false;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              SearchTool           t = new SearchTool();
              System.out.println("xxxxxxxxxxxxxxxxxxxx");
              boolean someArgument=t.find();
              System.out.println(someArgument+"iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii"+"");
                   public boolean find()
                        System.out.println("2222222222222222222");
                   boolean someThing=searchcomp("java.exe");
                   System.out.println(someThing+"inside the othere one");
                   return someThing;
              public boolean searchcomp(String file)
                   System.out.println("3333333333333333333333");
                   File[] drives=File.listRoots();
                   boolean valueIdentified=false;
                   for (int ctr=0;ctr<(drives.length-1);ctr++)
                        valueIdentified=search(drives[ctr],file);
                        System.out.println("4444444444444444444");
                   System.out.println(valueIdentified+"something i need to accomplish");
                   return valueIdentified;
                   public boolean search(File dir,String file)
                   File[] directories=dir.listFiles();
              System.out.println("55555555555555555555555");
                   if (directories == null)
                        System.out.println("666666666666666666666666");
                   return false;
                   for(int ctr=0;ctr<directories.length;ctr++)
                        if(directories[ctr].isDirectory())
                             System.out.println("77777777777777777777777777");
                             valuesToReturn=search(directories[ctr],file);
                             System.out.println(valuesToReturn+"india is great");
                        else
                             if(directories[ctr].getName().equals(file))
                                  String path = directories[ctr].getAbsolutePath().toString();
                                  System.out.println(path);
                                  List someList=new LinkedList();
                                  anothervalueToRefer=allPaths(path);     
                                  System.out.println(anothervalueToRefer+"god damn it");
                                       //System.out.println(anothervalueToRefer+"let me seeeeeeeeeeeeeeeeeee");                                        
                                  return anothervalueToRefer;
                   return valuesToReturn;
                   public boolean allPaths(String allPath)
                        List l=new LinkedList();
                        String somepath=allPath;
                        l.add(somepath);
                        //return l;
    /*if(l.contains("C:\\Program Files\\Java\\jdk1.5.0_08\\bin\\java.exe")){
                             System.out.println("yepeeeeeeeeeeeeee");
                             //System.exit(0);
    else{
         System.out.println(" the face");
                        ListIterator li = l.listIterator();
                        System.out.println("inside the method of all paths");
                        if(li.hasNext())
                             if(li.next().toString().contains("\\Java\\jdk1.5.0_08\\bin\\java.exe"))
                             System.err.println(somepath+"this is the path i wanted to resolve correctly");                         
                             return true;
                             else{
                                  System.out.println("trueeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee");
                                       return false;
                        else {
                                  return false;
         }

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • ANN: SAP GUI for Java 7.10 available for download

    Hi all,
    SAP GUI for Java 7.10 is now available at <b>http://service.sap.com/sapgui-java</b>.
    In case you are not registered on service.sap.com, you can alternatively download it from ftp://ftp.sap.com/pub/sapgui/java/710.
    <b>New platforms:</b>
    - JSE 6: See System Requirements of platforms for details. Also, usage of JRE 1.4.2 is no longer supported.
    - Microsoft Windows Vista (Business and Ultimate editions)
    - Mac OS X 10.5 (once the test on the final build of "Leopard" has been successfully completed, see <a href="https://service.sap.com/sap/support/notes/959236">Note 959236</a> for latest news)
    - HP-UX 11.31
    <b>New features:</b>
    - <b>Input History: </b>Text previously entered in an entry field is available in a dropdown listbox when the same entry field is reaccessed.
    - The <b>installer</b> now can be launched directly from a write-protected directory and the installation process completes considerably faster.
    - The <b>Preference Dialog</b> has been redesigned.
    - <b>Dynpro Splitter:</b> The feature to display two subscreens divided by a horizontal or vertical splitter has been implemented.
    <a href="https://service.sap.com/sap/support/notes/959236">Note 959236</a> lists the supported platforms and will include latest news on support for Mac OS X 10.5 (Leopard).
    Best regards
    Rolf-Martin

    Hello Mac users,
    ANN: SAP GUI for Java 7.10 rev 1 available for download officially supports Leopard.
    Best regards
    Rolf-Martin

Maybe you are looking for