Help with binary to decimal, binary to hex, and hex to ascii or ascii to hex program

I decided to do a program that will do binary to decimal, binary to hex, and hex to ascii for a project related to a java programming course, which only needs to perform features from chapters 1-6 and 8 of Tony Gaddis's book. The functions work fine as their own main programs out side of this combined effort, so can anyone help me determine why I get the following 41 errrors saying: class, interface, or enum expected as well as any other errors that may show up afterwards because I'm stumped. My flowcharts, which have to be revised after discovering that my previous function were logically incorrect after running them in their own main are attached below as the spec sheet.
My code is as follows and I hope you don't mind the commented lines of unused code because I'm not sure where I want things and what I want at the moment:
import java.util.Scanner;
import java.io.*;
import java.lang.*;
public class BintoDectoHextoAscii
   public static void main(String[] args)throws IOException
      Scanner input = new Scanner(System.in);
      System.out.println("Enter a binary number: ");
      String binary = input.nextLine(); // store input from user
     if (binary == input.nextLine())
      //int i= Integer.parseInt(hex,2);
      //String hexString = Integer.toHexString(i);
      //System.out.println("Hexa decimal: " + hexString);
      //int finaldecimalvalue = binaryToDecimal(hexString);
      int finaldecimalvalue = binaryToDecimal(hexString);
     if (binary != input.nextLine())
      String hexInput; // The variable Bin Input declared as the datatype int to store the Binary value  
      // Create a Scanner object for keyboard input.
      //Scanner keyboard = new Scanner(System.in);
      // Get the number of binary files.
      System.out.print("Enter the Hex value: ");
      hexInput = keyboard.nextLine();
      System.out.println("Original String: "+ hexInput);
      //String hexEquivalent = asciiToHex(demoString);
      String hexEquivalent = asciiToHex(hexInput);
      //Hex value of original String
      System.out.println("Hex String: "+ hexEquivalent);
      String asciiEquivalent = hexToASCII(hexEquivalent);
      //ASCII value obtained from Hex value
      System.out.println("Ascii String: "+ asciiEquivalent);String finalhexOutput = HextoAsciiConverter(hexEquivalent);
     if (binary != input.nextLine() && hexInput != keyboard.nextLine())
         BufferedReader binInput = new BufferedReader(new InputStreamReader(System.in));
         System.out.println("Enter the Binary number:");
         String hex = binInput.readLine();
         //String finaldecimalvalue = binaryToDecimal(decimal);
         //long finalhexvalue = BinaryToHexadecimal(num);
         long finalhexvalue = BinaryToHexadecimal();
   public static String BinaryToHexadecimal(String hex)
      //public static void main(String[] args)throws IOException
         //BufferedReader bf= new BufferedReader(new InputStreamReader(System.in));
         //System.out.println("Enter the Binary number:");
         //String hex = binInput.readLine();
         long num = Long.parseLong(hex);
         long rem;
         while(num > 0)
         rem = num % 10;
         num = num / 10;
         if(rem != 0 && rem != 1)
         System.out.println("This is not a binary number.");
         System.out.println("Please try once again.");
         System.exit(0);
         int i= Integer.parseInt(hex,2);
         String hexString = Integer.toHexString(i);
         System.out.println("Hexa decimal: " + hexString);
      return num.tolong();
  //int i= Integer.parseInt(hex,2);
  //String hexString = Integer.toHexString(i);
  //System.out.println("Hexa decimal: " + hexString);
//} // end BintoDectoHextoAsciil
   //public static String HexAsciiConverter(String hextInput)
      // Get the number of binary files.
      //System.out.print("Enter the Hex value: ");
      //hexInput = keyboard.nextLine();
      //System.out.println("Original String: "+ hexInput);
      //String hexEquivalent = asciiToHex(demoString);
      //String hexEquivalent = asciiToHex(hexInput);
      //Hex value of original String
      //System.out.println("Hex String: "+ hexEquivalent);
      //String asciiEquivalent = hexToASCII(hexEquivalent);
      //ASCII value obtained from Hex value
      //System.out.println("Ascii String: "+ asciiEquivalent);
   //} // End function  
   private static String asciiToHex(String asciiValue)
      char[] chars = asciiValue.toCharArray();
      StringBuffer hex = new StringBuffer();
      for (int i = 0; i < chars.length; i++)
         hex.append(Integer.toHexString((int) chars[i]));
      return hex.toString();
   private static String hexToASCII(String hexValue)
      StringBuilder output = new StringBuilder("");
      for (int i = 0; i < hexValue.length(); i += 2)
         String str = hexValue.substring(i, i + 2);
         output.append((char) Integer.parseInt(str, 16));
      return output.toString();
   public static String binaryToDecimal(String binary)
        //Scanner input = new Scanner(System.in);
        //System.out.println("Enter a binary number: ");
        //String binary = input.nextLine(); // store input from user
        int[] powers = new int[16]; // contains powers of 2
        int powersIndex = 0; // keep track of the index
        int decimal = 0; // will contain decimals
        boolean isCorrect = true; // flag if incorrect input
       // populate the powers array with powers of 2
        for(int i = 0; i < powers.length; i++)
            powers[i] = (int) Math.pow(2, i);
        for(int i = binary.length() - 1; i >= 0; i--)
            // if 1 add to decimal to calculate
            if(binary.charAt(i) == '1')
                decimal = decimal + powers[powersIndex]; // calc the decimal
            else if(binary.charAt(i) != '0' & binary.charAt(i) != '1')
                isCorrect = false; // flag the wrong input
                break; // break from loop due to wrong input
            } // end else if
            // keeps track of which power we are on
            powersIndex++; // counts from zero up to combat the loop counting down to zero
        } // end for
        if(isCorrect) // print decimal output
            System.out.println(binary + " converted to base 10 is: " + decimal);
        else // print incorrect input message
            System.out.println("Wrong input! It is binary... 0 and 1's like.....!");
        return decimal.toint();
   } // end function
The errors are as follows:
----jGRASP exec: javac BintoDectoHextoAscii.java
BintoDectoHextoAscii.java:65: error: class, interface, or enum expected
   public static String BinaryToHexadecimal(String hex)
                 ^
BintoDectoHextoAscii.java:73: error: class, interface, or enum expected
         long rem;
         ^
