Please help me with these errors...if you can...

Ok, I downloaded the Safari for windows. I start the browser and I get this message
"Safari can’t open the page “http://www.apple.com/startpage”. The error was: “unknown error” ((null):10061) Please choose Report Bugs to Apple from the Help menu, note the error number, and describe what you did before you saw this message."
Other browsers work perfectly.
The other error I have is with Itunes (I know this is not the place to post that, but if you have any idea, maybe you can help with that one too). Itunes runs fine, it tells me there is a new version of firmware for my ipod nano, when I hit update, it tells me the apple server cannot be found. My internet connection is working perfectly.
Any ideas?
Thank you in advance!
Bobby-

I have been facing these very same problems (“unknown error” ((null):10061) and the i-Tunes one) and I am surprised to see that even after two months of the first posting of these problems, no apple afficiando has condescended to post a cure for us lesser souls!
There were some other posts as well posting the same problems (“unknown error” ((null):10061) ) - and all they have been advised is to go back to IE! What a shame!
Any higher apple souls listening?

Similar Messages

  • Please Help me with the error P6

    I recently installed the Primavera P6 but when I started
    using it for the first time I get the following error
    message :
    C:\Program files\Primavera\Project
    Management\Languages\comCaptions.en-us
    <br
    />Please help me with this error ;
    Thanks

    Hi,
    This sounds like an issue
    that might best be handled by support. You can find
    information on contacting support here:<br
    /><br
    />http://www.primavera.com/customer/support.asp<br
    />
    Thanks,
    Sean

  • Please help me with this error: "Apple application support was not found... Error 2"

    Can anyone please help me with this error: "Apple application support was not found... Error 2"
    I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
    "Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
    Thank you

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    If it helps you please like this so others can find it.

  • Please help me with these java puzzle ?

    Dear all,
    My friend send me typical java puzzle about java.util.ArrayList
    which is getting messy. Please help me out. It's not a homework.
    Please help me with these java puzzle ?
    Dear all,
    My friend send me typical java puzzle about java.util.ArrayList
    which is getting messy. Please help me out. It's not a homework.
    import java.util.*;
    public class MyInt ______ ________ {
    public static void main(String[] args) {
    ArrayList<MyInt> list = new ArrayList<MyInt>();
    list.add(new MyInt(2));
    list.add(new MyInt(1));
    Collections.sort(list);
    System.out.println(list);
    private int i;
    public MyInt(int i) { this.i = i; }
    public String toString() { return Integer.toString(i); }
    ________ int ___________ {
    MyInt i2 = (MyInt)o;
    return ________;
    }Hints , fill the underlines with below :
    implements
    extends
    Sortable
    Object
    Comparable
    protected
    public
    i = i2.i
    i
    i2.i=i
    compare(MyInt o, MyInt i2)
    compare(Object o, Object i2)
    sort(Object o) sort(MyInt o)
    compareTo(MyInt o)
    compareTo(Object o)

    Dear all,
    My friend send me typical java puzzle aboutNotwithstanding your pathetic protestations typicial
    of all your posts this is NOT a typical java "puzzle"
    but is indeed a typical homework puzzle.
    And it's damn easy if you spent 30 minutes with a
    tutorial.
    DO YOUR OWN HOMEWORK!
    Hey i did it.
    import java.util.*;
    public class MyInt implements Comparable {
    public static void main(String[] args) {
    ArrayList<MyInt> list = new ArrayList<MyInt>();
    list.add(new MyInt(2));
    list.add(new MyInt(1));
    Collections.sort(list);
    System.out.println(list);
    private int i;
    public MyInt(int i) { this.i = i; }
    public String toString() { return Integer.toString(i); }
    public int compareTo(Object o){
    MyInt i2 = (MyInt)o;
    return i;
    }E:\>javac MyInt.java
    Note: MyInt.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    E:\>java MyInt
    [1, 2]

  • Please help me with this error I keep getting for attachments

    please help me with my error message as I can't download attachments

    Some information would be helpful...  operating system, email client, Reader version, error message, ...

  • Itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    http://support.apple.com/kb/ts3221

  • Please help me with an error 1418...

    OK I have iPod mini 4GB and I have the latest iTunes installed 7.02 or something I don't know anymore.
    Anyway a sad iPod icon displayed on my screen a few days ago and I managed to restart it and to put it in a disk mode and then iTunes finally recognized iPod and I clicked on Restore and then Restore and Updated and after a few seconds during the restore process it says:
    An iPod 'iPod' couldn't be resoterd. An unknown error occurred (1418).
    I am desperate and i don't know what to do.
    I read almost everything about this but nothing helped.
    Please help me with any kind of solution...

    I did a Support Search for that error number and this is what I got. I hope one of these links helps:
    http://docs.info.apple.com/article.html?artnum=304508
    http://docs.info.apple.com/article.html?artnum=304996

  • Please help me with the error ASAP

    I am trying to write an ABAP statement for the below requirement.
    Function has two import parameters. 1. key and 2. date.
                                Export parameter: export_rec like TAB.
    Req:  I need to select a record from a table where key = input parameter and input date lies between the from and to date fields in the table. (since table is time dependent).
    EXPORT_REC like TAB,
    I_T_TAB like TAB OCCURS 0 WITH HEADER LINE.
    SELECT  SINGLE * FROM I_T_TAB INTO EXPORT_REC WHERE KEY = IMPORT_ PARAMETER AND IMPORT_PARAM_DATE BETWEEN FROM_DATE AND TO_DATE.
    But, I am getting errors. It says the I_T_TAB is not defined in the Abap dictionary as table, view or projection.
    I defined it as an internal table. But, even then I am getting this error.
    Can anyone please help me out with this issue,
    Thanks,
    Regards,
    aarthi
    [email protected]

    Hi aarthi,
    SELECT can be used to fetch data only from database tables/views. in your case you used SELECT from an INTERNAL table,which is not allowed.
    SELECT  *
           FROM <DBTABLE NAME>
           INTO TABLE EXPORT_REC
           WHERE KEY = IMPORT_ PARAMETER AND   
           IMPORT_PARAM_DATE BETWEEN FROM_DATE AND TO_DATE.
    HERE Instead of <DBTABLE NAME>,you have to give your Database table,which stores these values.
    then your data will comes into EXPORT_REC.
    and remember to give EXPORT_REC in TABLES parameters of that FUNCTION MODULE and give associated Type for that.
    Regards
    Srikanth

  • Please help me understanding these error messages

    I'm trying to have two icons in two different JButtons, but I keep on getting these error messages that I don't understand:
    java.security.AccessControlException: access denied (java.io.FilePermission E:\baccelli\system\Projects\Maschere\Immagini\inglese.gif read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
    at sun.awt.SunToolkit.getImageFromHash(SunToolkit.java:266)
    at sun.awt.SunToolkit.getImage(SunToolkit.java:280)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:77)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:103)
    at Ingresso.initComponents(Ingresso.java:224)
    at Ingresso.<init>(Ingresso.java:41)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
    at sun.applet.AppletPanel.run(AppletPanel.java:293)
    at java.lang.Thread.run(Thread.java:484)
    What's wrong?
    Thanks,
    Giorgio

    If you need to change the java.security file just to get an image to appear then there's something wrong. This solution is not practical if you intend to distribute the Applet to other people.
    I would write an HTML page to display the applet and view it through a Java (2) enabled browser or use the AppletViewer application that comes with the JDK.
    Use something like the following to get the image from the same directory as your HTML page:
    Icon icon = new ImageIcon(new URL(getDocumentBase(), "inglese.gif"));Hope this helps.

  • Please help me with the error of Java related to UNIX

    Can you help me with my code?
    I wrote a Java program and ran it in gdb, the debugger said that :
    (gdb) run handhelditems 1 1000
    Starting program: /home/wqq/crawl/handhelditems/crawl_what_i_want handhelditems 1 1000
    [Thread debugging using libthread_db enabled]
    [New Thread -1208232256 (LWP 3796)]
    [New Thread -1210332272 (LWP 3799)]
    [New Thread -1220822128 (LWP 3800)]
    [New Thread -1231311984 (LWP 3801)]
    [New Thread -1243206768 (LWP 3802)]
    [New Thread -1253696624 (LWP 3803)]
    [New Thread -1264186480 (LWP 3804)]
    [New Thread -1274676336 (LWP 3805)]
    [New Thread -1285166192 (LWP 3806)]
    [New Thread -1295656048 (LWP 3807)]
    [New Thread -1306145904 (LWP 3808)]
    [New Thread -1316635760 (LWP 3809)]
    Program received signal SIGPWR, Power fail/restart.
    [Switching to Thread -1316635760 (LWP 3809)]
    0x00196402 in __kernel_vsyscall ()
    (gdb)
    the crawl_what_i_want.java is :
    public class crawl_what_i_want {
         public static void main(String[] args){
              if(args.length!=3){
                   System.out.println("Usage: java crawl_html [site name] [start at] [end at]");
              else
                   String v1 = args[0];
                   int v2 = Integer.parseInt(args[1]);
                   int v3 = Integer.parseInt(args[2]);
                   thread thread0 = new thread(v1,v2,v3,0);
                   thread thread1 = new thread(v1,v2,v3,1);
                   thread thread2 = new thread(v1,v2,v3,2);
                   thread thread3 = new thread(v1,v2,v3,3);
                   thread thread4 = new thread(v1,v2,v3,4);
                   thread thread5 = new thread(v1,v2,v3,5);
                   thread thread6 = new thread(v1,v2,v3,6);
                   thread thread7 = new thread(v1,v2,v3,7);
                   thread thread8 = new thread(v1,v2,v3,8);
                   thread thread9 = new thread(v1,v2,v3,9);
                   thread0.start();
                   thread1.start();
                   thread2.start();
                   thread3.start();
                   thread4.start();
                   thread5.start();
                   thread6.start();
                   thread7.start();
                   thread8.start();
                   thread9.start();
    the thread.java is :
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.net.*;
    public class thread extends Thread
         String site_n;
         int s_at;
         int e_at;
         int for_id;
         thread(String site_n,int s_at,int e_at,int for_id){
              this.site_n = site_n;
              this.s_at = s_at;
              this.e_at = e_at;
              this.for_id = for_id;
         public synchronized void run() {
              String site = site_n;
              int fornum = for_id;
              int start = s_at;
              int end = e_at;
              //String site_name = "http://www."+site+".com";
              ArrayList url_list = new ArrayList();
              ArrayList url_id_list = new ArrayList();
              try{
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   String getconn = "jdbc:mysql://localhost/url_set_"+site+"?user=xxxx&password=xxxx";
                   Connection conn = DriverManager.getConnection(getconn);
                   PreparedStatement stmt = conn.prepareStatement("");
                   ResultSet rs = null;
                   stmt = conn.prepareStatement("select url,url_id from urls where url_id>=? and url_id<=?");
                   stmt.setInt(1,start);
                   stmt.setInt(2,end);
                   rs = stmt.executeQuery();
                   while(rs.next())
                        url_id_list.add(rs.getString(2));
                        url_list.add(rs.getString(1));
                   if(rs!=null)
                        rs.close();
                   stmt.close();
                   conn.close();
              catch(Exception e){
                   e.printStackTrace();
              try{
                   InputStream in = null;
                   InputStreamReader rd = null;
                   BufferedReader br = null;
                   for(int i=fornum; i<url_list.size(); i=i+10){
                        String save_dir = "./" + String.valueOf(Integer.parseInt(url_id_list.get(i).toString())/10000) + "/" ;
                        try{
                             if(!(new File(save_dir).isDirectory()))
                                  new File(save_dir).mkdir();
                        catch(Exception exp){
                             exp.printStackTrace();
                        String html = "";
                        URL this_url = new URL(url_list.get(i).toString());
                    in = this_url.openConnection().getInputStream();
                    rd = new InputStreamReader(in);
                    br=new BufferedReader(rd);
                    String line = br.readLine();
                    int imgmark = 0 ;
                    while(line != null){
                        html += line + (char)13;
                        //  get image  //
                        if(line.indexOf("product image(s) bof")>0)
                             imgmark = 1;
                        if(line.indexOf("product image(s) eof")>0)
                             imgmark = 0;
                        if(imgmark == 1 && line.indexOf("img src")>=0)
                             int bofimg = line.indexOf("http://www.unix.com/images/");
                             int eofimg = line.indexOf("jpg\"")+3;
                             if(eofimg>bofimg){
                                   String imgURL = "http://www."+site+".com/" + line.substring(bofimg,eofimg);
                                   String imgdir = save_dir + url_id_list.get(i).toString() + ".jpg";
                                   getpic gp = new getpic();
                                   gp.crawlpic(imgURL,imgdir);
                        line = br.readLine();
                     br.close();
                     rd.close();
                     in.close();
                        if(html==null)
                             html = "";
                        if(html.length()>0){
                             String saveTo = save_dir+ url_id_list.get(i).toString() +".html";
                             try {
                                  new outPut(html, saveTo);
                             } catch (IOException e) {
                                  e.printStackTrace();
                             System.out.println((i+start) + ". Saved " + url_list.get(i) + " as " + (i+start) + ".html");
                        else
                             System.out.println((i+start) + ". failed at " + url_list.get(i));
                   if(br!=null)
                        br.close();
              }catch (Exception e){
                   e.printStackTrace();
    the outPut.java is :
    import java.io.*;
    public class outPut {
            public outPut(String content, String outPutFile)throws IOException{
                    FileWriter fl = null;
                    BufferedWriter bw = null;
                    try{
                            File f = new File(outPutFile);
                            if(!f.exists())
                                    f.createNewFile();
                            fl = new FileWriter(outPutFile);
                            bw = new BufferedWriter(fl);
                            bw.write(content);
                    finally{
                            if(bw!=null)
                                    bw.flush();
                            if(fl!=null)
                                    fl.flush();
                            if(bw!=null)
                                    bw.close();
                            if(fl!=null)
                                    fl.close();
    the getpic.java is
    import java.io.*;
    import java.net.*;
    public class getpic {
            public synchronized void crawlpic(String url, String savedir)throws Exception {
                InputStream in = null;
                InputStream inBuffer = null;
                OutputStream out = null;           
                try{
                    URL this_url = new URL(url);
                    in = this_url.openConnection().getInputStream();
                        inBuffer = new BufferedInputStream(in);
                        out = new FileOutputStream(savedir);
                        while(true){
                        int bytedata = inBuffer.read();
                        if(bytedata == -1)
                        break;
                        out.write(bytedata);
                finally{
                    if(out != null)
                            out.close();
                    if(inBuffer != null)
                            inBuffer.close();
                    if(in != null)
                            in.close();
    }above are all my code .
    On the other hand, the codes can be run at JDB, but it will lose some thread after run for some minute or seconds.

    Hi aarthi,
    SELECT can be used to fetch data only from database tables/views. in your case you used SELECT from an INTERNAL table,which is not allowed.
    SELECT  *
           FROM <DBTABLE NAME>
           INTO TABLE EXPORT_REC
           WHERE KEY = IMPORT_ PARAMETER AND   
           IMPORT_PARAM_DATE BETWEEN FROM_DATE AND TO_DATE.
    HERE Instead of <DBTABLE NAME>,you have to give your Database table,which stores these values.
    then your data will comes into EXPORT_REC.
    and remember to give EXPORT_REC in TABLES parameters of that FUNCTION MODULE and give associated Type for that.
    Regards
    Srikanth

  • Please Help Me with this error

    It only works if the button is presses once. if you try to add other data to be shown under the first data that you inputted. the program crash and gives and error  
    This is my code for the Class:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace WpfApplication3
        class Person
            private Queue<string> Name = new Queue<string>();
            private Queue<string> Surname = new Queue<string>();
            private Queue<string> Course = new Queue<string>();
            private Queue<int> CRNumber = new Queue<int>();
            public string name
                get
                    return Name.Peek();
                set
                    Name.Enqueue(value);
            public string surname
                get
                    return Surname.Peek();
                set
                    Surname.Enqueue(value);
            public string course
                get
                    return Course.Peek();
                set
                    Course.Enqueue(value);
            public int crnumber
                get
                    return CRNumber.Peek();
                set
                    CRNumber.Enqueue(value);
            public void Constructor()
                Name.Enqueue("default");
                Surname.Enqueue("default");
                Course.Enqueue("default");
                CRNumber.Enqueue(0);
            public void Constructor(string name, string surname, string course, int crnumber)
                Name.Enqueue(name);
                Surname.Enqueue(surname);
                Course.Enqueue(course);
                CRNumber.Enqueue(crnumber);
            public String View(int Count)
                int i = 0;
                string Output = "";
                while (i <= Count)
                    Output += "Student Info : " + "\n" + "Name : " + Name.Dequeue() + "\n" + "Surname : " + Surname.Dequeue() + "\n"
    + "Course : " + Course.Dequeue() + "\n" + "Class room number : " + Convert.ToString(CRNumber.Dequeue()) + "\n";
                    i++;
                return Output;
    And this is my MainWindow code where i try to call the class:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    namespace WpfApplication3
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
            public MainWindow()
                InitializeComponent();
            int Count = 0;
            private void AddButton_Click(object sender, RoutedEventArgs e)
                Person Student = new Person();
                Student.Constructor(txtBox1.Text, txtBox2.Text, txtBox3.Text, Convert.ToInt32(txtBox4.Text));
                TextBlock1.Text = Student.View(Count);
                //TextBlock.Text = Student.View(Count);
                Count++;
    Please Help as soon as possible.

    Hi Joubert,
    The problem is clear. In this piece of code:
    while (i <= Count)
    Output += "Student Info : " + "\n" + "Name : " + Name.Dequeue() + "\n" + "Surname : " + Surname.Dequeue() + "\n" + "Course : " + Course.Dequeue() + "\n" + "Class room number : " + Convert.ToString(CRNumber.Dequeue()) + "\n";
    i++;
    You are calling the Dequeue() operation from the queues. Dequeue() will remove the next element and return it.
    When you click the button the second time, the while loop will be carried out two times. The second time, it tries to dequeue but there is nothing in the queue. That is why you get the exception.
    Also, your code looks very messy to me. I do not think the queues are appropriate collections for what you are trying to do. There are a couple of things wrong here.
    If you provide some info on what your goals is, I could give you some pointers on what to fix.
    Rgds MM
    PS: Pls mark as answer if helpful. Thanks!

  • Please help me with AS error

    I am using a class called DrawingUtilities.as and the file is
    placed at the same root level as my .fla file, but I get an error
    when testing the movie. The error is:
    **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 20: The
    class or interface 'actionscriptbible.drawing.DrawingUtilities'
    could not be loaded.
    var duDrawer
    rawingUtilities = new DrawingUtilities(mButton);
    Total ActionScript Errors: 1 Reported Errors: 1
    why can't it find the damn class!?
    here is the entire AS code I am using if that helps...
    import actionscriptbible.drawing.DrawingUtilities;
    var mLoginButton:MovieClip;
    var mSaveButton:MovieClip;
    makeLoginScreen();
    //the drawButton() function makes a new MovieClip object with
    a nested
    //label TextField object.
    function drawButton(mParent:MovieClip, sLabel:String,
    nWidth:Number, nHeight:Number):MovieClip {
    //Make a movieclip object nested in the parent object. Use a
    unique
    // instance name and depth.
    var nDepth:Number = mParent.getNextHighestDepth();
    var mButton:MovieClip =
    mParent.createEmptyMovieClip("mButton" + nDepth, nDepth);
    //Draw a rectangle in the MovieClip object
    var duDrawer
    rawingUtilities = new DrawingUtilities(mButton);
    duDrawer.beginFill(0xFFFFCC, 100);
    duDrawer.drawRectangle(nWidth, nHeight, nWidth/2, nHeight/2);
    duDrawer.endFill();
    // Add a TextField object to the MovieClip. Apply the label.
    var tLabel:TextField = mButton.createTextField("tLabel",
    mButton.getNextHighestDepth(),0,0, nWidth, nHeight);
    tLabel.Selectable = false;
    tLabel.text = sLabel;
    return mButton;
    function makeLoginScreen():Void {
    //Create the TextField and MovieClip Objects.
    this.createTextField("tUsername", this.getNextHighestDepth(),
    100, 100, 200, 20);
    this.createTextField("tPassword", this.getNextHighestDepth(),
    100, 140, 200, 20);
    this.createTextField("tMessage", this.getNextHighestDepth(),
    100, 60, 200, 20);
    mLoginButton = drawButton(this, "Login", 100, 25);
    //Set the properties of the TextField Objects.
    tUsername.border = true;
    tPassword.border = true;
    tUserName.type = "input";
    tPassword.type = "input";
    tPassword.password = true;
    tMessage.textColor = 0xFF0000;
    //Place the button
    mLoginButton._x = 100;
    mLoginButton._y = 180;
    mLoginButton.onRelease = function():Void {
    //Check to see if the user has entered the correct username
    //and password. If so, call the login() function.
    //otherwise, display
    //a message to the user and clear the values from the login
    //TextField objects.
    if(tUserName.text =="admin" && tPassword.text
    =="admin") {
    login();
    else {
    tMessage.text = "Try again.";
    tUsername.text = "";
    tPassword.text = "";
    function login(): Void {
    //Remove the TextField and MovieClip objects that made up
    the
    //login screen.
    tUsername.removeTextField();
    tPassword.removeTextField();
    mLoginButton.removeMovieClip();
    //Create the TextField and MovieClip for the notes screen.
    this.createTextField("tNotes", this.getNextHighestDepth(),
    100, 100, 350, 200);
    mSaveButton = drawButton(this, "Save", 100, 25);
    //Set the properties of the TextField Object.
    tNotes.border = true;
    tNotes.type = "input";
    //Place the button
    mSaveButton._x = 100;
    mSaveButton._y = 320;
    //Open a local shared object.
    var lsoNotes:SharedObject = SharedObject.getLocal("notes");
    // Assign the stored text, if any.
    tNotes.text = (lsoNotes.data.notes == undefined) ? "" :
    lsoNotes.data.notes;
    //When the user clicks and releases the button store the
    current
    //current notes. in the shared object
    mSaveButton.onRelease = function():Void {
    lsoNotes.data.notes = tNotes.text;
    lsoNotes.flush();

    thanks,
    I can get my form to dispay now, but the first input isn't
    alowing any text input
    here is tha code
    import DrawingUtilities;
    var mLoginButton:MovieClip;
    var mSaveButton:MovieClip;
    makeLoginScreen();
    //the drawButton() function makes a new MovieClip object with
    a nested
    //label TextField object.
    function drawButton(mParent:MovieClip, sLabel:String,
    nWidth:Number, nHeight:Number):MovieClip {
    //Make a movieclip object nested in the parent object. Use a
    unique
    // instance name and depth.
    var nDepth:Number = mParent.getNextHighestDepth();
    var mButton:MovieClip =
    mParent.createEmptyMovieClip("mButton" + nDepth, nDepth);
    //Draw a rectangle in the MovieClip object
    var duDrawer
    rawingUtilities = new DrawingUtilities(mButton);
    duDrawer.beginFill(0xFFFFCC, 100);
    duDrawer.drawRectangle(nWidth, nHeight, nWidth/2, nHeight/2);
    duDrawer.endFill();
    // Add a TextField object to the MovieClip. Apply the label.
    var tLabel:TextField = mButton.createTextField("tLabel",
    mButton.getNextHighestDepth(),0,0, nWidth, nHeight);
    tLabel.Selectable = false;
    tLabel.text = sLabel;
    return mButton;
    function makeLoginScreen():Void {
    //Create the TextField and MovieClip Objects.
    this.createTextField("tUsername", this.getNextHighestDepth(),
    100, 100, 200, 20);
    this.createTextField("tPassword", this.getNextHighestDepth(),
    100, 140, 200, 20);
    this.createTextField("tMessage", this.getNextHighestDepth(),
    100, 60, 200, 20);
    mLoginButton = drawButton(this, "Login", 100, 25);
    //Set the properties of the TextField Objects.
    tUsername.border = true;
    tPassword.border = true;
    tUserName.type = "input";
    tPassword.type = "input";
    tPassword.password = true;
    tMessage.textColor = 0xFF0000;
    //Place the button
    mLoginButton._x = 100;
    mLoginButton._y = 180;
    mLoginButton.onRelease = function():Void {
    //Check to see if the user has entered the correct username
    //and password. If so, call the login() function.
    //otherwise, display
    //a message to the user and clear the values from the login
    //TextField objects.
    if(tUserName.text =="admin" && tPassword.text
    =="admin") {
    login();
    else {
    tMessage.text = "Try again.";
    tUsername.text = "";
    tPassword.text = "";
    function login(): Void {
    //Remove the TextField and MovieClip objects that made up
    the
    //login screen.
    tUsername.removeTextField();
    tPassword.removeTextField();
    mLoginButton.removeMovieClip();
    //Create the TextField and MovieClip for the notes screen.
    this.createTextField("tNotes", this.getNextHighestDepth(),
    100, 100, 350, 200);
    mSaveButton = drawButton(this, "Save", 100, 25);
    //Set the properties of the TextField Object.
    tNotes.border = true;
    tNotes.type = "input";
    //Place the button
    mSaveButton._x = 100;
    mSaveButton._y = 320;
    //Open a local shared object.
    var lsoNotes:SharedObject = SharedObject.getLocal("notes");
    // Assign the stored text, if any.
    tNotes.text = (lsoNotes.data.notes == undefined) ? "" :
    lsoNotes.data.notes;
    //When the user clicks and releases the button store the
    current
    //current notes. in the shared object
    mSaveButton.onRelease = function():Void {
    lsoNotes.data.notes = tNotes.text;
    lsoNotes.flush();

  • Please help me with this error in this code snippet!

    Code Snippet:
    REPORT  ZMKTEST6.
    data : f1(2) type c,
           f2(2) type c,
           f3(10) type n value '12345'.
      clear: f1 with 'X',
             f2 with f1,
             f3 with '3'.
    write :/ f1 ,f2, f3.
    Process Error:
    The field "F1" must have the length 1.

    hi ,
    ther is not syntax with clear with 'X".
    but you can do one thing to get the one character.
    REPORT ZMKTEST6.
    data : f1(2) type c,
    f2(2) type c,
    f3(10) type n value '12345'.
    clear: f1 with 'X',  "Comment this
    f1 = f1+0(1).        "write this
    f2 with f1,
    f3 with '3'.
    write :/ f1 ,f2, f3.
    now f1 containd one charater instead of 2.
    now you can display as usuall

  • PLEASE help me with this error java.sql.SQLException

    The code
    public void getInitialQuery() {         try {             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");             con = DriverManager.getConnection("jdbc:odbc:PDefApp1");             sta = con.createStatement();             System.out.println(SQLQuery);             res = setupSQLConnection(SQLQuery);             getRecordSet(res);
    private void getRecordSet(ResultSet r) {                try {             jTextRecordNumberField.setText(String.valueOf(r.getInt("id")));             jTextFirstNameField.setText(r.getString(2));             jTextMiddleNameField.setText(r.getString(3));             jTextLastNameField.setText(r.getString(4));             jTextDateOfBirthField.setText(r.getString(5));             jTextAKAField.setText(r.getString(6));             jComboBoxChargingDocument.setSelectedItem(r.getString(7));             jTextAreaChargingNumber.setText(r.getString(8));             jComboBoxDecision.setSelectedItem(r.getString(9));             jComboBoxDefendentStatus.setSelectedItem(r.getString(10));             jComboBoxOriginatingUnit.setSelectedItem(r.getString(11));             jTextFieldApplicationDate.setText(r.getString(12));             jTextFieldDecisionDate.setText(r.getString(13));             jTextFieldDeliveryDate.setText(r.getString(14));             jTextAreaComments.setText(r.getString(15));         } catch (Exception e) {             System.err.println("getRecordSet Exception: " + e.getMessage());             e.printStackTrace();         }             }
    The crash occurs in getRecordSet(ResultSet r) method and it occurs on ANY line. I've commented each line to see where it occurs.
    The crash says the following
    run: SELECT * FROM Table1 ORDER BY id ASC setupSQLQuery: SELECT * FROM Table1 ORDER BY id ASC getRecordSet Exception: [Microsoft][ODBC Driver Manager] Invalid cursor state java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)         at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3907)         at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultSet.java:5698)         at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:354)         at publicdesktopapplication.PublicDesktopView.getRecordSet(PublicDesktopView.java:1411)         at publicdesktopapplication.PublicDesktopView.getInitialQuery(PublicDesktopView.java:1377)         at publicdesktopapplication.PublicDesktopView.<init>(PublicDefenderView.java:89)         at publicdesktopapplication.PublicDesktopApplication.startup(PublicDesktopApplication.java:19)         at org.jdesktop.application.Application$1.run(Application.java:171)         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    I am very confused why this is crashing on me. It didnt crash in the older version of this application.
    Please help!

    Don't do this either
    SELECT * FROM Table1 Explictly name the columns in the order that you are going to fetch them. This makes your code easier to follow later and as side benefit prevents any changes in the column ordering from blowing your code to smitheens.
    And I do hope your table is not in fact called Table1.

  • Can somebody help me with these errors??

    Can somebody help me get rid of these errors as it is driving me mad trying to solve it lol:
    package site;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class myBean extends HttpServlet {
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
          throws ServletException, IOException {
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
         Connection conn = null;
          String Category;
         String Price;
         try{
             Class.forName("com.mysql.jdbc.Driver").newInstance();
         } catch(Exception e) {
             System.out.println(e);
         try{
             conn = DriverManager.getConnection
            ("jdbc:myaddress goes in here ");
           catch(SQLException se) {
             System.out.println(se);
         try{
              // Get the infor from REGISTER html from the input form
                 Category = request.getParameter("Category");
               Price = request.getParameter("MaxPrice");
    String selectSQL = "Select recording_id,artist_name, title" +  /////////////////put rest in later!!!!!!!!!!
                        "from music_recordings" + "where category = " + Category +" and Price <= " + price +";";
             Statement stmt0 = conn.createStatement();
             ResultSet rs0 = stmt0.executeQuery(selectSQL);
              List<VidBean> videos = new ArrayList<VidBean>();
    while(rs0.next()) {
        VidBean video = new VidBean();
        video.setRecId(rs0.getInd("recording_id"));
        video.setArtist(rs0.getString("artist_name"));
        video.setCategory(rs0.getString("category"));
        // ... will put the rest in here and in dql statment
    // Close the stament and database connection
             stmt.close(); }
    conn.close();
         } catch(SQLException se) {
             System.out.println(se);
    }The errors are:
    site/myBean.java:69: '(' or '[' expected
                    List<VidBean> videos = new ArrayList<VidBean>(); /// can i put t
    his as a array whats <> for??
                                                        ^
    site/myBean.java:56: 'try' without 'catch' or 'finally'
            try{
            ^
    site/myBean.java:89: illegal start of type
            } catch(SQLException se) {
              ^
    site/myBean.java:92: <identifier> expected
    ^
    site/myBean.java:97: 'class' or 'interface' expected
    ^
    site/myBean.java:98: 'class' or 'interface' expected
    ^
    6 errors

    package site;
    import java.io.*;
    import java.util.*; // added this line
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    public class myBean extends HttpServlet {
        public void doGet(HttpServletRequest request,
        HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html");
            PrintWriter out = response.getWriter();
            Connection conn = null;
            String Category;
            String Price;
            try{
                Class.forName("com.mysql.jdbc.Driver").newInstance();
            } catch(Exception e) {
                System.out.println(e);
            try{
                conn = DriverManager.getConnection
                ("my address goes here");
            catch(SQLException se) {
                System.out.println(se);
            try{
                Category = request.getParameter("Category");
                Price = request.getParameter("MaxPrice");
                String selectSQL = "Select recording_id,artist_name, title" +  /////////////////put rest in later!!!!!!!!!!
                "from music_recordings" + "where category = " + Category +" and Price <= " + Price +";";
                Statement stmt0 = conn.createStatement();
                ResultSet rs0 = stmt0.executeQuery(selectSQL);
                List<VidBean> videos = new ArrayList<VidBean>(); // look at finding another method instead of generic
                while(rs0.next()) {
                    VidBean video = new VidBean();
                    video.setRecId(rs0.getInd("recording_id"));
                    video.setArtist(rs0.getString("artist_name"));
                    video.setCategory(rs0.getString("category"));
                    // ... will put the rest in here and in dql statment
            } catch(SQLException se) {
                System.out.println(se);
            stmt.close();
            conn.close();
    }I tried javac -version but it just said it was an invalid option and give me the list of the possible options i could pick. using java -version it says:
    java version "1.5.0_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

Maybe you are looking for

  • How to customize the applet's status bar in Oracle Forms 9i

    I extended the statusBar class to include our own message in the applet's status bar. Using JDeveloper I compiled the class and jared the class file. Eventhough I placed that jar file in the classpath, it is not shown in the "import java classes" dia

  • Look for thesis (diploma) in NetWeaver

    Ladies and Gentlemen, I am new here, on this interesting homepage I would like to write my request, I study computerscience in the last study term, I am on look for extensive exciting task within the range a SAP NetWeaver as practical course place, a

  • My new iphone5 keeps texting me with the texts i send to my wifes iPhone 4

    i have just got an iphone 5 and my wife has my iphone 4 - we seem to be connected via texts i am sending to her and anyone else on iphones via imessage - our applie ids are different - how do i stop this?

  • CS6 Service Manager Error 0xc000007b

    Have had the problem  0xc000007b caused by ilivid with LR4, easily fixed something I have to do each time there is a software update. My most recent software update of Photoshop is causing a new error message. CS6ServiceManager.exe - Application Erro

  • Error starting embedded OC4J

    I created a simple (one JSP page) web application inside JDeveloper 10.1.3 and tried to run it inside the embedded OC4J server. I get the following error. Anyone know how to resolve? 06/08/16 18:00:51 java.lang.NoSuchFieldError: oracle.oc4j.admin.man