Windows 7 to windows 8.1

My desktop windows 7 has skype.  I bought a laptop with windows 8.1 and when I try in install skype on it I get a already installed message, but it won't work, but of course is still working on the desktop.  To get it installed on 8.1 do I have to uninstall it in windows 7 and start over on the laptop with 8.1?
Solved!
Go to Solution.

You can have Skype installed at the same time on as many devices as you wish.
Try to install the currently latest Skype 7.4.0.102 version using this installer:
http://download.skype.com/msi/SkypeSetup_7.4.0.102.msi

Similar Messages

  • Adobe Creative Cloud Desktop App Window Blank, Windows 8.1 (Resolved)

    Platform: PC
    OS: Windows 8 (8.1)
    I needed to download Flash, so I searched for my Desktop Application Manager.  Opened the Creative Cloud App, and saw this:
    I waited for it to "load" but nothing ever loaded.  I clicked the gear to see if I could log out and log back in, but just saw three practically useless options:
    [Help, Pin to Notification Area..., Quit]
    I waited 2 hours for customer service, and finally got this answer:
    Launch the run window. (press: window button, type: "run" OR window button + X, select "Run")
    Type %appdata%
    You'll see AppData > Roaming, click AppData in the address bar.
    Open Local > Adobe > OOBE
    Cut opm.db and paste it to the desktop.
    >>If you receive an error, open the task manager and close ALL Adobe processes, then retry.
    Open Adobe Creative Cloud Desktop Application
    Log in. (ta-da!)
    Delete the file that you cut and pasted to the desktop.
    I hope this helps someone avoid the long wait time for customer service to fix this error that seems to have sprouted after some update corrupted the opm.db file.

    1.  quit the app (from the task bar) and relaunch.  if that fails:
    2.  Remove the OPM.db file and relogin into the Creative Cloud desktop application using the Adobe ID tied to your subscription.
        Mac OS: You can locate the OPM.db file in the \User\<user name>\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion.
        Windows: You can locate the OPM.db file in the \Users\<user name>\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7.

  • SCCM App-V 5 packages to terminal server/Windows 7/Windows 10 design

     Hi,
    I would appreciate your input on a design question on App-V 5 on SCCM 2012 R2.
    Where we are:
    We have Terminal Servers running with App-V 4.6 Clients for some years. The users on these Terminal Servers could only receive the App-v 4.6 packages (since the terminal server only had the App-V client)
    Some time ago we started the rollout of App-V 5.0 packages to Terminal servers via SCCM 2012 R2.
    In parallel we rolled out some App-V 5.0 clients to Windows 7 machines.
    What’s happening:
    Users get App-V package meant for TS (licensed applications which should not end on clients) and they should not
     What we want:
    deploy App-V packages (via SCCM) to W7 computers only, later we will deploy to users but for now our administration system doesn’t cover that
    select which App-V packages to deploy to Windows 10 (when it’s there)
    select which App-V packages to deploy to terminal servers (WKX)
    uninstall of users/computers not in collections anymore
    ð 
    TTo achieve this we would create different deployment types of an App-v package with each a prereq “W7, Windows 10, Windows terminal services”. Then also we would create an uninstall mechanism (like this http://blogs.technet.com/b/configmgrdogs/archive/2014/11/03/managing-app-v-deployments-in-configmgr-2012.aspx)
    Guess that would work, but wonder if you would see any flaws/issues
    in/with this setup?
    Thanks for your input.
    J.
    Jan Hoedt
    Update: then also I wonder the supersedence within the application (with different deployment types), f.e. 7-Zip on terminal servers should be replaced but not for Windows 7. Would that work?

    Uninstall is a bit of a concern too indeed.
    What I would do is
    f.e. 7-Zip Application-INSTALL, Deployment Types:
    *W7-Install prereq W7
    *WKX-Install prereq WK8R2, WK12R2
    => Deploy to Group "App-V-7-Zip", which has computers as well as user groups
    7-Zip Application-UNINSTALL, Deployment Types:
    *W7-Uninstall prereq W7
    *WKX-Uninstall prereq WK8R2, WK12R2
    => Deploy to Group "App-V-UNINSTALL" which has all App-V groups (such as "App-V-7-Zip")
    That's making sence, doesn't it?
    Note: "It's probably a smart idea to not trigger an uninstall on a terminal server in every occasion." Why is that? Applications should be removed when f.e. groups are not part of the App-V-7-Zip.
    Jan Hoedt

  • I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites.

    I am not able to see toolbars, when I open a new window that window is not visible, if I open from bookmarks and there is music playing I hear it but canNOT SEE the websites. I was able to get window open from the help "window" and open sites from there just not from new: window tab or bookmarks those stay invisible? I tried the help suggestions, safemode,etc.

    Hi CMorenoOT,
    This prompt is usually displayed when your Apple ID needs to be configured for the iTunes Store. You'll want to run through the additional steps to setup your country, and payment information.
    iTunes: How to set up an Apple ID within iTunes
    http://support.apple.com/kb/HT2731
    Tip: If you are trying to create an account using an existing Apple ID, like your iCloud email address, you will receive a prompt telling you that your email address is already an Apple ID. Simply tap Continue, and then tap Use Existing Account on the following screen.
    - Next, you'll be required to enter your billing information. To choose a different Credit Card type, tap one of the available options, and then tap Done. You will not be charged until you make a purchase.
    - Once you've filled out all of the fields for your billing information, tap Next.
    For more information:
    Using an existing Apple ID with the iTunes Store and Mac App Store
    http://support.apple.com/kb/HT2589
    Thanks,
    Matt M.

  • IOS 6.1.3 / Windows 7 - 64 bit.  I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab.  It takes me to a Windows explorer window.  How do I get it to find updates?

    IOS 6.1.3 / Windows 7 - 64 bit.  I am connecting my IPhone 4 to my Windows desktop, in ITunes I click on IPhone and then the "Check for Update" tab.  It takes me to a Windows explorer window.  How do I get it to find updates?

    Hello ibebry
    Try using the Software Update on your iPhone by going to Settings > General > Software Update. One thing to keep in mind if you are trying it on the computer is to make sure that you are not pressing any keys down when checking for updates as that may bring up a pop up window to find the update file. 
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Regards,
    -Norm G.

  • Disabling SMB2 and SMB3 Client from Windows Vista, Windows 7 and Windows 8.

    There are many programs that are using a shared file on the server from clients from XP to Windows 10. From time to time it seems like there is a network outage and the handle to the file is broken and the file
    cannot be read or updated. It seems more prevalent on a Windows 2012 server but may have happened from time to time on 2008 & 2008 R2. However there are not any network problems so it just leaves the server & Client
    I have searched for possible resolutions including:-
    Turning  off the Cache for the share
    Disabling the network adapter power setting to allow windows to put the device to sleep.
    Disabling  Antivirus/configuring it to ignore folders for on access scanning
    Disabling SMB  Signing
    Configuring the  clients DWORD registry value SilentForcedAutoReconnect=1 in HKEY_LOCAL_MACHINE\Software\Microsoft\CurrentVersion\NetCache
    Setting the "NET CONFIG SERVER /AUTODISCONNECT:-1" to not drop client
    connections
    The last bit of trouble shooting that I can think of is to disable SMB2 and SMB3 as that does a lot of caching and batching of packets which could also be the cause of the problem.
    I have looked at
    http://support.microsoft.com/kb/2696547/en-us
    I have disabled SMB2&3 on the server as that is very straight forward.
    When I get to the section about disabling SMB2 on the client the command fails.
    sc config
    lanmanworkstation depend= bowser/mrxsmb10/nsi
      After running the above command, it returns an error: 
          [SC] ChangeServiceConfig FAILED 1059:
          Circular Service Dependency was specified.
    So it's not worth running the following command:
    sc config mrxsmb20 start= disabled
    I have tried the command on Windows Vista, Windows 7 and Windows 10 just to confirm that it's  nothing to do with any particular PC, machines in Domains and Non-Domain machines.
    So, my questions are:-
    1, is
    http://support.microsoft.com/kb/2696547/en-us actually correct and up to date and for the OSes (Vista, 7, 8, 8.1, 2012 server and Windows 10) with latest updates & service packs?
    2, How do I disable SMB2 and SMB3 on clients for troubleshooting purposes the server to resolve problems with shared files (multi user access)
    3, If I just disable SMB2 & 3 from the server would that force the clients not to use SMB2 when communicating with the server and therefore not caching the directory structure and file not found etc? I have seen posts that suggest this is not the case.
    4. Does sc.exe have a bug in it?
    Thanks in advance
    Rob

    Hi,
    I made a test in our testing enviroment, everything works fine to disable SMB2 and 3. For your problem, in my opinion, as I didn't find any specific report about this error, it would be better to use Process Monitor to capture the trace when running the
    command.
    Start Process Monitor, then set the filter as cmd.exe, after that, open CMD and execute the command.
    Process Monitor:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    In addition, I found another thread that had similar error with yours, you can take its solution as reference.
    https://social.technet.microsoft.com/Forums/windows/en-US/506828c8-e7af-4039-aca7-43321939bb55/offline-files-synchronization-error-the-file-specified-cannot-be-found?forum=w7itpronetworking
    Roger Lu
    TechNet Community Support
    Roger,
    Many thanks for the time taken to look into this.
    I've downloaded process monitor and loaded it. I filtered for cmd.exe started capture and saved a 1mb file.
    However I don't think this is going to help unless you can point me in the direction of what you're expecting to see in the capture file? If you want me to send you it I can but it does contain personal information which I'd rather not place online.
    You can recreate the problem yourself by doing the following:
    Go to modern.ie
    Download any windows 7 virtual machine for your preferred of virtualisation  platform 
    log in, start cmd as administrator and run the command
    sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
    You will also receive the same error.
    [SC] ChangeServiceConfig FAILED 1059:
    Circular Service Dependency was specified.
    You can also try it on the Windows 8 and 8.1 machine if you have time.
    I checked the link to the similar error and that just looks at the file not found problem which is the smb2 cache. They still didn't resolve the slow access to the share which is seen on a machine that has anti-virus on it when you go to right click
    on the folder or a file in the folder. It's about a 20 second (spinning circle) pause every time. The problem is bigger than that. If you have shared files on the network share that are used by multiple people at the same time, say a spreadsheet or database
    file windows is loosing the connection to that file so the user cannot write to it even if they have the file open. The smb2 caching shouldn't cause that problem.
    It appears that I have to disable from SMB2 and SMB3 and ensure that the clients only use SMB1.
    If SMB2 & SMB3 are disabled from the lanmanworkstation service the clients will not do any caching even if the server has disabled the share cache (offline files for that share).
    The problem with the "Circular reference" error message is standard across all versions of windows that have "smb2" or "smb2 and smb3". Can you recreate that problem? Or is it working on your windows computer and on the machines
    downloaded from modern.ie ?
    My testing has shown that the command "sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi" does not work. Therefore that's the one I want to resolve first. By resolving that I may be able to get the clients accessing the share to behave
    themselves and use the shared files correctly as they always did from Windows 95/NT4 through to Windows XP and 2003/2008 server.
    I'm unable to recreate the problem with multiple users having access to shared database files on windows 2012 server from Windows 7 clients were the access to the files drops once a day or once every couple of days.
    Kindest Regards
    Robert

  • Frequent Fails when installing Adobe Flash Player (Windows XP, Windows 7, Windows 8.0, and Windows 8.1)

    Constantly see the following error message from Adobe Flash Player Installer:
    Error has been encountered. Close this window and try downloading again.
    What in heck does that error message mean?
    This message occurs most of the time when I try to update to the latest version of Adobe Flash Player.
    It would be one thing if it was only occurring on Windows XP, but it shows up on Windows 7, Windows 8.0, and Windows 8.1 frequently.
    Just for curiousity looked at the Windows 8.1 Event Viewer and NO error message shows up there.
    Would be nice to:
    (1) know what the error really is so that it can be reported to you to get it fixed once and for all.
    (2) have Adobe Flash Installer NOT to delete itself every time that the installer is run.
    (3) have an OFFLINE download installer to download and install Adobe Flash Player without the MacAfee installer.
    (4) have Adobe UNCHECK that the Install MacAfee installer that you have to opt out of each time you do an Adobe Flash Player download. You should make it to OPT IN not OPT OUT! Don't need another program installed without my permission. This causes issues when I have to uninstall MacAfee on computers that others in my family use.
    It seems to takes up to 20 times to download the Adobe installer over a period of many days or weeks to get it to install properly.
    I have written software for over 36 years as a computer programmer and now Senior Software Developer. I have do installers on my own and have to figure out how to solve my own issues on the installers to get them fixed.
    This issue doesn't seem to be tied to any particular version of Windows... Same issue occurs on Windows XP, Windows 7, Windows 8.0, and Windows 8.1! The ONLY commonality seems to be Adobe Flash Player.
    Certainly Adobe should be smart enough to fix this issue once and for all.
    If the issue is that there is a network congestion error that it cannot download the installer, please say so and please please please DO NOT delete the downloaded installer every time that it is run on a PC.
    I'd like to fix the security issues with the Adobe Flash Player AS SOON as there is a patch for it. I don't like having security issues over a long period of time.
    Please address this issue so that I can put this to bed and not have to keep sending you messages that once again the Adobe Flash Player Installer is yet again broken!
    Certainly you have a staff at Adobe that CAN fix this problem quickly!

    more information about errors can be found in the FlashInstall.log file in C:\WINDOWS\system32\Macromed\Flash (and the SysWOW64 equivalent on 64-bit systems)
    the offline installers (below) do not delete themselves
    you can find the offline installers
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    the offline installers are not bundled with any 3rd-party crapware

  • HP Pavilion 15-n268sa will not boot after windows update (windows 8.1)

    After a series of windows update (windows 8.1) my HP Pavilion 15-n268sa will not boot up, no fan noises, no lights no nothing. 
    I have tried a "hard reset" a number of times with no success. 
    When the battery is present the white LED flashes 3 times when the power button is pressed. 
    Please please help. 

    Hello Cuffy,
    Welcome to the HP Forums!
    I understand you notebook will not boot after a series of Windows updates.
    Can you tell me if you are able to access the HP Recovery Manager by repeatedly tapping the F11 key while the notebook turns on? If you can access this, try doing a system restore to before you installed the updates. If not I would suggest you go through this document: Computer Does Not Start and the LEDs Blink or the Computer Beeps.
    If it's the Caps Lock light that is blinking this document will tell you exactly what the error is (spoiler: 3 beeps is a memory failure). This could also explain the failed updates. The updates are stored in the RAM before being applied to the operating system.
    You can try reseating the RAM, or using only 1 of the RAM cards, as you have 2x4GB cards. If it still doesn't work with 1 card, try the other card to confirm it has failed.
    You can replace defective cards via HP Phone Support if covered under warranty or at the HP Part Store if not covered. You can contact HP Technical Support at 1-800-474-6836 in North America. For all other regions click here.
    Hopefully this information helps!
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • My Photoshop Elements serial number is not working? The CD says it is for Windows XP/ WIndows VISTA...and my currest OS is Windows 7? Is that the issue

    My Photoshop Elements serial number is not working? The CD says it is for Windows XP/ WIndows VISTA...and my currest OS is Windows 7? Is that the issue?

    This is a question for the Photoshop Elements forum: Photoshop Elements. A moderator may find and move this to the correct forum for you.
    Benjamin

  • Fit the image to window width, window height and  the window size

    hi all
    here we wrote the code for "fit the image to window width, window height and the window size". we are facing some problems in it. and all these operations have to perform even after zooming operations are done.if the below code doesnt satisfy kindly provide appropriate code .
    thanks .
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.io.File;
    import javax.swing.filechooser.FileFilter;
    import java.awt.geom.*;
    public class DP extends JFrame implements ActionListener,
                                               MouseListener,
                                               MouseMotionListener {
        private final int PEN_OP = 1;
        private final int CLEAR_OP = 2;
        private int radius;
        private int radius1;
        private int mousex = 0;
        private int mousey = 0;
        private int prevx = 0;
        private int prevy = 0;
        private boolean initialFreeHand = true;
        private boolean initialLine = true;
        private boolean initialEraser = true;
        private int Orx = 0;
        private int Ory = 0;
        private int OrWidth = 0;
        private int OrHeight = 0;
        private int drawX = 0;
        private int drawY = 0;
        private int polyX = 0;
        private int polyY = 0;
        private int eraserLength = 5;
        private int udefRedValue = 255;
        private int udefGreenValue = 255;
        private int udefBlueValue = 255;
        private int opStatus = PEN_OP;
        private int colorStatus = 1;
        private double zoomPercentage=10;
        private Color mainColor = new Color(0, 0, 0);
        private Color xorColor = new Color(255, 255, 255);
        private Color userDefinedColor =
            new Color(udefRedValue, udefGreenValue,udefBlueValue);
        private JButton openButton = new JButton("open");
        private JButton closeButton = new JButton("close");
         private JButton zoominButton = new JButton("ZoomIn");
         private JButton zoomoutButton = new JButton("ZoomOut");
         private JButton zoomto100Button = new JButton("ZoomTo100");
         private JButton fwwButton = new JButton("Fit window width");
         private JButton fwhButton = new JButton("Fit window height");
         private JButton fwButton = new JButton("Fit the window");
        private JButton clearButton = new JButton("Clear");
        private JTextField colorStatusBar = new JTextField(20);
        private JTextField opStatusBar = new JTextField(20);
        private JTextField mouseStatusBar = new JTextField(10);
        private JPanel controlPanel = new JPanel(new GridLayout(18, 1, 0, 0));
        JToolBar jToolbar = new JToolBar();
        private Container container;
        private JScrollBar horizantalSlide=new JScrollBar();
        public BufferedImage image;
        BufferedImage bgImage;
    //    public ImageIcon icon=null;
        JFileChooser fileChooser;
        DrawPanel drawPanel = new DrawPanel(bgImage,zoomPercentage);
        public DP() {
            super("WhiteBoard");
            fileChooser = new JFileChooser(".");
            container = getContentPane();
            container.setBackground(Color.white);
            container.setLayout(new BorderLayout());
            container.add(jToolbar,BorderLayout.NORTH);
            container.add(horizantalSlide);
            jToolbar.add(openButton);
            jToolbar.add(closeButton);
              jToolbar.add(zoominButton);
              jToolbar.add(zoomoutButton);
              jToolbar.add(zoomto100Button);
              jToolbar.add(fwwButton);
              jToolbar.add(fwhButton);
              jToolbar.add(fwButton);
            jToolbar.add(clearButton);
            colorStatusBar.setEditable(false);
            opStatusBar.setEditable(false);
            mouseStatusBar.setEditable(false);
            controlPanel.setBackground(Color.white);
            drawPanel.setBackground(Color.white);
            container.add(controlPanel, "West");
            container.add(drawPanel, "Center");
            openButton.addActionListener(this);
            closeButton.addActionListener(this);
              zoominButton.addActionListener(this);
              zoomoutButton.addActionListener(this);
              zoomto100Button.addActionListener(this);
              fwwButton.addActionListener(this);
              fwhButton.addActionListener(this);
              fwButton.addActionListener(this);
            clearButton.addActionListener(this);
            drawPanel.addMouseMotionListener(this);
            drawPanel.addMouseListener(this);
            addMouseListener(this);
            addMouseMotionListener(this);
            opStatusBar.setText("FreeHand");
            colorStatusBar.setText("Black");
        public void actionPerformed(ActionEvent e) {
            if(e.getActionCommand().equals("open"))
                showDialog();
            if(e.getActionCommand().equals("close"))
                closeDialog();
              if(e.getActionCommand().equals("ZoomIn"))
                   drawPanel.zoom(1);
              if(e.getActionCommand().equals("ZoomOut"))
                   drawPanel.zoom(-1);
              if(e.getActionCommand().equals("ZoomTo100"))
                   drawPanel.zoom(+10);
              if(e.getActionCommand().equals("Fit window width"))
                   drawPanel.fitwindowwidth();
              if(e.getActionCommand().equals("Fit window height"))
                   drawPanel.fitwindowheight();
              if(e.getActionCommand().equals("Fit the window"))
                   drawPanel.fitthewindow();
            if (e.getActionCommand() == "Clear")
                opStatus = CLEAR_OP;
            switch (opStatus) {
                case CLEAR_OP:
                    clearPanel();
        private void showDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    bgImage = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("IO error: " + e.getMessage());
                clearPanel();
        private void closeDialog() {
            drawPanel.setVisible(false);
            drawPanel.repaint();
        public void clearPanel() {
            opStatusBar.setText("Clear");
            Graphics g = image.getGraphics();
            g.setColor(drawPanel.getBackground());
            g.fillRect(0, 0, drawPanel.getBounds().width, drawPanel.getBounds().height);
            if(bgImage != null)
                g.drawImage(bgImage, 0, 0, this);
            g.dispose();
            drawPanel.repaint();
        public boolean mouseHasMoved(MouseEvent e) {
            return (mousex != e.getX() || mousey != e.getY());
        public void setActualBoundry() {
            if (mousex < Orx || mousey < Ory) {
                if (mousex < Orx) {
                    OrWidth = Orx - mousex;
                    drawX = Orx - OrWidth;
                } else {
                    drawX = Orx;
                    OrWidth = mousex - Orx;
                if (mousey < Ory) {
                    OrHeight = Ory - mousey;
                    drawY = Ory - OrHeight;
                } else {
                    drawY = Ory;
                    OrHeight = mousey - Ory;
            } else {
                drawX = Orx;
                drawY = Ory;
                OrWidth = mousex - Orx;
                OrHeight = mousey - Ory;
        public void setGraphicalDefaults(MouseEvent e) {
            mousex = e.getX();
            mousey = e.getY();
            prevx = e.getX();
            prevy = e.getY();
            Orx = e.getX();
            Ory = e.getY();
            drawX = e.getX();
            drawY = e.getY();
            OrWidth = 0;
            OrHeight = 0;
        public void mouseDragged(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseReleased(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseEntered(MouseEvent e) {
            updateMouseCoordinates(e);
        public void updateMouseCoordinates(MouseEvent e) {
            String xCoor = "";
            String yCoor = "";
            if (e.getX() < 0)
                xCoor = "0";
            else {
                xCoor = String.valueOf(e.getX());
            if (e.getY() < 0)
                xCoor = "0";
            else {
                yCoor = String.valueOf(e.getY());
            mouseStatusBar.setText("x:" + xCoor + " y:" + yCoor);
        public void mouseClicked(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseExited(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseMoved(MouseEvent e) { updateMouseCoordinates(e); }
        public void mousePressed(MouseEvent e) { updateMouseCoordinates(e); }
        public static void main(String[] args) {
            DP wb = new DP();
            wb.setDefaultCloseOperation(EXIT_ON_CLOSE);
            wb.setSize(1024,740);
            wb.setVisible(true);
        private class DrawPanel extends JPanel {
            private double m_zoom = 1.0;
            private double m_zoomPercentage;
            private BufferedImage m_image;
            double theta = 0;
            double thetaInc = Math.PI/2;
            public DrawPanel(BufferedImage imageb,double zoomPercentage) {
                m_image = imageb;
                m_zoomPercentage = zoomPercentage / 100;
            protected void paintComponent(Graphics g) {
                Graphics2D g2d=(Graphics2D)g;
                if(image == null)
                    initImage();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                double x = (1.0 - m_zoom)*getWidth()/2.0;
                double y = (1.0 - m_zoom)*getHeight()/2.0;
                AffineTransform at = AffineTransform.getTranslateInstance(x, y);
                at.rotate(theta,m_zoom*getWidth()/2,m_zoom*getHeight()/2);
                at.scale(m_zoom, m_zoom);
                g2d.drawRenderedImage(image, at);
      public void zoom(int inc) {
            m_zoom += inc * m_zoomPercentage;
            repaint();
              public void fitwindowwidth()
                int w1=drawPanel.getWidth();
                int h1=drawPanel.getHeight();
                BufferedImage image2=image.getScaledInstance(w1,h1,Image.SCALE_DEFAULT);
                drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
               drawPanel.repaint();
              public void fitwindowheight()
           BufferedImage image2=image.getScaledInstance(500,680,1); 
           drawPanel.setImage(iicon);
           drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
           drawPanel.repaint();
              public void fitthewindow()
           BufferedImage image2=image.getScaledInstance(1000,680,1);
           drawPanel.setPreferredSize(new java.awt.Dimension(100,image2.getImage().getHeight(null)));
           drawPanel.repaint();
            private void initImage() {
                int w = getWidth();
                int h = getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(getBackground());
                g2.fillRect(0,0,w,h);
                g2.dispose();
    }

    thank you for giving reply.
    your code is very helpful to us.but i couldn't integrate it in my code.here's my code.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.io.File;
    import javax.swing.filechooser.FileFilter;
    import java.awt.geom.*;
    public class IS extends JFrame implements ActionListener,
                                               MouseListener,
                                               MouseMotionListener {
        private final int PEN_OP = 1;
        private final int CLEAR_OP = 2;
         private     final int DISTORT = 3;
        private final int SCALE   = 4;
        private final int FIT     = 5;
        private final int FILL    = 6;
        int scaleMode = SCALE;
        private int radius;
        private int radius1;
        private int mousex = 0;
        private int mousey = 0;
        private int prevx = 0;
        private int prevy = 0;
        private boolean initialFreeHand = true;
        private boolean initialLine = true;
        private boolean initialEraser = true;
        private int Orx = 0;
        private int Ory = 0;
        private int OrWidth = 0;
        private int OrHeight = 0;
        private int drawX = 0;
        private int drawY = 0;
        private int polyX = 0;
        private int polyY = 0;
        private int eraserLength = 5;
        private int udefRedValue = 255;
        private int udefGreenValue = 255;
        private int udefBlueValue = 255;
        private int opStatus = PEN_OP;
        private int colorStatus = 1;
        private double zoomPercentage=10;
        private Color mainColor = new Color(0, 0, 0);
        private Color xorColor = new Color(255, 255, 255);
        private Color userDefinedColor =
            new Color(udefRedValue, udefGreenValue,udefBlueValue);
        private JButton openButton = new JButton("open");
        private JButton closeButton = new JButton("close");
         private JButton zoominButton = new JButton("ZoomIn");
         private JButton zoomoutButton = new JButton("ZoomOut");
         private JButton zoomto100Button = new JButton("ZoomTo100");
         private JButton fwwButton = new JButton("Fit window width");
         private JButton fwhButton = new JButton("Fit window height");
         private JButton fwButton = new JButton("Fit the window");
        private JButton clearButton = new JButton("Clear");
        private JTextField colorStatusBar = new JTextField(20);
        private JTextField opStatusBar = new JTextField(20);
        private JTextField mouseStatusBar = new JTextField(10);
        private JPanel controlPanel = new JPanel(new GridLayout(18, 1, 0, 0));
        JToolBar jToolbar = new JToolBar();
        private Container container;
        private JScrollBar horizantalSlide=new JScrollBar();
        public BufferedImage image;
        BufferedImage bgImage;
    //    public ImageIcon icon=null;
        JFileChooser fileChooser;
        DrawPanel drawPanel = new DrawPanel(bgImage,zoomPercentage);
        public IS() {
            super("WhiteBoard");
            fileChooser = new JFileChooser(".");
            container = getContentPane();
            container.setBackground(Color.white);
            container.setLayout(new BorderLayout());
            container.add(jToolbar,BorderLayout.NORTH);
            container.add(horizantalSlide);
            jToolbar.add(openButton);
            jToolbar.add(closeButton);
              jToolbar.add(zoominButton);
              jToolbar.add(zoomoutButton);
              jToolbar.add(zoomto100Button);
              jToolbar.add(fwwButton);
              jToolbar.add(fwhButton);
              jToolbar.add(fwButton);
            jToolbar.add(clearButton);
            colorStatusBar.setEditable(false);
            opStatusBar.setEditable(false);
            mouseStatusBar.setEditable(false);
            controlPanel.setBackground(Color.white);
            drawPanel.setBackground(Color.white);
            container.add(controlPanel, "West");
            container.add(drawPanel, "Center");
            openButton.addActionListener(this);
            closeButton.addActionListener(this);
              zoominButton.addActionListener(this);
              zoomoutButton.addActionListener(this);
              zoomto100Button.addActionListener(this);
              fwwButton.addActionListener(this);
              fwhButton.addActionListener(this);
              fwButton.addActionListener(this);
            clearButton.addActionListener(this);
            drawPanel.addMouseMotionListener(this);
            drawPanel.addMouseListener(this);
            addMouseListener(this);
            addMouseMotionListener(this);
            opStatusBar.setText("FreeHand");
            colorStatusBar.setText("Black");
        public void actionPerformed(ActionEvent e) {
            if(e.getActionCommand().equals("open"))
                showDialog();
            if(e.getActionCommand().equals("close"))
                closeDialog();
              if(e.getActionCommand().equals("ZoomIn"))
                   drawPanel.zoom(1);
              if(e.getActionCommand().equals("ZoomOut"))
                   drawPanel.zoom(-1);
              if(e.getActionCommand().equals("ZoomTo100"))
                   drawPanel.zoom(+10);
              if(e.getActionCommand().equals("Fit window width"))
                   //drawPanel.fitwindowwidth();
              drawPanel.scaleImage(0,0,0,0);
              if(e.getActionCommand().equals("Fit window height"))
              drawPanel.scaleImage(0,0,0,0);
              if(e.getActionCommand().equals("Fit the window"))
              drawPanel.scaleImage(0,0,0,0);
            if (e.getActionCommand() == "Clear")
                opStatus = CLEAR_OP;
            switch (opStatus) {
                case CLEAR_OP:
                    clearPanel();
        private void showDialog() {
            if(fileChooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) {
                File file = fileChooser.getSelectedFile();
                try {
                    bgImage = ImageIO.read(file);
                } catch(IOException e) {
                    System.out.println("IO error: " + e.getMessage());
                clearPanel();
        private void closeDialog() {
            drawPanel.setVisible(false);
            drawPanel.repaint();
        public void clearPanel() {
            opStatusBar.setText("Clear");
              int w = image.getWidth();
            int h = image.getHeight();
            Graphics g = image.getGraphics();
            g.setColor(drawPanel.getBackground());
            g.fillRect(0, 0, w, h);
            if(bgImage != null) {
                int x = (w - bgImage.getWidth())/2;
                int y = (h - bgImage.getHeight())/2;
                g.drawImage(bgImage, x, y, this);
            g.dispose();
            drawPanel.repaint();
        public boolean mouseHasMoved(MouseEvent e) {
            return (mousex != e.getX() || mousey != e.getY());
        public void setActualBoundry() {
            if (mousex < Orx || mousey < Ory) {
                if (mousex < Orx) {
                    OrWidth = Orx - mousex;
                    drawX = Orx - OrWidth;
                } else {
                    drawX = Orx;
                    OrWidth = mousex - Orx;
                if (mousey < Ory) {
                    OrHeight = Ory - mousey;
                    drawY = Ory - OrHeight;
                } else {
                    drawY = Ory;
                    OrHeight = mousey - Ory;
            } else {
                drawX = Orx;
                drawY = Ory;
                OrWidth = mousex - Orx;
                OrHeight = mousey - Ory;
        public void setGraphicalDefaults(MouseEvent e) {
            mousex = e.getX();
            mousey = e.getY();
            prevx = e.getX();
            prevy = e.getY();
            Orx = e.getX();
            Ory = e.getY();
            drawX = e.getX();
            drawY = e.getY();
            OrWidth = 0;
            OrHeight = 0;
        public void mouseDragged(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {
        public void mouseReleased(MouseEvent e) {
            updateMouseCoordinates(e);
            switch (opStatus) {}
        public void mouseEntered(MouseEvent e) {
            updateMouseCoordinates(e);
        public void updateMouseCoordinates(MouseEvent e) {
            String xCoor = "";
            String yCoor = "";
            if (e.getX() < 0)
                xCoor = "0";
            else {
                xCoor = String.valueOf(e.getX());
            if (e.getY() < 0)
                xCoor = "0";
            else {
                yCoor = String.valueOf(e.getY());
            mouseStatusBar.setText("x:" + xCoor + " y:" + yCoor);
        public void mouseClicked(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseExited(MouseEvent e) { updateMouseCoordinates(e); }
        public void mouseMoved(MouseEvent e) { updateMouseCoordinates(e); }
        public void mousePressed(MouseEvent e) { updateMouseCoordinates(e); }
        public static void main(String[] args) {
            IS wb = new IS();
            wb.setDefaultCloseOperation(EXIT_ON_CLOSE);
            wb.setSize(1024,740);
            wb.setVisible(true);
        private class DrawPanel extends JPanel {
            private double m_zoom = 1.0;
            private double m_zoomPercentage;
            private BufferedImage m_image;
            double theta = 0;
            double thetaInc = Math.PI/2;
            public DrawPanel(BufferedImage imageb,double zoomPercentage) {
                m_image = imageb;
                m_zoomPercentage = zoomPercentage / 100;
            protected void paintComponent(Graphics g) {
                   super.paintComponent(g);
                Graphics2D g2d=(Graphics2D)g;
                if(image == null)
                    initImage();
                g2d.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                     RenderingHints.VALUE_INTERPOLATION_BICUBIC);
                              int w = getWidth();
                    int h = getHeight();
                  int iw = image.getWidth();
                  int ih = image.getHeight();
                  if(scaleMode == SCALE) {
                double x = (w - m_zoom*iw)/2;
                double y = (h - m_zoom*ih)/2;
                AffineTransform at = AffineTransform.getTranslateInstance(x, y);
                at.rotate(theta,m_zoom*getWidth()/2,m_zoom*getHeight()/2);
                at.scale(m_zoom, m_zoom);
                g2d.drawRenderedImage(image, at);
                   else {
                scaleImage(w, h, iw, ih);
              private void scaleImage( int w, int h, int iw, int ih) {
                             Graphics2D g2d = image.createGraphics();
            double xScale = (double)w/iw;
            double yScale = (double)h/ih;
            AffineTransform at = new AffineTransform();
            if(scaleMode == DISTORT) {
                double x = (w - xScale*iw)/2;
                double y = (h - yScale*ih)/2;
                at.setToTranslation(x, y);
                at.scale(xScale, yScale);
            } else {
                double scale = (scaleMode == FIT) ? Math.min(xScale, yScale)
                                                  : Math.max(xScale, yScale);
                double x = (w - scale*iw)/2;
                double y = (h - scale*ih)/2;
                at.setToTranslation(x, y);
                at.scale(scale, scale);
            g2d.drawRenderedImage(image, at);
      public void zoom(int inc) {
            m_zoom += inc * m_zoomPercentage;
            repaint();
            private void initImage() {
                int w = getWidth();
                int h = getHeight();
                image = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
                Graphics2D g2 = image.createGraphics();
                g2.setPaint(getBackground());
                g2.fillRect(0,0,w,h);
                g2.dispose();
    }

  • Insatlling Oracle 8i on Window 2000,Window me

    Can Oracle 8i be install on Window 2000 or window millenium( window me). I tried to install Oracle8i on Window me and got the following errors:
    There was a problem in accessing the staging area.Please make sure the specified values for 'source' and 'Destination' are valid.
    Can anybody help me out.
    Thanks
    Dayo Afon
    null

    Dayo,
    I hpe you are not trying to install Oracle 8i enterprise edition on Windows Me. Remember Windows Me is just a glorified senior brother of Windows 98 SE, and of course ORA 8i ED will NOT install in this environment for obvious reasons. However it will install on Windows 2000 PE and Adv. Server (both based on WinNT WS and Server respectively).
    My guess and suggestion is that you should try to install Oracle 8i Lite on Windows ME and trust the installation should go without any problem.

  • BDB support for Windows Vista, WIndows 7 and Windows Server?

    Hello,
    I examine to use BDB on Windows, and I have a question.
    There's a description about supported OSs on the BDB reference guide as follows;
    Where does Berkeley DB run?
    The Berkeley DB distribution includes support for Windows/95, Windows/98, Windows/NT, Windows/2000 and Windows/XP, via the Microsoft Visual C++ 6.0 and .NET development environments.
    Does BDB distribution supports for Windows Vista and Windows Server 2003?
    And it will support Windows Server 2008 and Windows 7?
    I believe that BDB does not depend on specific function of Windows, thus there's no problem to support them...
    Regards,
    Akira

    Yes, we have a plan about BDB support for Windows Vista, Windows 7 and Windows Server. Once we are ready, we'll let you know here.
    Hi Vit,
    For Berkeley DB XML questions, please go to the Berkeley DB XML forum at: Berkeley DB XML
    By the way, I learnt there's a XP-compatible mode in Windows 7. You may want to try DB-XML with that.
    Best regards,
    Chao Huang
    Oracle Berkeley DB

  • Acrobat 9.5 pro keeps opening Windows installation window when clicked on icon.

    Opens normally PDF documents. And the fix is ...?

    Hi Ajlan,
    OK, it's odd, Acrobat launches normally only from its folder.
    Any new shortcut created either on Start or Task bar opens Windows
    installation window but the one on Desktop is OK.
    Unfortunately I don't use Desktop shortcuts.
    Windows 7 Pro SP1 64 bit
    Regards,
    Marek Solarz

  • Window.open opens new Firefox page, not a windows exploer window

    I have a javascript code within Dynamics CRM to open a windows explorer window if a field is double clicked with the folder location in that field. For example, if our local server name was COMPANYSERVER
    If the field contained \\COMPANYSERVER\Accounts and you double click it, that windows explorer window shows the Accounts folder in the COMPANYSERVER, and I can navigate to any child directories.
    If we use CRM in Internet Explorer, this works fine. However if CRM has been opened in Firefox, instead of opening a windows explorer field, it opens a new tab in Firefox, with a File or directory not found error, obviously because it is trying to find a webpage rather than an internal directory.
    I was not sure whether to log this on a Dynamics forum or Firefox forum, so I have done both, but as I say, it works perfectly with IE so I guess it's something I need to do differently for firefox, or change a setting somewhere within firefox?
    I am very new to firefox, so if you can be quite basic with your answers I would really appreciate it!

    I personally have not done this before, however there are two old sources that have both referenced the IE Tab extension.
    http://www.powerobjects.com/blog/2008/06/02/dynamics-crm-in-firefox-you-betcha/
    *Is Firefox the default browser?
    *Does it automatically run Firefox as the Administrator that is logged in?

  • Window.open() & window.close () does not work in Portal application

    Hello All,
    I am trying to open & close a popup window from a weblogic portal. But the following don't seem to work in this environment. As a web application, it works fine.
    <netui:anchor action="DetailedWorkObject" target="<script @lang ='java'> window.open('IndividualWorkObjectDetails.jsp','null','resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
    <netui:parameter name="CLAIM_NBR" value="{container.item.claim_Nbr}" />
    <netui:label value="{container.item.claim_Nbr}"/>
    </netui:anchor></td>
    I am using Weblogic Workshop 8.1 SP3.The above code opens up a new window but it cannot be closed with
    window.close()
    self.close nor this.close().
    I have even tried calling the script function where I write this code but without success.
    Does any one know why is this happenning ? Please tell me what is the work around for this situation.
    Please answer it as soon as possible.
    Thanks & have a wonderful Holiday!
    Message was edited by aatishbh at Nov 26, 2004 12:02 PM

    Not sure if anybiody answered this for you, or if you figured it out, but here you go. In the skins directory, the default skin contains a menu.js file which has the following function at line 232:
    function close(menuItem)
    if (menuItem && !currentMenuItem)
    closeAll(menuItem);
    This function is overriding the inherent javascript close() function. Simply rename this to something else (I renamed it to closeItem) and rename the call to it at line 228 (setTimeout("close(tmpMenuItem)", tryClosePause);), and you're golden.
    The two functions should look like this:
    function tryClose(menuItem)
    if (!currentMenuItem)
    tmpMenuItem = menuItem;
    setTimeout("closeItem(tmpMenuItem)", tryClosePause);
    function closeItem(menuItem)
    if (menuItem && !currentMenuItem)
    closeAll(menuItem);
    Hello All,
    I am trying to open & close a popup window
    opup window from a weblogic portal. But the following
    don't seem to work in this environment. As a web
    application, it works fine.
    <netui:anchor action="DetailedWorkObject"
    target="<script @lang ='java'>
    window.open('IndividualWorkObjectDetails.jsp','null','
    resizable=no, HEIGHT=500,WIDTH=500'); </script>" >
    <netui:parameter name="CLAIM_NBR"
    value="{container.item.claim_Nbr}" />
    <netui:label value="{container.item.claim_Nbr}"/>
    </netui:anchor></td>
    I am using Weblogic Workshop 8.1 SP3.The above code
    opens up a new window but it cannot be closed with
    window.close()
    self.close nor this.close().
    I have even tried calling the script function where I
    write this code but without success.
    Does any one know why is this happenning ? Please
    tell me what is the work around for this situation.
    Please answer it as soon as possible.
    Thanks & have a wonderful Holiday!
    Message was edited by aatishbh at Nov 26, 2004 12:02
    PM

  • Pop up window, and window.opener function using workshop?

    hi,
    pop up window, and window.opener function using workshop?
    hi,
    i am having two folders.
    one folder having
    abc.jpf file,
    test1.jsp
    second folder having
    xyz.jpf
    test2.jsp
    i am using weblogic workshop8.1
    i need to call test2.jsp as pop up window
    from test1.jsp.
    i need to pass value from test1.jsp to test2.jsp
    again i need pass value from test2.jsp to test1.jap
    normal jsp programming we can use window opener
    javascipt function to do above.
    same thing how to us in weblogic workshop?
    any can help?
    thanks,
    jp reddy

    Hi,
    assuming action.do is the action method of ....../folder1/abc.jpf you can try out this in the test1.jsp,
    function openNameHistory(url) {
    var args = "<%= request.getContextPath() %>/folder1/"+url;
         window.showModalDialog(args,'','dialogHeight:320px;dialogWidth:600px;scroll:yes;status:no');
    <netui:anchor href="javascript:openNameHistory('action.do')">Name History</netui:anchor>
    u need not specify the abc.jpf in the url because , workshop allows only one jpf per folder
    hope this helps...
    regards
    shakan

Maybe you are looking for

  • Designed Reports are not showing in the Analysis Report List

    Hello Master's, I have designed one report as per our client requirement, and assigned also, but its not showing in the analysis reports list.May i know what setting needs be done to appear in the reports list?. How to create and add the characterist

  • Blue-ray player/burner program!!? (Mountain Lion)

    I Bought a Blu-ray player (ASUS, SBW-06C2X-U) and cant play BR-movies, why??? What program to use, burning program & player to use? i have burned DVD, no problem i have playd DVD-movie, no problem I can't watch BR-movie, PROBLEM!? What program to bur

  • Network Windows Laptop with iMac

    Hello, To start with I am not quite sure if this is the right section, if not then please let me know and i will move the thread. I am looking to find a way to connect on my iMac through my windows based laptop and specifically on my Movies folder. i

  • Depreciation forecast report

    Hello All, I need a depreciation forecast report that gives me the depreciation by month. It needs to subtotal by cost center and asset class. Eg if cost center X has deprecaition of 5000 which is comprised of asset class A of $1000 Asset classs B of

  • Why does quit safari stay grey

    why can't i quit safari