BintoDectoHextoAscii.java:74: error: class, interface, or enum expected
         while(num > 0)
         ^
BintoDectoHextoAscii.java:77: error: class, interface, or enum expected
         num = num / 10;
         ^
BintoDectoHextoAscii.java:78: error: class, interface, or enum expected
         if(rem != 0 && rem != 1)
         ^
BintoDectoHextoAscii.java:81: error: class, interface, or enum expected
         System.out.println("Please try once again.");
         ^
BintoDectoHextoAscii.java:83: error: class, interface, or enum expected
         System.exit(0);
         ^
BintoDectoHextoAscii.java:84: error: class, interface, or enum expected
         ^
BintoDectoHextoAscii.java:87: error: class, interface, or enum expected
         String hexString = Integer.toHexString(i);
         ^
BintoDectoHextoAscii.java:88: error: class, interface, or enum expected
         System.out.println("Hexa decimal: " + hexString);
         ^
BintoDectoHextoAscii.java:90: error: class, interface, or enum expected
      return num.tolong();
      ^
BintoDectoHextoAscii.java:91: error: class, interface, or enum expected
   ^
BintoDectoHextoAscii.java:124: error: class, interface, or enum expected
      StringBuffer hex = new StringBuffer();
      ^
BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
      for (int i = 0; i < chars.length; i++)
      ^
BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
      for (int i = 0; i < chars.length; i++)
                      ^
BintoDectoHextoAscii.java:125: error: class, interface, or enum expected
      for (int i = 0; i < chars.length; i++)
                                        ^
BintoDectoHextoAscii.java:128: error: class, interface, or enum expected
      ^
BintoDectoHextoAscii.java:130: error: class, interface, or enum expected
   ^
BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
      for (int i = 0; i < hexValue.length(); i += 2)
      ^
BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
      for (int i = 0; i < hexValue.length(); i += 2)
                      ^
BintoDectoHextoAscii.java:135: error: class, interface, or enum expected
      for (int i = 0; i < hexValue.length(); i += 2)
                                             ^
BintoDectoHextoAscii.java:138: error: class, interface, or enum expected
         output.append((char) Integer.parseInt(str, 16));
         ^
BintoDectoHextoAscii.java:139: error: class, interface, or enum expected
      ^
BintoDectoHextoAscii.java:141: error: class, interface, or enum expected
   ^
BintoDectoHextoAscii.java:144: error: class, interface, or enum expected
   public static String binaryToDecimal(String binary)
                 ^
BintoDectoHextoAscii.java:150: error: class, interface, or enum expected
        int powersIndex = 0; // keep track of the index
        ^
BintoDectoHextoAscii.java:151: error: class, interface, or enum expected
        int decimal = 0; // will contain decimals
        ^
BintoDectoHextoAscii.java:152: error: class, interface, or enum expected
        boolean isCorrect = true; // flag if incorrect input
        ^
BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
        for(int i = 0; i < powers.length; i++)
        ^
BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
        for(int i = 0; i < powers.length; i++)
                       ^
BintoDectoHextoAscii.java:155: error: class, interface, or enum expected
        for(int i = 0; i < powers.length; i++)
                                          ^
BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
        for(int i = binary.length() - 1; i >= 0; i--)
        ^
BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
        for(int i = binary.length() - 1; i >= 0; i--)
                                         ^
BintoDectoHextoAscii.java:159: error: class, interface, or enum expected
        for(int i = binary.length() - 1; i >= 0; i--)
                                                 ^
BintoDectoHextoAscii.java:166: error: class, interface, or enum expected
            else if(binary.charAt(i) != '0' & binary.charAt(i) != '1')
            ^
BintoDectoHextoAscii.java:169: error: class, interface, or enum expected
                break; // break from loop due to wrong input
                ^
BintoDectoHextoAscii.java:170: error: class, interface, or enum expected
            } // end else if
            ^
BintoDectoHextoAscii.java:174: error: class, interface, or enum expected
        } // end for
        ^
BintoDectoHextoAscii.java:180: error: class, interface, or enum expected
        else // print incorrect input message
        ^
BintoDectoHextoAscii.java:185: error: class, interface, or enum expected
        return decimal.toint();
        ^
BintoDectoHextoAscii.java:186: error: class, interface, or enum expected
   } // end function
   ^
41 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.

