A & b works also for int primitives ?

Hello
During my lessons java SCJP 5.0 I saw that the & expression also excepts integers as oprands.
But how can i predict the outcome of such an expression.
For example
int a=1,b =1;
a++;
System.out.println(a & b); // Prints 0
a++;
b++;
System.out.println(a & b); // Prints 2
I don't understand how Java calculates these outcomes
How does the & work with int operands?
thanks in advance, Auke Quist

The error code is in the html code for the Web page and not an error you can fix.

Similar Messages

  • I have installed Photoshop element 12 trail version in my system and i worked also for some days but it given error that "cannot load default brushes because scratch disk is full " but scratch is 158GB free

    Hi,
    I have installed Photoshop element 12 trail version in my system and i worked also for some days but it given error that "cannot load default brushes because scratch disk is full " but scratch is 158GB free why whats the problem am not getting.

    That thread helped for a time.  But now it seems as though my computer is back to slow again.  But, some of the jargon is over my head as well.  Not sure I knew quoite everything they were talking about.  But thanks a lot for that, it helped I probably just need to reread it and follow the instructions again.  Thanks so much.

  • Do Firefox's and Thunderbird's versions 32 bit work also for 64 bit systems in Linux?

    Hello
    I installed on my 64 bit laptop some Linux distros, each one in an alongside partition. Until now I used only 32 bit distros, because my machine has only 4 GB RAM and I prefer well tested softwares.
    About Firefox and Thunderbird, I don't use the distro's versions, but I download from Mozilla's site the packages tar.bz2, expand them and save them into a date partition (not a system partition), accessible by each distro. In the same partition I saved also Firefox and Thunderbird profiles, in order to use the same software, the same profiles and the same mail archive with any distro I installed.
    Now, I'd like to install also a distro that is offered only in the 64 bit version. The question is: may I use the same 32 bit version of Firefox and Thunderbird also with the 64 bit distro, sharing it (and profiles and mail archive) with the other distros (32 bit)?
    If no, may I use only for the 64 bit distro the tar.bz2 of Firefox and Thunderbird 64 bit, but keeping on sharing profiles and mail archive with 32 bit Firefox and Thunderbird (with the other distros)?
    Thanks for your help.

    You may need appropriate 32-bit packages in order to run 32-bit versions on 64-bit Linux though.
    There are 64-bit versions of Firefox for Linux at https://www.mozilla.org/firefox/all/ and for Thunderbird well they do not make as easy to get http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/31.2.0/linux-x86_64/ just choose your language like say en-US.

  • Hp dm4 1041tx sometimes the speakers stop working, also for headset.

    I ve hp pavilion dm4 1041 TX, sometimes what happens the audio stops whether internal speakers or headset is being used.
    When i restart it becomes normal. Whats d problem, plz reply wid a solution.
    Vishal

    I ve hp pavilion dm4 1041 TX, sometimes what happens the audio stops whether internal speakers or headset is being used.
    When i restart it becomes normal. Whats d problem, plz reply wid a solution.
    Vishal

  • Work-around for flash player hangs/freezes during initialisation...

    Hello all,
    Are you also facing the problem that the flash player hangs/freezes during execution of an xcelsius file? Try if the following work-around works also for you.
    I am (was) facing the same problem: a swf file about 1474 kb with many components, generated with Xcelsius 5.3.2.0., trying to view with flash player 10.1.82.76. Did also hang/freezed! The file was originally build with version 5.3.0 and worked o.k. then...
    The work-around which works for me is the following: I had all my components organized in groups. After ungrouping them all (which I think is a major drawback) and exporting it to swf, the report works! File size is more or less the same...
    Maybe you can give this work-around a try for your own work....
    So I think the SAP/Adobe bug has something to do with grouping of components or grouped components build in an earlier version of Xcelsius 2008... The following test that I will perform is ungrouping the components and then re-grouping them again in version 5.3.2.0....
    Greetings
    Erik-Jan Vriens

    Thank you for sharing this. Had a similar problem before and did some tinkering around with the file and all of a sudden it worked again. Fair bet it was exactly that as well.
    In general Xcelsius performance goes down the drain if you start using many components. It is to be expected, somewhat, I guess. Various bugs also pop up because components do not always seem to play nice.
    One thing I have found as well is that if you are doing a waterfall approach of constructing with a bunch of iterations in the implementation phase, you may end up with a bunch of components that were there early on. Sometimes they start messing up over time, because you've been playing with the data below or with the chart itself. E.g. on line charts label start distorting, or the frames flicker. In radiobutton boxes the boxes are not aligned properly. Checkbox labels are clipped at the end until you hover over them etc..
    Solution: remove the components, add anew. If not too many components with a tough spreadsheet below, export Excel, start a new.

  • Can match identify my vinyl imported albums in I tunes. Also for it to work will I need to load all the album details. Obviously the iTunes Store needs to have the albums on line

    Can match identify my vinyl imported albums in I tunes. Also for it to work will I need to load all the album details. Obviously the iTunes Store needs to have the albums on line

    Yes.  Matching Songs in Vinyl Albums is possible, usually though with a success rate of 20 - 40%.
    Even with great care taken to improve the quality of the recording, the outcome is mixed.
    Summary points are here: https://discussions.apple.com/thread/3696878

  • HT5628 Does it work with a macbook (aluminium) 2008 late, even if it isn't said in the desription? Windows 7 also did run, but wasn't in the list of working models for windows 7...

    Does it work with a macbook (aluminium) 2008 late, even if it isn't said in the desription? Windows 7 also did run, but wasn't in the list of working models for windows 7 either...

    JK90, I have boot camp on my Mountain Lion late-2008 unibody running 64 bit Windows 8, with a brand new ssd and 8gigs of ram. Although my scenario is officially unsupported, it works great. My 4+ yr old mac is the best PC I've ever owned :-)
    There are a number of complications during and after installation, and you need to do a lot of research to make sure you get it right. I worked long and hard to get everything running just right.
    Even after Windows was installed I had even more trouble with my drivers, and getting especially getting the trackpad to work properly, so I needed to use a regular mouse until I could get the trackpad on.
    Also check out trackpad++, I've been using it for years now, it upgrades the trackpad drivers from apple and makes using Windows much nicer.

  • After sharing itunes with MP3 rocket I get a pop up window telling me that my Apple Push is not working at present. Do I need apple push?Everything is working well for me with itunes and Rocket. Also what is Apple push.

    I have been sharing itunes with MP3 rocket but I still purchase many songs and books from itunes normally.I have not had any trouble. Just recently a pop up window appears after I have been sharing and it tells me that my Apple Push is not working corectly and windows is looking for the problem. What is Apple Push and do I need it. as everything seems to be working well for me.Can you please advise me.

    Has any had you try a reset yet? Sometimes the WiFi & Cellular anntennas get wacky.
    Hold Sleep/Wak & Home buttons until the screen goes dark and you see the Apple logo

  • For some reason my back button and refresh button dosent work,,,also my passwords are not saved in my craiglist windows

    i just had some update today didnt really read it it was with mozilla so i just installed, now my pages were the wrong sizes and the toolbar with the backpage and refresh dosent work also my passwords are not being saved on my craiglist page

    Don't worry about the time, as it took us a while to get it done. I learned a few things along the way, about Button Layer Set order, and what happens, once the Menu has been Imported.
    Most of it will not apply to your original questions, at least not as I read them, but might prove useful in time.
    Good luck, and happy reading...
    Hunt

  • Complete working code for Gmail POP3 & SMTP with SSL - Java mail API

    Finally, your code-hunt has come to an end!!!!
    I am presenting you the complete solution (with code) to send and retrieve you mails to & from GMAIL using SMTP and POP3 with SSL & Authenticaion enabled. [Even starters & newbies like me, can easy try, test & understand - But first download & add JAR's of Java Mail API & Java Activation Framework to Netbeans Library Manager]
    Download Java Mail API here
    http://java.sun.com/products/javamail/
    Read Java Mail FAQ's here
    http://java.sun.com/products/javamail/FAQ.html
    Download Java Activation Framework [JAF]
    http://java.sun.com/products/javabeans/jaf/downloads/index.html
    Also, The POP program retrieves the mail sent with SMTP program :) [MOST IMPORTANT & LARGELY IN DEMAND]okey.. first things first... all of your thanks goes to the following and not a s@!te to me :)
    hail Java !!
    hail Java mail API !!
    hail Java forums !!
    hail Java-tips.org !!
    hail Netbeans !!
    Thanks to all coders who helped me by getting the code to work in one piece.
    special thanks to "bshannon" - The dude who runs this forum from 97!!I am just as happy as you will be when you execute the below code!! [my 13 hours of tweaking & code hunting has paid off!!]
    Now here it is...I only present you the complete solution!!
    START OF PROGRAM 1
    SENDING A MAIL FROM GMAIL ACCOUNT USING SMTP [STARTTLS (SSL)] PROTOCOL OF JAVA MAIL APINote on Program 1:
    1. In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
    2. Use the code to make your Gmail client [jsp/servlets whatever]
    //Mail.java - smtp sending starttls (ssl) authentication enabled
    //1.Open a new Java class in netbeans (default package of the project) and name it as "Mail.java"
    //2.Copy paste the entire code below and save it.
    //3.Right click on the file name in the left side panel and click "compile" then click "Run"
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class Main
        String  d_email = "[email protected]",
                d_password = "PASSWORD",
                d_host = "smtp.gmail.com",
                d_port  = "465",
                m_to = "[email protected]",
                m_subject = "Testing",
                m_text = "Hey, this is the testing email.";
        public Main()
            Properties props = new Properties();
            props.put("mail.smtp.user", d_email);
            props.put("mail.smtp.host", d_host);
            props.put("mail.smtp.port", d_port);
            props.put("mail.smtp.starttls.enable","true");
            props.put("mail.smtp.auth", "true");
            //props.put("mail.smtp.debug", "true");
            props.put("mail.smtp.socketFactory.port", d_port);
            props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
            props.put("mail.smtp.socketFactory.fallback", "false");
            SecurityManager security = System.getSecurityManager();
            try
                Authenticator auth = new SMTPAuthenticator();
                Session session = Session.getInstance(props, auth);
                //session.setDebug(true);
                MimeMessage msg = new MimeMessage(session);
                msg.setText(m_text);
                msg.setSubject(m_subject);
                msg.setFrom(new InternetAddress(d_email));
                msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
                Transport.send(msg);
            catch (Exception mex)
                mex.printStackTrace();
        public static void main(String[] args)
            Main blah = new Main();
        private class SMTPAuthenticator extends javax.mail.Authenticator
            public PasswordAuthentication getPasswordAuthentication()
                return new PasswordAuthentication(d_email, d_password);
    END OF PROGRAM 1-----
    START OF PROGRAM 2
    RETRIVE ALL THE MAILS FROM GMAIL INBOX USING Post Office Protocol POP3 [SSL] PROTOCOL OF JAVA MAIL APINote:
    1.Log into your gmail account via webmail [http://mail.google.com/]
    2.Click on "settings" and select "Mail Forwarding & POP3/IMAP"
    3.Select "enable POP for all mail" and "save changes"
    4.In the code below replace USERNAME & PASSWORD with your respective GMAIL account username and its corresponding password!
    PROGRAM 2 - PART 1 - Main.java
    //1.Open a new Java class file in the default package
    //2.Copy paste the below code and rename it to Mail.java
    //3.Compile and execute this code.
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
            try {
                GmailUtilities gmail = new GmailUtilities();
                gmail.setUserPass("[email protected]", "PASSWORD");
                gmail.connect();
                gmail.openFolder("INBOX");
                int totalMessages = gmail.getMessageCount();
                int newMessages = gmail.getNewMessageCount();
                System.out.println("Total messages = " + totalMessages);
                System.out.println("New messages = " + newMessages);
                System.out.println("-------------------------------");
    //Uncomment the below line to print the body of the message. Remember it will eat-up your bandwidth if you have 100's of messages.            //gmail.printAllMessageEnvelopes();
                gmail.printAllMessages();
            } catch(Exception e) {
                e.printStackTrace();
                System.exit(-1);
    END OF PART 1
    PROGRAM 2 - PART 2 - GmailUtilities.java
    //1.Open a new Java class in the project (default package)
    //2.Copy paste the below code
    //3.Compile - Don't execute this[Run]
    import com.sun.mail.pop3.POP3SSLStore;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Date;
    import java.util.Properties;
    import javax.mail.Address;
    import javax.mail.FetchProfile;
    import javax.mail.Flags;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.Multipart;
    import javax.mail.Part;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.URLName;
    import javax.mail.internet.ContentType;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.ParseException;
    public class GmailUtilities {
        private Session session = null;
        private Store store = null;
        private String username, password;
        private Folder folder;
        public GmailUtilities() {
        public void setUserPass(String username, String password) {
            this.username = username;
            this.password = password;
        public void connect() throws Exception {
            String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory";
            Properties pop3Props = new Properties();
            pop3Props.setProperty("mail.pop3.socketFactory.class", SSL_FACTORY);
            pop3Props.setProperty("mail.pop3.socketFactory.fallback", "false");
            pop3Props.setProperty("mail.pop3.port",  "995");
            pop3Props.setProperty("mail.pop3.socketFactory.port", "995");
            URLName url = new URLName("pop3", "pop.gmail.com", 995, "",
                    username, password);
            session = Session.getInstance(pop3Props, null);
            store = new POP3SSLStore(session, url);
            store.connect();
        public void openFolder(String folderName) throws Exception {
            // Open the Folder
            folder = store.getDefaultFolder();
            folder = folder.getFolder(folderName);
            if (folder == null) {
                throw new Exception("Invalid folder");
            // try to open read/write and if that fails try read-only
            try {
                folder.open(Folder.READ_WRITE);
            } catch (MessagingException ex) {
                folder.open(Folder.READ_ONLY);
        public void closeFolder() throws Exception {
            folder.close(false);
        public int getMessageCount() throws Exception {
            return folder.getMessageCount();
        public int getNewMessageCount() throws Exception {
            return folder.getNewMessageCount();
        public void disconnect() throws Exception {
            store.close();
        public void printMessage(int messageNo) throws Exception {
            System.out.println("Getting message number: " + messageNo);
            Message m = null;
            try {
                m = folder.getMessage(messageNo);
                dumpPart(m);
            } catch (IndexOutOfBoundsException iex) {
                System.out.println("Message number out of range");
        public void printAllMessageEnvelopes() throws Exception {
            // Attributes & Flags for all messages ..
            Message[] msgs = folder.getMessages();
            // Use a suitable FetchProfile
            FetchProfile fp = new FetchProfile();
            fp.add(FetchProfile.Item.ENVELOPE);       
            folder.fetch(msgs, fp);
            for (int i = 0; i < msgs.length; i++) {
                System.out.println("--------------------------");
                System.out.println("MESSAGE #" + (i + 1) + ":");
                dumpEnvelope(msgs);
    public void printAllMessages() throws Exception {
    // Attributes & Flags for all messages ..
    Message[] msgs = folder.getMessages();
    // Use a suitable FetchProfile
    FetchProfile fp = new FetchProfile();
    fp.add(FetchProfile.Item.ENVELOPE);
    folder.fetch(msgs, fp);
    for (int i = 0; i < msgs.length; i++) {
    System.out.println("--------------------------");
    System.out.println("MESSAGE #" + (i + 1) + ":");
    dumpPart(msgs[i]);
    public static void dumpPart(Part p) throws Exception {
    if (p instanceof Message)
    dumpEnvelope((Message)p);
    String ct = p.getContentType();
    try {
    pr("CONTENT-TYPE: " + (new ContentType(ct)).toString());
    } catch (ParseException pex) {
    pr("BAD CONTENT-TYPE: " + ct);
    * Using isMimeType to determine the content type avoids
    * fetching the actual content data until we need it.
    if (p.isMimeType("text/plain")) {
    pr("This is plain text");
    pr("---------------------------");
    System.out.println((String)p.getContent());
    } else {
    // just a separator
    pr("---------------------------");
    public static void dumpEnvelope(Message m) throws Exception {       
    pr(" ");
    Address[] a;
    // FROM
    if ((a = m.getFrom()) != null) {
    for (int j = 0; j < a.length; j++)
    pr("FROM: " + a[j].toString());
    // TO
    if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
    for (int j = 0; j < a.length; j++) {
    pr("TO: " + a[j].toString());
    // SUBJECT
    pr("SUBJECT: " + m.getSubject());
    // DATE
    Date d = m.getSentDate();
    pr("SendDate: " +
    (d != null ? d.toString() : "UNKNOWN"));
    static String indentStr = " ";
    static int level = 0;
    * Print a, possibly indented, string.
    public static void pr(String s) {
    System.out.print(indentStr.substring(0, level * 2));
    System.out.println(s);
    }END OF PART 2
    END OF PROGRAM 2
    P.S: CHECKING !!
    STEP 1.
    First compile and execute the PROGRAM 1 with your USERNAME & PASSWORD. This will send a mail to your own account.
    STEP 2.
    Now compile both PART 1 & PART 2 of PROGRAM 2. Then, execute PART 1 - Main.java. This will retrive the mail sent in step 1. njoy! :)
    In future, I hope this is added to the demo programs of the Java Mail API download package.
    This is for 3 main reasons...
    1. To prevent a lot of silly questions being posted on this forum [like the ones I did :(].
    2. To give the first time Java Mail user with a real time working example without code modification [code has to use command line args like the demo programs - for instant results].
    3. Also, this is what google has to say..
    "The Gmail Team is committed to making sure you always can access your mail. That's why we're offering POP access and auto-forwarding. Both features are free for all Gmail users and we have no plans to charge for them in the future."
    http://mail.google.com/support/bin/answer.py?answer=13295
    I guess bshannon & Java Mail team is hearing this....
    Again, Hurray and thanks for helping me make it!! cheers & no more frowned faces!!
    (: (: (: (: (: GO JCODERS GO!! :) :) :) :) :)
    codeace
    -----                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Thanks for the reply,
    I did checked by enabling session debuging and also checked pop settings it's enabled for all
    mails, I tried deleting some very old messages and now the message count is changed to 310.
    This may be the problem with gmail.
    Bellow is the output i got,
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]
    DEBUG POP3: connecting to host "pop.gmail.com", port 995, isSSL false
    S: +OK Gpop ready for requests from 121.243.255.240 n22pf5432603pof.2
    C: USER [email protected]
    S: +OK send PASS
    C: PASS my_password
    S: +OK Welcome.
    C: STAT
    S: +OK 310 26900234
    Custom output: messageCount : 310
    C: QUIT
    S: +OK Farewell.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Nforce 3 Platninum and 6800GT works fine for a week or so then fails to boot.

    Hi everyone,
    I have read pretty much all the posts on the forum, but none show the exact same problem as mine, as far as I can see.
    I have an MSI Nforce 3 plat mobo (with latest BIOS), which is turning out to be the worst investment I ever got.
    My specs are as follows:
    2x512MB Kingston ram
    AMD 3.5
    pixelview 6800gt
    raptor HD
    thermaltake 480W PS
    I upgraded to the nforce 3 for the 939pin socket for my AMD chip.  I had constant freezing, so my old memory I had to chuck and buy 1GB of Kingston ram.  Using my old ATI 9800pro my system was stable. Absolutely no crashes.  I decide to buy a pixel view 6800GT AGP card to upgrade.  Cool.  Plug it in, reload windows (latest WHQL drivers from NVIDIA).  Everthing is fine, for about a week.  Then bad things start to happen.  The symptoms are:
    Turn machine on, BIOS check all ok, machine does DMI listing. As soon as the "starting windows" screen comes up, the video display goes corrupt.  Either white, with diagonal lines, or windows XP logo all over the screen several times and corrupted.  The machine does boot into windows, but the screen is blank or corrupted.  I hear the windows startup sound click in.  Press the power button, shut down the machine.  Reboot.  It usually comes up fine.
    I thought initially it was the graphics card, so I swapped it out. Reloaded windows. All works ok for about a week. Then, again same problem.  Windows event viewer shows no errors.
    My question is this: can this be fixed or is it hardware incompatibility.  If so, can I fix it tweaking the mobo settings.  I have tried the AGP fast writes, didn't work.  This looks like intrinsic Hardware incompatibility, but if it is this, why does it work for a week without any problems, and then it gets worse and worse and worse.
    If this is a hardware problem, what is the cheapest way to get out of this.  Is MSI nforce 4 any better or do I ditch pc gaming all together.  I have been gaming from XT days, and I have to say, I am totally disheartened with this whole mess.  The one thing in my life that I do want control of is a bootable, reliable PC to relax with at the end of the day.  At the moment, I just shed tears as it is turning out to be a costly nightmare.
    Any help would be greatly appreciated.  My friend has offered to buy the 6800GT from me, and give me my old 9800Pro back.  Should i do this???
    Thanks guys
    John

    Hi Makisst,
    Thanks for the reply.
    System specs are as follows:
    AMD 3500 64
    MSI Neo Platinum (nforce3)
    Creative labs Audigy2 pci card
    Pixelview 6800GT AGP 256MB
    Kingston DDR400 512Mb PC3200 400Mhz x2
    MSI K8N NEO2 PLATINUM 939 pin  (MS-7025-010)
    Western Digital Raptor™ 74.0Gb 10,000RPM SATA150
    Themaltake 480W power supply.
    I have 2 extra ATA HDs, which I have not added to the system to rule those out.
    I have a DVD player (bog standard MSI) and a CD burner (not plugged in so as to rule this out).
    The only thing I have not tried is removing the sound card (audigy 2).  What is driving me absolutely nuts is that the machine works fine for a week.  Then there is a slow degrade.  First boot, scrambled screen, second boot fine.  Then a few days later, it will only boot the thrid time around.  Then after 2 weeks, it won't boot at all.
    I have tried this card in another persons machine (the 6800GT that is), and it boots fine.
    I can honestly say I have not tried playing with the BIOS settings except for AGP fast writes, as it was working fine with the Radeon 9800 pro.  I have done two full HD formats, and completely wiped the Raptor twice now. 
    I shall have a look at the BIOS settings you recommended tonight, and see if they make a difference.  I am, to be 100% honest, a little bit scared of playing with the BIOS settings, as I really don't know what I am doing.  I see that the ppl I bought the machine off have set timings in the BIOS to 3-3-8-3 (I think, I will confirm this tomorrow), so should I leave these settings?
    I shall also remove the Audigy 2 card and see what happens.  System properties show machine has no conflicts though.  It is almost like the card is not initialising correctly.  Why this happens only after 1 week though I have no idea.  This is the third time it has started happening after 1 week. 
    The only extra software loaded is Norton, Win XP SP2 and directX9.  I really have not had it stable enough to start loading extra software.  I am getting too tired after reloading for the third time in 6 weeks.
    I will let you know tomorrow either way.
    Many thanks
    John

  • Firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience. I have been using firefox for years. I installed the latest version of Firefox. It worked fine for several days. Now I get the above message each time I try to s

    firefox.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
    I have been using firefox for years. I installed the latest version of Firefox. It worked fine for several days. Now I get the above message each time I try to start Firefox, even in safe mode. i have checked with latest antivirus softwere also.. i didn't find any thing suspicious.
    == This happened ==
    Every time Firefox opened
    == after loading firefox 3.6.6 ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

    I was having this problem few days ago,and I have fixed.Try this steps-If you have AVG antivirus so go on firefox>Tools>Add On and Disable AVG safe search and AVG tool bars too.Then restart computer.

  • I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error.

    I'm having problems with 8.1 and Continuity / Handoff. It will work fine for web pages, etc. but in email when I try to do it between by iPhone 5s running 8.1 and my Macbook Pro running Yosemite I consistently get an error. "Failed to Continue Activity" Cocoa Error 4609.  Handoff is working for phone calls and text messages. By email just crashes each time. It was also doing it under 8.0.2.  My iPhone and iPad handle this fine. It's only the MacBook to the iPhone that fails, and only on email.

    Handoff Continuity Troubleshooting

  • How can I get AirPlay mirroring to fill widescreen? It works automatically for apps built for apple tv, but not Hulu Plus, for example, which letterboxes.

    Airplay mirroring works great for apps (mostly video-related ones) with native Apple TV support, but for other apps - most notably Hulu Plus, it will only show letterbox on my 16:9 plasma TV. Again, my movies, tv shows and in-app videos like in CNN where there's a built-in AirPlay support will fill my widescreen, but apps that don't (Hulu Plus, games, photos) will not. Do I have to change the aspect ratio on the tv to 4:3? Will changing the resolution help.
    How can I get mirroring to fill the entire tv screen, regardless of the app? Thanks.

    Guys. Let's not get confused here.
    -AirPlay mirroring feature 'mirrors' what's on your iPad 2 or above or your iPhone 4s on to your big TV via the Apple TV black box.
    -Video apps that stream video (like native YouTube app) uses AirPlay which is different to mirroring.
    -When you use the 'mirror' feature you get black bars all around (left/right &amp; top/bottom)
    -There are Games that use the full screen via the AirPlay mirroring feature and there are games that don't. It depends on the Game. For example download Asphalt 7:Heat and you'll notice you get widescreen display on the big TV but if you play Batman or Max Payne or others that don't support AirPlay mirroring then it you get black bars left and right.
    -What's neat about the AirPlay mirror feature is that when you play Asphalt 7 with 'mirroring' set to on, the race is shown on the TV while your iPad shows something completely different (the route in real time with your rear view mirror)
    -The Apple iPhoto app on your iPhone 4s or iPad 2/3 with AirPlay mirroring feature on you get a different experience. All of a sudden it goes full screen, and you are presented with their iPhoto logo.
    -Those who have the first generation iPad don't have mirroring capabilities so the Asphalt 7:Heat games feature aren't available or the iPhoto app features. With iPad 1 you can only stream video or music or image slideshow (which all stream full screen). iPad 2 and iPad 3 can also do this but with the added benefit of 'mirorring' what is displayed on the iPad screen. Some apps take advantage of this, some don't.
    There are no special setting on Apple TV to get rid of the black bars. You may be able to change the zoom settings on your actual big TV.
    Hopefully this will clear this all up. I have the iPad 1 and recently upgraded to the new iPad 3. I also have an iPhone 4s. Same issues.
    I don't think the AirPlay 'mirror' feature has developed fully yet. It has it's limitations but also has its advantages.

Maybe you are looking for