so can anyone help me determine why I get the following 41 errrors saying: class, interface, or enum expected as well as any other errors that may show up afterwards because I'm stumped.
Yes - YOU CAN!
My code is as follows and I hope you don't mind the commented lines of unused code because I'm not sure where I want things and what I want at the moment:
Excellent! Commenting out code is EXACTLY how you troubleshoot problems like yours.
Comment out sections of code until the problem goes away. Then start adding back ONE SECTION of code at a time until the problem occurs. When it does you have just FOUND the problem.
If you do that you wind up with code that looks like this:
import java.util.Scanner;
import java.io.*;
import java.lang.*;
public class BintoDectoHextoAscii  {
      public static void main(String[] args)throws IOException      {
         Scanner input = new Scanner(System.in);
         System.out.println("Enter a binary number: ");
         String binary = input.nextLine(); // store input from user
              public static String BinaryToHexadecimal(String hex)     {     } // end function        
Notice ANYTHING UNUSUAL?
You have a complete CLASS definition followed by a method definition.
Methods have to be INSIDE the class - you can NOT define methods on their own.
Write modular code.
Write EMPTY methods - just the method signature and maybe a RETURN NULL if you need to return something.
Then add calls to those empty methods.
When everything compiles and runs find you can start adding code to the methods ONE METHOD AT A TIME.
Test compile and run after you add the code for each method.

Similar Messages

  • Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Can Anyone help with syncing my contacts are getting duplicated and there is a file from my computer and they are not the same it is driving me carazy can anyone help?

    Are you in DSL? Do you know if your modem is bridged?
    "Sometimes your knight in shining armor is just a retard in tin foil.."-ARCHANGEL_06

  • HT201269 I'm not a tech person, but need help with my Itunes account in transferring money and downloads onto new phone I purchased 2 weeks ago when my Iphone was stolen. I don't know how to get the money or music on new phone?

    Need help with Itunes transferrs and can I use my Edge phone as a router?

    I'm not a tech person, but need help with my Itunes account in transferring money and downloads onto new phone
    Is this an iPhone?
    Set it up using the AppleID you used on the previous iPhone.

  • Help with used iPod I just got - syncing and uploading a LOT of CD's

    Hello All:
    So I just brought a used iPOD on Ebay, and i'm totally new to using them. I believe it's the 6th generation classic, 80GB, black. I have two questions.
    1) I get the message in itunes that only one library can be synced, do I want to erase the ipod and upload the library thats on my laptop. I assume this is some kind of copyright thing, and that theres no way to save the songs that are on the iPod to the laptop, since they were loaded onto the iPod by the previous owner?
    2) I have about fifty CD's here I want to load onto the iPod. In my mind, i'm thinking I want to backup the iPod with all 50 CD's onto an external USB hard drive. I don't really want 80GB of data on the laptop internal hard drive that I use all the time. I poked around with iTunes for about a half-hour, and I can't see how to load CD's onto the iPod without loading the CD's onto the laptop internal hard drive and then syncing the iPod to load the CD's onto it. Forgive my ignorance, but is it possible to load CD's directly from the laptop CD-ROM drive to the iPod without going onto the laptop internal har drive first, and/or can I use iTunes on the laptop with an external USB hard drive and/or then go from the external hard drive to the iPod or from the iPod first to the external hard drive to backup the iPod?
    THANK YOU,
    Lee Bernhang

    I FIGURED IT OUT!!!!
    what i did was plugged my iPod back up, then when iTunes pops up, drag your 'music' section to your iPod. (you have to be in your library, not in the iTunes store)
    mine synched automatically, and i had no problem ejecting it or anything.
    no error messages either. and all my music is now on my iPod!
    thanks to my dad. (: lol. hope this helps someone!

  • Need help with Acrobat 11.0.9: odd interface and unresponsive on some computers

    Hello,
    We've been using Adobe Acrobat Pro for a few years now and have globally been very happy with it. Recently the quality of the product seems to have increased especially on the Mac computers.
    However we're having issues with the 11.0.9 update that just happened recently:
    1) On some Windows computers the interface on the right is much larger than it should and a new tab called 'Fill and sign' has been introduced. We worried it was an malware until we read the release notes. Is this really normal? The interface is odd and very large. Is there a way we can remove it?
    2) Also once the new module for recent files is turned ON, we experience Acrobat 11.0.9 is frozen for few seconds and on Mac laptops we've noticed that energy consumption is back while there was good improvement for the last few releases. We have mobile attorneys who use Acrobat extensively on Mac laptops and battery life is important for them. They can just turn the functionality OFF fortunately, but then the new mobile is useless and we like the normal behavior better.
    Thanks for any help!
    We have about 30 computers with Acrobat Pro on them, both Mac and Windows and about a third of them have at least one of these problems.
    Regards,
    Jean

    Yes, it's normal.  You can close it or disable it entirely.
    You should be able to disable it via the following entry in a administrator created "com.adobe.Acrobat.Pro.plist" file in the FeatureLockdown section.  The file is placed in the /Library/Preferences directory and should apply to all users.
    Here is the ETK documentation on the item:
    Lockable Settings
    bEnableFillSig
    Add to GPOSupported on WindowsSupported on MacSupported by Adobe Reader
    Top>FeatureLockdown>Services (eSign-EchoSign)>bEnableFillSig
    Data type     boolean: DWORD value > REG_DWORD
    Default    1
    Version #    10.1.2 < 11.0
    Lock Path    HKLM\SOFTWARE\Policies\Adobe\(product name)\(version)\FeatureLockdown\cServices
    Summary    Specifies whether to remove the Sign Now panel from the Sign Pane.
    Details    The Sign Now panel provides a way to sign with a typed signature and a scanned image of your signature. This method does not require certificates or the use of an online service. Possible values include:
    0: Don't show the Sign Now panel.
    1 or null: Show the Sign Now panel.
    GUI mapping    Sign > Sign Now panel
    For item #2 , I am not sure what you mean.  New module??  Can you screenshot it and post it?

  • Need help with original MacBook, Snow Leopard, iPod Touch and iPad

    I have the original MacBook (2GHz Intel Core Duo) and I just installed Snow Leopard.  My software is all up to date and my system drive has 42 GB of space available. I have an iPod Touch 32 GB 3rd Gen and iPad 1 32 GB that I previously have been syncing with an iBook G4 PowerPC with no problems.  The iPod is running iOS 6. 
    Now, I want to sync them with this MacBook but when I open iTunes and connect the iPod, I go to click Backup (to this Computer(or even to iCloud)), it gives me an error message that my computer does not have enough space to backup.  The iPod is only 17 GB full.  So, I tried clicking Sync, in an effort to just get my iPod data into my iTunes and on the computer that way.  But it only did a 3 step sync and didn't actually transfer anything from the iPod.  My iPod was NOT wiped clean however(which is what I was actually worried would happen).  So I gave up on the iPod. 
    Moving on to the iPad, I clicked back up and it WAS able to backup.  The Available space on my system drive went from about 42.8 GB to 42.25 GB, so I figured it may have done something.  Then I tried to Sync and it did the same 3 step sync and nothing was transferred to the computer and the iPad left untouched.
    I am extremely new to Snow Leopard, so maybe I am missing something.  Does anyone have any idea what is going on?  Ultimately my goal is to just get everything from my iPod and iPad onto this MacBook.

    See if yhis article helps with your sync and backup issues http://support.apple.com/kb/HT1386
    Make sure that you click on each tab on the top of the iTunes window and select what you want to be synched.
    Authorize or deauthorize http://support.apple.com/kb/HT1420
    As far as replacing the hard drive it's very easy, here's a guide http://www.ifixit.com/Guide/MacBook+Core+2+Duo+Hard+Drive+Replacement/514/1
    IF you do decide to replace the hard drive you might consider a solid state drive, less power, less heat and WAYYYYY faster. I replaced mine with a Samsung 840 250GB SSD and it's the best upgrade I've ever done to a computer.
    You might also try posting your questions in the iTunes forum https://discussions.apple.com/community/itunes

  • Need help with error message after failed iSync: Leopard and Palm OS

    I recently upgraded to a new computer which came with Leopard installed. In my old computer, Tiger OS, all was well when syncing to my Palm device.
    I tried going from handheld to desktop with slow synch turned on in iSync and now I get this message re: failure--
    "iSync Conduit starting 9/6/08 8:21:12 AM
    Timeout waiting for Sync Engine, exiting 9/6/08 8:27:31 AM
    iSync Conduit synchronization failed
    “iSync Conduit” failed (error = #-2)"
    Any ideas--please help.

    I wish you success.
    I have an older Palm, the Zire. Once I got the most recent Palm software and chose, at least for now, to use iSync, I haven't noticed any problems.
    Since I haven't used the "T" family of Palms, I can only guess that the process is much the same as with the Zire. You can disable the MAc syncing, move your currently disabled conduits back into Palm syncing, reinstall what Palm lists as your most recent software (and make sure all of your calendar and contacts info is just as you want it), do a sync through the HotSync Manager (ignoring iCal). I'd do a restart just to clear the system. It appears there is a warning note on resetting the iSync history, so you might not want to do that but just manually clean up any inconsistencies in iCal before you try once again.
    [I actually wanted to just accept my Palm calendar so trashed my iCal calendar after some questionable syncs, but you can do an export to save the iCal calendar before you wipe it out.]
    But my impression is that to get pass the messages you initially wrote up, you'll have to ask the Palm discussions folks for help. They are very helpful.
    ec

  • Hi can anyone help with this! I upgraded my PC and when I plug my iphone in itunes loads up with all my daughters music instead of mine. How do I make it so only my account appears?

    Hi, can anyone help with this one. I recently upgraded my computer and downloaded itunes again. Now when I plug in my iphone my daughters account comes up instead of mine???

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • I need help with setting 2 decimal places

    I am using netbeans to create a GUI. My math works I need help formatting the result to 2 decimal places.
    Thanks for any help.
    This is part of my code..
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // Regular button
    double RegularPrice = 3.09;
    double num1, result;
    num1 = Float.parseFloat(jTextField1.getText());
    result=RegularPrice * num1;
    jLabel2.setText(String.valueOf(result));
    }

    http://java.sun.com/j2se/1.5.0/docs/api/java/text/DecimalFormat.html

  • Need help with easy script for open / close app and move files

    Hi,
    I'm not a scripter.. never done anything special perhaps more complicated than /shutdown -s on cmd..
    I actually learned ASCII C language on university but never used it in real.
    I'm trying to create a basic script that perhaps you could help me or guide me how to do it..
    The commands are
    1) Close a running app (end task it or force kill it, I prefer end task it)
    2) delete files from x location
    3) run .exe app from y location
    4) close that running app 
    5) move files from z to y
    Perhaps adding few "wait few seconds" commands in between each, so the apps will launch successfully..
    My first question will be whats the easiest script language to do that?
    I tried VBScript but couldn't find commands for open or close apps.. also for controlling files..
    And what commands can do that? I could google them up for better understanding no need for rough guide
    And lastly, does it too hard? If it takes more than hour to make it (learn and process) than it ain't worth it..
    Thanks alot ahead!
    Jordan.

    hmm 2 questions:
    1) taskkill.exe causing me access deny error.. I used "taskkill.exe /IM softwarename.exe"
    how do I get permission or something to fix that?
    2) on the "move" command..
    First, its a "copy" instead.. but I easily figured that out.. 
    but more important is that I want to copy a folder.. with unknown list of way too long files and sub folders..
    and all I see is ability to move a file..
    Is this possible?
    Thanks

  • I need help with a backup file that was deleted and now undeleted from my hard drive

    Last month (May 6, 2011), I was updating my iPod Touch 4G with the new software that came out. I always make a backup of my iPod's data before I update it. While my iPod was updating I left my iPod and computer alone and was doing things around the house with my mom. And when I was done I went in my room to see if it was done and my computer decides that it was going to freeze and crash on me (with my iPod plugged in and stuck on the updating or verifying software mode.) I managed to get my iPod back to working condition again but losing everything on my iPod. I formatted my computer hard drive but I managed to get back the backup I lost. I need help on getting the backup into iTunes so I can get my data back. I am not Jailbroken and I plan not to Jailbreak. I however saved the backup file in a folder other than the Mobilesync folder. I am also running on Windows XP. Someone please help me and thank you in advance!

    I was able to backup my iPod and I tried to restore my iPod again and it goes through the process and everything but it restores the temporary data that I had on there. It didn't restore application data or the current photos and videos that I had saved in Camera Roll before this all had happened. It is almost like it goes back to factory settings but I have some photos that were saved on the other backup that I was temporarily running on. The backup that I am looking to restore is the only backup file in the Mobilesync folder as of right now the others are saved somewhere safe for right now. Why doesn't it restore my application data or my Camera Roll pictures and videos that I saved before my computer crashed last month? Can this problem be fixed?

  • Help with "No bootable Device -- Insert boot disk and press any key" problem

    Alright, I am on an Early 2011 17inch macbook pro.  I have removed the superdrive to install a secondary disk drive for mass storage, then replaced the original one with an SSD blah blah blah.  I do everything from the books, run bootcamp, make my USB windows 7 bootable in Bootcamp, go through everything and allocate 65gb towards windows.  I have tried 4 different USB sticks and 3 different ISOs.  Every time I try it, I get the same "No bootable device -- insert boot disk and press any key".  I then have to hold down the power button, then restart, hold down option/alt key, and boot regularly into mac.  I also read that holding option/alt whilst starting the macbook pro will show the windows USB stick, well it never appears.  I dont know what I need to do, what I am doing wrong, but nothing is working.  I guess the last thing I have to try is buying a superdrive and burning ISO to disc then try that.  But I dont want to go out and spend more money.  Other people have gotten it to work just fine from USB, I dont know what I must do or what I am doing wrong...
    Open to suggestions and in desperate need of help.  Anything is appreciated.
    Thanks!

    Don't bump
    get a new usb2 only flash drive and try the solution posted by kunu here and report back
    https://discussions.apple.com/thread/5105056?tstart=0
    How to install Bootcamp on a 2009 Macbook Pro that does not have a disc drive

  • Help with script to eject an external drive and change Network Location?

    Hello,
    Could someone help me with a script that would do the following:
    -eject an external hard drive call "1TB_BU"
    -change the Network System Preferences Location from "Work" to "Home"
    I then need another that would change the Location from "Home" to "Work"
    THx!
    ~Von

    1. Use the following:
    tell application "Finder"
    eject disk "1TB_BU"
    end tell
    2. Click here for information.
    (35975)

  • Help with building a JTree using tree node and node renderers

    Hi,
    I am having a few problems with JTree's. basically I want to build JTree from a web spider. The webspide searches a website checking links and stores the current url that is being processed as a string in the variable msg. I wan to use this variable to build a JTree in a new class and then add it to my GUI. I have created a tree node class and a renderer node class, these classes are built fine. can someone point me in the direction for actually using these to build my tree in a seperate class and then displaying it in a GUI class?
    *nodeRenderer.java
    import javax.swing.*;
    import javax.swing.tree.*;
    import java.awt.*;
    import java.net.*;
    public class nodeRenderer extends DefaultTreeCellRenderer
                                       implements TreeCellRenderer
    public static Icon icon= null;
    public nodeRenderer() {
    icon = new ImageIcon(getClass().getResource("icon.gif"));
    public Component getTreeCellRendererComponent(
    JTree tree,
    Object value,
    boolean sel,
    boolean expanded,
    boolean leaf,
    int row,
    boolean hasFocus) {
    super.getTreeCellRendererComponent(
    tree, value, sel,
    expanded, leaf, row,
    hasFocus);
    treeNode node = (treeNode)(((DefaultMutableTreeNode)value).getUserObject());
    if(icon != null) // set a custom icon
    setOpenIcon(icon);
    setClosedIcon(icon);
    setLeafIcon(icon);
         return this;
    *treeNode.java
    *this is the class to represent a node
    import javax.swing.*;
    import javax.swing.tree.*;
    import java.util.*;
    import java.net.*;
    * Class used to hold information about a web site that has
    * been searched by the spider class
    public class treeNode
    *Url from the WebSpiderController Class
    *that is currently being processed
    public String msg;
    treeNode(String urlText)
         msg = urlText;
    String getUrlText()
         return msg;
    //gui.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class gui extends JFrame implements Runnable
         *declare variable, boolean
         *thread, a object and a center
         *pane
         protected URL urlInput;
         protected Thread bgThread;
         protected boolean run = false;
         protected WebSpider webSpider;
         public gui()
              *create the gui here
              setTitle("Testing Tool");
         setSize(600,600);
         //add Buttons to the tool bar
         start.setText("Start");
         start.setActionCommand("Start");
         toolBar.add(start);
         ButtonListener startListener = new ButtonListener();
              start.addActionListener(startListener);
              cancel.setText("Cancel");
         cancel.setActionCommand("Cancel");
         toolBar.add(cancel);
         ButtonListener cancelListener = new ButtonListener();
              cancel.addActionListener(cancelListener);
              close.setText("Close");
         close.setActionCommand("Close");
         toolBar.add(close);
         ButtonListener closeListener = new ButtonListener();
              close.addActionListener(closeListener);
              //creat a simple form
              urlLabel.setText("Enter URL:");
              urlLabel.setBounds(100,36,288,24);
              formTab.add(urlLabel);
              url.setBounds(170,36,288,24);
              formTab.add(url);
              current.setText("Currently Processing: ");
              current.setBounds(100,80,288,24);
              formTab.add(current);
         //add scroll bars to the error messages screen and website structure
         errorPane.setAutoscrolls(true);
         errorPane.setHorizontalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
         errorPane.setVerticalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
         errorPane.setOpaque(true);
         errorTab.add(errorPane);
         errorPane.setBounds(0,0,580,490);
         errorText.setEditable(false);
         errorPane.getViewport().add(errorText);
         errorText.setBounds(0,0,600,550);
         treePane.setAutoscrolls(true);
         treePane.setHorizontalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
         treePane.setVerticalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
         treePane.setOpaque(true);
         treeTab.add(treePane);
         treePane.setBounds(0,0,580,490);
         treeText.setEditable(false);
         treePane.getViewport().add(treeText);
         treeText.setBounds(0,0,600,550);
         //create the tabbed window           
    centerPane.setBorder(new javax.swing.border.EtchedBorder());
    formTab.setLayout(null);
    errorTab.setLayout(null);
    treeTab.setLayout(null);
    centerPane.addTab("Search Parameters", formTab);
    centerPane.addTab("Error Messages", errorTab);
    centerPane.addTab("Website Structure", treeTab);
              //add the tool bar and tabbed pane
              getContentPane().add(toolBar, java.awt.BorderLayout.NORTH);
    getContentPane().add(centerPane, java.awt.BorderLayout.CENTER);                    
              *create the tool bar pane, a center pane, add the buttons,
              *labels, tabs, a text field for user input here
              javax.swing.JPanel toolBar = new javax.swing.JPanel();
              javax.swing.JButton start = new javax.swing.JButton();
              javax.swing.JButton cancel = new javax.swing.JButton();
              javax.swing.JButton close = new javax.swing.JButton();      
              javax.swing.JTabbedPane centerPane = new javax.swing.JTabbedPane();
              javax.swing.JPanel formTab = new javax.swing.JPanel();
              javax.swing.JLabel urlLabel = new javax.swing.JLabel();
              javax.swing.JLabel current = new javax.swing.JLabel();
              javax.swing.JTextField url = new javax.swing.JTextField();
              javax.swing.JPanel errorTab = new javax.swing.JPanel();
              javax.swing.JTextArea errorText = new javax.swing.JTextArea();
              javax.swing.JScrollPane errorPane = new javax.swing.JScrollPane();
              javax.swing.JPanel treeTab = new javax.swing.JPanel();
              javax.swing.JTextArea treeText = new javax.swing.JTextArea();
              javax.swing.JScrollPane treePane = new javax.swing.JScrollPane();
              javax.swing.JTree searchTree = new javax.swing.JTree();
              *show the gui
              public static void main(String args[])
              (new gui()).setVisible(true);
         *listen for the button presses and set the
         *boolean flag depending on which button is pressed
         class ButtonListener implements ActionListener
              public void actionPerformed(ActionEvent event)
                   Object object = event.getSource();
                   if (object == start)
                        run = true;
                        startActionPerformed(event);
                   if (object == cancel)
                        run = false;
                        startActionPerformed(event);
                   if (object == close)
                        System.exit(0);
         *this method is called when the start or
         *cancel button is pressed.
         void startActionPerformed (ActionEvent event)
              if (run == true && bgThread == null)
                   bgThread = new Thread(this);
                   bgThread.start();
              if (run == false && bgThread != null)
                   webSpider.cancel();
         *this mehtod will start the background thred.
         *the background thread is required so that the
         *GUI is still displayed
         public void run()
              try
                   webSpider = new WebSpider(this);
                   webSpider.clear();
                   urlInput = new URL(url.getText());
                   webSpider.addURL(urlInput);
                   webSpider.run();
                   bgThread=null;
              catch (MalformedURLException e)
                   addressError addErr = new addressError();
                   addErr.addMsg = "URL ERROR - PLEASE CHECK";
                   SwingUtilities.invokeLater(addErr);
              *this method is called by the web spider
              *once a url is found. Validation of navigation
              *happens here.
              public boolean urlFound(URL urlInput,URL url)
                   CurrentlyProcessing pro = new CurrentlyProcessing();
              pro.msg = url.toString();
              SwingUtilities.invokeLater(pro);
              if (!testLink(url))
                        navigationError navErr = new navigationError();
                        navErr.navMsg = "Broken Link "+url+" caused on "+urlInput+"\n";
                        return false;
              if (!url.getHost().equalsIgnoreCase(urlInput.getHost()))
                   return false;
              else
                   return true;
              *this method is called internally to check
         *that a link works
              protected boolean testLink(URL url)
              try
                   URLConnection connection = url.openConnection();
                   connection.connect();
                   return true;
              catch (IOException e)
                   return false;
         *this method is called when an error is
         *found.
              public void URLError(URL url)
              *this method is called when an email
              *address is found
              public void emailFound(String email)
              /*this method will update any errors found inc
              *address errors and broken links
              class addressError implements Runnable
                   public String addMsg;
                   public void run()
                        errorText.append(addMsg);
                        current.setText("Currently Processing: "+ addMsg);
              class navigationError implements Runnable
                   public String navMsg;
                   public void run()
                        errorText.append(navMsg);
              *this method will update the currently
              *processing field on the GUI
              class CurrentlyProcessing implements Runnable
              public String msg;
              public void run()
                   current.setText("Currently Processing: " + msg );
    //webspider.java
    import java.util.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    import javax.swing.tree.*;
    import javax.swing.*;
    *this class implements the spider.
    public class WebSpider extends HTMLEditorKit
         *make a collection of the URL's
         protected Collection urlErrors = new ArrayList(3);
         protected Collection urlsWaiting = new ArrayList(3);
         protected Collection urlsProcessed = new ArrayList(3);
         //report URL's to this class
         protected gui report;
         *this flag will indicate whether the process
         *is to be cancelled
         protected boolean cancel = false;
         *The constructor
         *report the urls to the wui class
         public WebSpider(gui report)
         this.report = report;
         *get the urls from the above declared
         *collections
         public Collection getUrlErrors()
         return urlErrors;
         public Collection getUrlsWaiting()
         return urlsWaiting;
         public Collection getUrlsProcessed()
         return urlsProcessed;
         * Clear all of the collections.
         public void clear()
         getUrlErrors().clear();
         getUrlsWaiting().clear();
         getUrlsProcessed().clear();
         *Set a flag that will cause the begin
         *method to return before it is done.
         public void cancel()
         cancel = true;
         *add the entered url for porcessing
         public void addURL(URL url)
         if (getUrlsWaiting().contains(url))
              return;
         if (getUrlErrors().contains(url))
              return;
         if (getUrlsProcessed().contains(url))
              return;
         /*WRITE TO LOG FILE*/
         log("Adding to workload: " + url );
         getUrlsWaiting().add(url);
         *process a url
         public void processURL(URL url)
         try
              /*WRITE TO LOGFILE*/
              log("Processing: " + url );
              // get the URL's contents
              URLConnection connection = url.openConnection();
              if ((connection.getContentType()!=null) &&
         !connection.getContentType().toLowerCase().startsWith("text/"))
              getUrlsWaiting().remove(url);
              getUrlsProcessed().add(url);
              log("Not processing because content type is: " +
         connection.getContentType() );
                   return;
         // read the URL
         InputStream is = connection.getInputStream();
         Reader r = new InputStreamReader(is);
         // parse the URL
         HTMLEditorKit.Parser parse = new HTMLParse().getParser();
         parse.parse(r,new Parser(url),true);
    catch (IOException e)
         getUrlsWaiting().remove(url);
         getUrlErrors().add(url);
         log("Error: " + url );
         report.URLError(url);
         return;
    // mark URL as complete
    getUrlsWaiting().remove(url);
    getUrlsProcessed().add(url);
    log("Complete: " + url );
    *start the spider
    public void run()
    cancel = false;
    while (!getUrlsWaiting().isEmpty() && !cancel)
         Object list[] = getUrlsWaiting().toArray();
         for (int i=0;(i<list.length)&&!cancel;i++)
         processURL((URL)list);
    * A HTML parser callback used by this class to detect links
    protected class Parser extends HTMLEditorKit.ParserCallback
    protected URL urlInput;
    public Parser(URL urlInput)
    this.urlInput = urlInput;
    public void handleSimpleTag(HTML.Tag t,MutableAttributeSet a,int pos)
    String href = (String)a.getAttribute(HTML.Attribute.HREF);
    if((href==null) && (t==HTML.Tag.FRAME))
    href = (String)a.getAttribute(HTML.Attribute.SRC);
    if (href==null)
    return;
    int i = href.indexOf('#');
    if (i!=-1)
    href = href.substring(0,i);
    if (href.toLowerCase().startsWith("mailto:"))
    report.emailFound(href);
    return;
    handleLink(urlInput,href);
    public void handleStartTag(HTML.Tag t,MutableAttributeSet a,int pos)
    handleSimpleTag(t,a,pos); // handle the same way
    protected void handleLink(URL urlInput,String str)
    try
         URL url = new URL(urlInput,str);
    if (report.urlFound(urlInput,url))
    addURL(url);
    catch (MalformedURLException e)
    log("Found malformed URL: " + str);
    *log the information of the spider
    public void log(String entry)
    System.out.println( (new Date()) + ":" + entry );
    I have a seperate class for parseing the HTML. Any help would be greatly appreciated
    mrv

    Hi Sorry to be a pain again,
    I have re worked the gui class so it looks like this now:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class gui extends JFrame implements Runnable
         *declare variable, boolean
         *thread, a object and a center
         *pane
         protected URL urlInput;
         protected Thread bgThread;
         protected boolean run = false;
         protected WebSpider webSpider;
         public String msgInfo;
         public String brokenUrl;
         public String goodUrl;
         public String deadUrl;
         protected DefaultMutableTreeNode rootNode;
    protected DefaultTreeModel treeModel;
         public gui()
              *create the gui here
              setTitle("Testing Tool");
         setSize(600,600);
         //add Buttons to the tool bar
         start.setText("Start");
         start.setActionCommand("Start");
         toolBar.add(start);
         ButtonListener startListener = new ButtonListener();
              start.addActionListener(startListener);
              cancel.setText("Cancel");
         cancel.setActionCommand("Cancel");
         toolBar.add(cancel);
         ButtonListener cancelListener = new ButtonListener();
              cancel.addActionListener(cancelListener);
              close.setText("Close");
         close.setActionCommand("Close");
         toolBar.add(close);
         ButtonListener closeListener = new ButtonListener();
              close.addActionListener(closeListener);
              //creat a simple form
              urlLabel.setText("Enter URL:");
              urlLabel.setBounds(100,36,288,24);
              formTab.add(urlLabel);
              url.setBounds(170,36,288,24);
              formTab.add(url);
              current.setText("Currently Processing: ");
              current.setBounds(100,80,288,24);
              formTab.add(current);
         //add scroll bars to the error messages screen and website structure
         errorPane.setAutoscrolls(true);
         errorPane.setHorizontalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
         errorPane.setVerticalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
         errorPane.setOpaque(true);
         errorTab.add(errorPane);
         errorPane.setBounds(0,0,580,490);
         errorText.setEditable(false);
         errorPane.getViewport().add(errorText);
         errorText.setBounds(0,0,600,550);
         treePane.setAutoscrolls(true);
         treePane.setHorizontalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
         treePane.setVerticalScrollBarPolicy(javax.swing.
         ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
         treePane.setOpaque(true);
         treeTab.add(treePane);
         treePane.setBounds(0,0,580,490);
         treeText.setEditable(false);
         treePane.getViewport().add(treeText);
         treeText.setBounds(0,0,600,550);
         //JTree
         // NEW CODE
         rootNode = new DefaultMutableTreeNode("Root Node");
         treeModel = new DefaultTreeModel(rootNode);
         treeModel.addTreeModelListener(new MyTreeModelListener());
         tree = new JTree(treeModel);
         tree.setEditable(true);
         tree.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
    tree.setShowsRootHandles(true);
         treeText.add(tree);
         //create the tabbed window           
    centerPane.setBorder(new javax.swing.border.EtchedBorder());
    formTab.setLayout(null);
    errorTab.setLayout(null);
    treeTab.setLayout(null);
    centerPane.addTab("Search Parameters", formTab);
    centerPane.addTab("Error Messages", errorTab);
    centerPane.addTab("Website Structure", treeTab);
              //add the tool bar and tabbed pane
              getContentPane().add(toolBar, java.awt.BorderLayout.NORTH);
    getContentPane().add(centerPane, java.awt.BorderLayout.CENTER);     
              *create the tool bar pane, a center pane, add the buttons,
              *labels, tabs, a text field for user input here
              javax.swing.JPanel toolBar = new javax.swing.JPanel();
              javax.swing.JButton start = new javax.swing.JButton();
              javax.swing.JButton cancel = new javax.swing.JButton();
              javax.swing.JButton close = new javax.swing.JButton();      
              javax.swing.JTabbedPane centerPane = new javax.swing.JTabbedPane();
              javax.swing.JPanel formTab = new javax.swing.JPanel();
              javax.swing.JLabel urlLabel = new javax.swing.JLabel();
              javax.swing.JLabel current = new javax.swing.JLabel();
              javax.swing.JTextField url = new javax.swing.JTextField();
              javax.swing.JPanel errorTab = new javax.swing.JPanel();
              javax.swing.JTextArea errorText = new javax.swing.JTextArea();
              javax.swing.JScrollPane errorPane = new javax.swing.JScrollPane();
              javax.swing.JPanel treeTab = new javax.swing.JPanel();
              javax.swing.JTextArea treeText = new javax.swing.JTextArea();
              javax.swing.JScrollPane treePane = new javax.swing.JScrollPane();
              javax.swing.JTree tree = new javax.swing.JTree();
              *show the gui
              public static void main(String args[])
              (new gui()).setVisible(true);
         *listen for the button presses and set the
         *boolean flag depending on which button is pressed
         class ButtonListener implements ActionListener
              public void actionPerformed(ActionEvent event)
                   Object object = event.getSource();
                   if (object == start)
                        run = true;
                        startActionPerformed(event);
                   if (object == cancel)
                        run = false;
                        startActionPerformed(event);
                   if (object == close)
                        System.exit(0);
         *this method is called when the start or
         *cancel button is pressed.
         void startActionPerformed (ActionEvent event)
              if (run == true && bgThread == null)
                   bgThread = new Thread(this);
                   bgThread.start();
                   //new line of code
                   treeText.addObject(msgInfo);
              if (run == false && bgThread != null)
                   webSpider.cancel();
         *this mehtod will start the background thred.
         *the background thread is required so that the
         *GUI is still displayed
         public void run()
              try
                   webSpider = new WebSpider(this);
                   webSpider.clear();
                   urlInput = new URL(url.getText());
                   webSpider.addURL(urlInput);
                   webSpider.run();
                   bgThread = null;
              catch (MalformedURLException e)
                   addressError addErr = new addressError();
                   addErr.addMsg = "URL ERROR - PLEASE CHECK";
                   SwingUtilities.invokeLater(addErr);
              *this method is called by the web spider
              *once a url is found. Validation of navigation
              *happens here.
              public boolean urlFound(URL urlInput,URL url)
                   CurrentlyProcessing pro = new CurrentlyProcessing();
              pro.msg = url.toString();
              SwingUtilities.invokeLater(pro);
              if (!testLink(url))
                        navigationError navErr = new navigationError();
                        navErr.navMsg = "Broken Link "+url+" caused on "+urlInput+"\n";
                        brokenUrl = url.toString();
                        return false;
              if (!url.getHost().equalsIgnoreCase(urlInput.getHost()))
                   return false;
              else
                   return true;
              *this method is returned if there is no link
              *on a web page, e.g. there us a dead end
              public void urlNotFound(URL urlInput)
                        deadEnd dEnd = new deadEnd();
                        dEnd.dEMsg = "No links on "+urlInput+"\n";
                        deadUrl = urlInput.toString();               
              *this method is called internally to check
         *that a link works
              protected boolean testLink(URL url)
              try
                   URLConnection connection = url.openConnection();
                   connection.connect();
                   goodUrl = url.toString();
                   return true;
              catch (IOException e)
                   return false;
         *this method is called when an error is
         *found.
              public void urlError(URL url)
              *this method is called when an email
              *address is found
              public void emailFound(String email)
              /*this method will update any errors found inc
              *address errors and broken links
              class addressError implements Runnable
                   public String addMsg;
                   public void run()
                        current.setText("Currently Processing: "+ addMsg);
                        errorText.append(addMsg);
              class navigationError implements Runnable
                   public String navMsg;
                   public void run()
                        errorText.append(navMsg);
              class deadEnd implements Runnable
                   public String dEMsg;
                   public void run()
                        errorText.append(dEMsg);
              *this method will update the currently
              *processing field on the GUI
              public class CurrentlyProcessing implements Runnable
                   public String msg;
              //new line
              public String msgInfo = msg;
              public void run()
                   current.setText("Currently Processing: " + msg );
         * NEW CODE
         * NEED THIS CODE SOMEWHERE
         * treeText.addObject(msgInfo);
         public DefaultMutableTreeNode addObject(Object child)
         DefaultMutableTreeNode parentNode = null;
         TreePath parentPath = tree.getSelectionPath();
         if (parentPath == null)
         parentNode = rootNode;
         else
         parentNode = (DefaultMutableTreeNode)
    (parentPath.getLastPathComponent());
         return addObject(parentNode, child, true);
         public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent,
    Object child)
         return addObject(parent, child, false);
         public DefaultMutableTreeNode addObject(DefaultMutableTreeNode parent,
         Object child,boolean shouldBeVisible)
         DefaultMutableTreeNode childNode = new DefaultMutableTreeNode(child);
         if (parent == null)
         parent = rootNode;
         treeModel.insertNodeInto(childNode, parent, parent.getChildCount());
         if (shouldBeVisible)
         tree.scrollPathToVisible(new TreePath(childNode.getPath()));
              return childNode;
         public class MyTreeModelListener implements TreeModelListener
              public void treeNodesChanged (TreeModelEvent e)
                   DefaultMutableTreeNode node;
                   node = (DefaultMutableTreeNode)
                   (e.getTreePath().getLastPathComponent());
                   try
                        int index = e.getChildIndices()[0];
                        node = (DefaultMutableTreeNode)
                        (node.getChildAt(index));
                   catch (NullPointerException exc)
              public void treeNodesInserted(TreeModelEvent e)
              public void treeStructureChanged(TreeModelEvent e)
              public void treeNodesRemoved(TreeModelEvent e)
    I beleive that this line of code is required:
    treeText.addObject(msgInfo);
    I have placed it where the action events start the spider, but i keep getting this error:
    cannot resolve symbol
    symbol : method addObject (java.lang.String)
    location: class javax.swing.JTextArea
    treeText.addObject(msgInfo);
    Also the jtree is not showing the window that I want it to and I am not too sure why. could you have a look to see why? i think it needs a fresh pair of eyes.
    Many thanks
    MrV

  • Help with Download error in Creative Cloud Student and Teacher Edition

    I have been paying for the Creative Cloud Student and teacher editions of the Adobe suite. I have two laptops. The cloud application installed fine in both, but I could not download the apps into my preferred machine, receiving a "Download Error" for my pains. The other laptop, with its small memory size, was not suitable for the programs and has recently crashed and passed on! So now I'm still left with half of my year's commitment to go and have still not been able to benefit from the programs. i have tried every which way to get them on my main computer, taking advice from the net but to no avail. This is all I get:

    Hi Deian,
    Are you on a managed network. Please refer the knowledge base article: http://helpx.adobe.com/creative-cloud/help/cc-desktop-download-error.html.
    You may even try the direct download: http://prodesigntools.com/adobe-cc-direct-download-links.html.
    Kindly follow the very important instructions before download.
    Regards,
    Romit Sinha

Maybe you are looking for

  • Nokia 6300 - NEED HELP WITH SETTING UP MMS ON PHON...

    I recently bought a new Nokia 6300. Can anybody please help me on how to get mms function activated on my cell phone.

  • How to register a blackberry with the appropriat​e service provider ?

    Hello, I've just bought a Pearl 8100. I've inserted my SIM card and the phone is working ok. However I can not send or receive any email and can't access the net. When I bought it, I was told to contact my service provider (Orange - UK) to get the ph

  • Is it possible to convert LabView data into OLE variant?

    Hi. I'm using Activex Data Objects (ADO) to communicate with MySQL. Some ActiveX methods give OLE variant output, with "Variant Type" like "VT_ARRAY|VT_UI1", "VT_UI1" or "VT_BSTR". With some deduction and trial and error is relatively simple to extra

  • Connecting Motorola E815 to iSync

    I have just bought a E815 and was able to set it up to use my Macbook's Bluetooth capabilities (though Bluetooth Setup), however when I try to isync it, it tells me connection to the phone failed. Whyy!!! So I bought a motorola chord (AAKN4011A), aft

  • AEBS without a valid IP number

    I'm trying to set up an AEBSn connected to a Motorola cable model (Comcast) via the WAN port, and with a Mac Pro connected to one of the LAN ports on the AEBS. I have a MacBook and an older PowerBook G4 that I want to use wirelessly. When I try to se