Migrating: Collo being difficult :( need some simple vlan/routing answers)

Hello,
I just purchased 2xc2950's, and a 515E.
One 2950 is for outside, one inside, with the 515E protecting the inside.
We have been renting these devices from our collocation, and the lease is up. So we've decided to manager our own, BUT, now they're being difficult with giving me ANY kind of information, (like configs, etc).
What I do know, is that the outside switch has at least 4 vlans.
With the 515E having settings such as:
nat from xxx.xxx.43.xxx to {inside}
nat from xxx.xxx.42.xxx to {inside}
What I would like to know, is what would be the best way to "migrate" everything over.
1. We have a redundant internet feed, is this possible with vlans?
2. What is it called, where all the vlans route traffic to the single port (firewall)? interVLAN?
3. Is it possible to link our 2950 internal to their internal? and slowly move the connections over?
4. would I need their routing tables to set things up properly?
Any help would be appreciated!
ps. anyone from the toronto area who's a cisco export that I can pick their brain for a day $$$ of course, let me know.

yes, it is possible to have a redundant internet feed, and it is possible with vlans. All the vlans route traffic to the single port (firewall)? interVLAN and this intervaln routing is same as normal one. Is it possible to link your 2950 internal to their internal but different network IP and VLANS may be assigned.

Similar Messages

  • I need some help adding music to my slideshow in iPhoto.  When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

  • I need some simple examples to start with for Oracle ESB

    Hi All,
    Please share some simple examples to startwith for Oracle ESB.
    I need to understand, what are the files are created, once created an ESB project.
    What is the use of the files how to edit them with out using JDeveloper.
    Iam trying to create a simple example.
    I would like to create a file which has only "HELLO" in that file, simple text file inside a folder "INPUT" in my c:\ drive.
    I wanted to create a ESB service which picks up the file and add a string to it like "HELLO" + "ESB" and drop this file into "OUTPUT" folder in c:\ drive.
    How do i do that. I tried to do it when i deploy the integration server connection is gettting hit badly. I dont see that connection any more and i dont see that connection in my JDeveloper.
    I dont want to start with existing code.
    Please help
    Regards,
    Vijay.B
    Message was edited by:
    Vijay.B
    Message was edited by:
    Vijay.B

    Hi,
    If you want to do it from scratch you can basically do the following:
    Make sure you have created an application server and integration server connection in JDeveloper.
    1) Create a new JDeveloper project of type ESB project.
    2) Possibly add a ESB System/Group (open the esb file and click "Create System/Group") to group ESB projects.
    3) Create an XML schema describing your input XML file. Probably one element of type xsd:string.
    4) Create an example XML file which is well-formed and valid according to the XSD from step 3.
    5) Create a new File adapter (inbound/read). A routing service is automatically created.
    6) Create a new File adapter (outbound/write).
    7) Create a routing rule in the routing service in which you invoke the write method of the outbound file adapter. Possibly add a transformation using the XSL mapper.
    8) Deploy the ESB project to the server.
    9) Drop your XML file (from step 4) in the directory in which the inbound file adapter is polling.
    10) If it is ok, the file should be picked up, transformed and dropped in the outbound directory. A new ESB instance should be visible in the ESB console.
    See what files are generated on the filesystem in each of the above steps.
    Regards, Ronald

  • How do you access your .mac email from a PC? We migrated to icloud and need some guidance. Thanks.

    We migrated our .mac email to icloud and need some help in accessing our email from a PC.  Many thanks!

    iCloud account not necessarily needs to be an Apple ID. Make sure, if you have both, to you enter the correct one.

  • Newbie needs some simple help on triggers

    Hi there. I need to create a trigger and am very new to this language and would love some help.
    I have tables STUDENT, BOOKS, BORROWING.
    When a student borrows a book, a composite entry is created in the BORROWING table. In the Books table, their is an attribute 'Borrowed' with a Y or N.
    When a new record with the same Title as a book is created in borrowing, the value of 'borrowed' needs to be set to Y. So far I have the following, but forgot that I need to insert a WHERE clause so that it doesnt update every book, but only the book that causes the trigger.
    I am having trouble with this- how would i go about doing this? Any help appreacited...
    CREATE OR REPLACE TRIGGER book_returned_trigger
    AFTER DELETE ON borrowing
    FOR EACH ROW
    BEGIN
    UPDATE books
    SET
    borrowed= 'N';
    END;

    Hi guys. Am really having some trouble now. Funny thing is I had it working!
    I have the following tables:
    >
    CREATE TABLE STUDENT
         studentID VARCHAR2(8) NOT NULL,
         firstname VARCHAR2(20) NOT NULL,
         lastname VARCHAR2(20) NOT NULL,
         gender VARCHAR2(10),
         dob DATE,
         address VARCHAR2(20),
         suburb VARCHAR2(20),
         phone VARCHAR2(8),
         PRIMARY KEY(studentID)
    CREATE TABLE BOOKS
         title VARCHAR2(20) NOT NULL,
         publisher VARCHAR2(20),
         year DATE,
         borrowed CHAR(1) CHECK (borrowed IN ('Y','N')),
         PRIMARY KEY(title)
    CREATE TABLE BORROWING
         studentID VARCHAR2(8) NOT NULL,
         title VARCHAR2(20) NOT NULL,
         PRIMARY KEY(studentID,title),
         FOREIGN KEY(studentID) REFERENCES student(studentID),
         FOREIGN KEY(title) REFERENCES books(title)
    >
    My Triggers look like this:
    >
    CREATE OR REPLACE TRIGGER book_borrowed_trigger
    AFTER INSERT ON borrowing
    FOR EACH ROW
    BEGIN
    UPDATE books
    SET
    borrowed= 'Y' WHERE title = :OLD.title;
    END;
    CREATE OR REPLACE TRIGGER book_returned_trigger
    AFTER DELETE ON borrowing
    FOR EACH ROW
    BEGIN
    UPDATE books
    SET
    borrowed= 'N' WHERE title = :OLD.title;
    END;
    >
    and some sample date:
    >
    INSERT INTO student (studentID, firstname,
    lastname, gender, dob, address, suburb, phone)
    VALUES ('34025492','Sally','Field','Female',
    '26/FEB/1970','123 Latrobe Pde','Dromana','59812553');
    INSERT INTO student (studentID, firstname,
    lastname, gender, dob, address, suburb, phone)
    VALUES ('98503345','Ray','Blackburn','Female',
    '9/NOV/1954','52 Murawa Dve','Sorrento','59812433');
    INSERT INTO books (title, publisher, year, borrowed)
    VALUES ('Harry Potter','Roundhouse','1998','N');
    INSERT INTO books (title, publisher, year, borrowed)
    VALUES ('Twilight','Jones Books','2000','N');
    INSERT INTO borrowing (studentID, title)
    VALUES ('20737785','Harry Potter');
    >
    Now I cant get this trigger to change the value of the 'borrowed' column in 'BOOKS' to Y when I create a new record in the BORROWING table that references one of the Books.
    Any idea why? I cant see why! Thanks for the help so far guys
    Edited by: lockmac on Apr 1, 2009 12:40 AM

  • Calculator 's functions. Difficult. need some help.

    I did do for my own calculator,but i got problem with animation and sound for the calculator. Like :
    Pressing a wrong combination of keys may generate a warning sound. Moreover an animated icon
    should be used to indicate when:
    + the calculator is idle and free to be used
    + the calculator is busy ( being used )
    This is my own program, anybody can show me how to add the warning sound and animation icon according above requirement ???? Or any online tutorial about this one. This program is working on the right way, but i don't know how to add some more feature like animation icon, and warning sound.Pleaseeeeeeeeeeeee help me, it is urgent.
    import java.awt.event.*;
    import java.awt.*;
    public class Calculator extends Frame implements ActionListener
    TextField name;
    Label aHeader;
    Button b[];
    String expression;
    // Calculator Constructor
    // This operator constructor ( as with all constructors ) is executed when the new object
    // is created. In this case we create all the buttons ( and the panels that contain them )
    // then reset the calculator
    public Calculator()
    super("DUY 'S CALCULATOR");     
    setLayout(new BorderLayout());     
    Panel p1 = new Panel();
    p1.setBackground(new Color(18,70,1));
    p1.setLayout(new FlowLayout());
    aHeader = new Label("DUY'S CALCULATOR");
    aHeader.setFont(new Font("Times New Roman",Font.BOLD,24));
    aHeader.setForeground(new Color(255,0,0));
    p1.add(aHeader);
    // Question: what does 'North' mean here ?
    // The applet places a GridLayout on the 'North' side
    add("North",p1);
    Panel p2 = new Panel();
    p2.setBackground(new Color(27,183,100));
    p2.setLayout(new GridLayout(0,1));
    // When you create p2 GridLayout you specify 'new GridLayout(0,1) 'which means create a new GridLayout with 1 column .( no row)
    name = new TextField(20); // Var for Text field max of 20 characters
    p2.add(name);
    add("Center",p2);
    Panel p3 = new Panel();
    p3.setLayout(new GridLayout(0,6));
    // When you create p3 GridLayout you specify 'new GridLayout(0,1) 'which means create a new GridLayout with 6 columns .( no row)
    b = new Button[25];
    b[0] = new Button("MC");     // Create Button MC
    b[0].addActionListener(this);
    b[1] = new Button("7");     // Create Button Seven
    b[1].addActionListener(this);
    b[2] = new Button("8");     // Create Button Eight
    b[2].addActionListener(this);
    b[3] = new Button("9");     // Create Button Nine
    b[3].addActionListener(this);
    b[4] = new Button("/");     // Create Button Div
    b[4].addActionListener(this);
    b[5] = new Button("sqrt");     // Create Button SQRT
    b[5].addActionListener(this);
    b[6] = new Button("CE");     // Create Button CE
    b[6].addActionListener(this);
    b[7] = new Button("4");     // Create Button Four
    b[7].addActionListener(this);
    b[8] = new Button("5");     // Create Button Five     
    b[8].addActionListener(this);
    b[9] = new Button("6");     // Create Button Six
    b[9].addActionListener(this);
    b[10] = new Button("*");     // Create Button Multi
    b[10].addActionListener(this);
    b[11] = new Button("%");     // Create Button Percent
    b[11].addActionListener(this);
    b[12] = new Button("MS");     // Create Button MS
    b[12].addActionListener(this);
    b[13] = new Button("1");     // Create Button One
    b[13].addActionListener(this);
    b[14] = new Button("2");     // Create Button Two
    b[14].addActionListener(this);
    b[15] = new Button("3");     // Create Button Three
    b[15].addActionListener(this);
    b[16] = new Button("-");     // Create Button Minus
    b[16].addActionListener(this);
    b[17] = new Button("1/x");     // Create Button Calculates the multiplicative inverse
    b[17].addActionListener(this);
    b[18] = new Button("M+");     // Create Button M+
    b[18].addActionListener(this);
    b[19] = new Button("0");     // Create Button Zero     
    b[19].addActionListener(this);
    b[20] = new Button("+/-");     // Create Button +/-
    b[20].addActionListener(this);
    b[21] = new Button(".");     // Create Button point
    b[21].addActionListener(this);
    b[22] = new Button("+");     // Create Button Plus
    b[22].addActionListener(this);
    b[23] = new Button("=");     // Create Button Equal     
    b[23].addActionListener(this);
    b[24] =new Button("exit");     // Create Button Exit
    b[24].addActionListener(this);
    // clearAll sets the attributes of the Calculator object to initial values ( this is
    // the operation that is called when the user click on the "CE" button.
    for(int i=0;i<=24;i++)
    {      p3.add(b[i]);
    add("South",p3);
    // Question : what does 'South' mean here ? The applet places a GridLayout on the
    // 'South' side
    super.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e)
    {System.exit(0);}});
    // Window Closing
    // This operation is called in response to a window closing event. It should simply
    // exit the program
    setLocation(200,100);
    pack();
    setVisible(true);
    // End of constructor
    //* actionPerformed:: This operation is call whenever the user click a button .All
    // this operation does is pass on the text on the button to ' evt '
    public void actionPerformed(ActionEvent evt)
    String command = evt.getActionCommand();
    StringBuffer tmp, first, second;
    int value, size, k;
    char ch, op = ' ';
    first = new StringBuffer();
    second = new StringBuffer();
    //* processButton:This operation takes action according to the user's input. It is called
    // from two other operation :actionPerformed ( when user click a button ) andkeypressed
    // ( when user press a key on the keyboard ). This operation examines the text on the button
    // by ( the parameter 'command') and calls the appropriate operation to process it
    if ("CE".equals(command))
    name.setText("");
    else if("7".equals(command))
    expression = name.getText();
    name.setText(expression+"7");
    else if ("8".equals(command))
    expression = name.getText();
    name.setText(expression+"8");
    else if ("9".equals(command))
    expression = name.getText();
    name.setText(expression+"9");
    else if("4".equals(command))
    expression = name.getText();
    name.setText(expression+"4");
    else if("5".equals(command))
    expression = name.getText();
    name.setText(expression+"5");
    else if("6".equals(command))
    expression = name.getText();
    name.setText(expression+"6");
    else if("1".equals(command))
    expression = name.getText();
    name.setText(expression+"1");
    else if("2".equals(command))
    expression = name.getText();
    name.setText(expression+"2");
    else if("3".equals(command))
    expression = name.getText();
    name.setText(expression+"3");
    else if("0".equals(command))
    expression = name.getText();
    name.setText(expression+"0");
    else if("+".equals(command))
    expression = name.getText();
    name.setText(expression+"+");
    else if("-".equals(command))
    expression = name.getText();
    name.setText(expression+"-");
    else if("*".equals(command))
    expression = name.getText();
    name.setText(expression+"*");
    else if("/".equals(command))
    expression = name.getText();
    name.setText(expression+"/");
    //processEquals : Deal with the user clicking the '=' button. This operation finishes
    // the most recent calculator
    else if("=".equals(command))
    expression = name.getText();
    size = expression.length();
    tmp = new StringBuffer( expression );
    for(int i = 0;i<size;i++)
    ch = tmp.charAt(i);
    if(ch != '+' && ch != '*' && ch != '-' && ch != '/')
    first . insert(i, ch);
    else
    op = ch;
    k = 0;
    for(int j = i+1; j< size ; j++)
    ch = tmp.charAt(j);
    second.insert(k,ch);
    k++;
    break;
    switch(op)
    //* processLastOperator : Carries out the arithmetic operation specified by the last
    // operator, the last number and the number in the display.If the operator causes an
    // error condition ( ex : the user tries to devide something by zero), this operation an
    // exception     
    // Question : if the user click on the button '2' , '+', '3' what values will found ?
    case '+' : value = Integer.parseInt(new String(first)) +
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;      // plus button
    case '-' : value = Integer.parseInt(new String(first)) -
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    case '*' : value = Integer.parseInt(new String(first)) *
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    case '/' : value = Integer.parseInt(new String(first)) /
    Integer.parseInt(new String(second));
    name.setText(new Integer(value).toString());
    break;
    } //end of actionPerformed
    /**main method to invoke from JVM.*/
    public static void main(String args[])
    new Calculator(); // Create a new instance of the Calculator object

    Here's your code fixed up the enw way. It works the same, except it is half the size
    package jExplorer;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    public class Calculator extends Frame implements ActionListener
      final static String[] bNames = {"7", "8", "9", "/", "sqrt", "CE", "4", "5", "6", "*", "%", "MS", "1", "2", "3", "-", "1/x", "M+", "0", "+/-", ".", "+", "=", "exit"};
      final static int NUM_BUTTONS = bNames.length;
      private TextField name;
    * Calculator Constructor
    * This operator constructor ( as with all constructors ) is executed when the new object
    * is created. In this case we create all the buttons ( and the panels that contain them )
    * then reset the calculator
      public Calculator()
        super( "DUSTPANTS CALCULATOR" );
        setLayout( new BorderLayout() );
        Panel p1 = new Panel();
        p1.setBackground( new Color( 18, 70, 1 ) );
        p1.setLayout( new FlowLayout() );
        Label aHeader;
        aHeader = new Label( "DUSTPANTS CALCULATOR" );
        aHeader.setFont( new Font( "Times New Roman", Font.BOLD, 24 ) );
        aHeader.setForeground( new Color( 255, 0, 0 ) );
        p1.add( aHeader );
    // Question: what does 'North' mean here ?
    // The applet places a GridLayout on the 'North' side
        add( "North", p1 );
        Panel p2 = new Panel();
        p2.setBackground( new Color( 27, 183, 100 ) );
        p2.setLayout( new GridLayout( 0, 1 ) );
        name = new TextField( 20 ); // Var for Text field max of 20 characters
        p2.add( name );
        add( "Center", p2 );
        Panel p3 = new Panel();
        p3.setLayout( new GridLayout( 0, 6 ) );
    // Create buttons & their ActionListeners, and add them to the panel
        Button b[];
        b = new Button[NUM_BUTTONS];
        for( int x = 0; x < NUM_BUTTONS; x++ )
          b[x] = new Button( bNames[x] );
          b[x].addActionListener( this );
          p3.add( b[x] );
        add( "South", p3 );
        super.addWindowListener( new WindowAdapter()
          public void windowClosing( WindowEvent e )
            System.exit( 0 );
        setLocation( 200, 100 );
        pack();
        setVisible( true );
    * actionPerformed:: This operation is call whenever the user click a button .All
    * this operation does is pass on the text on the button to ' evt '
      public void actionPerformed( ActionEvent evt )
        String command = evt.getActionCommand();
        String expression;
        int value, size, k;
        char ch, op = ' ';
        StringBuffer tmp;
        StringBuffer first = new StringBuffer();
        StringBuffer second = new StringBuffer();
        if( "CE".equals( command ) )
          name.setText( "" );
        else if( "=".equals( command ) )
          expression = name.getText();
          tmp = new StringBuffer( expression );
          size = tmp.length();
          for( int i = 0; i < size; i++ )
            ch = tmp.charAt( i );
            if( ch != '+' && ch != '*' && ch != '-' && ch != '/' )
            { first.insert( i, ch ); }
            else
              op = ch;
              k = 0;
              for( int j = i + 1; j < size; j++ )
                ch = tmp.charAt( j );
                second.insert( k, ch );
                k++;
              break;
        else if( validButton( command ) )
          expression = name.getText();
          name.setText( expression + command );
        else
          Toolkit.getDefaultToolkit().beep();
       * processLastOperator : Carries out the arithmetic operation specified by the last
       * operator, the last number and the number in the display.If the operator causes an
       * error condition ( ex : the user tries to devide something by zero), this operation an
       * exception
       * Question : if the user click on the button '2' , '+', '3' what values will found ?
        switch( op )
          case '+':
            value = Integer.parseInt( new String( first ) ) +
              Integer.parseInt( new String( second ) );
            name.setText( new Integer( value ).toString() );
            break; // plus button
          case '-':
            value = Integer.parseInt( new String( first ) ) -
              Integer.parseInt( new String( second ) );
            name.setText( new Integer( value ).toString() );
            break;
          case '*':
            value = Integer.parseInt( new String( first ) ) *
              Integer.parseInt( new String( second ) );
            name.setText( new Integer( value ).toString() );
            break;
          case '/':
            value = Integer.parseInt( new String( first ) ) /
              Integer.parseInt( new String( second ) );
            name.setText( new Integer( value ).toString() );
            break;
      private static final boolean validButton( String command )
        for( int x = 0; x < NUM_BUTTONS; x++ )
          if( bNames[x].equals( command ) ) ;
            return true;
        return false;
      /** main method to invoke from JVM. */
      public static void main( String args[] )
        new Calculator(); // Create a new instance of the Calculator object
    }

  • Need some simple help..

    Basically what Im trying to do is write something that can repeatedly list in integers until a sentinel of 0 is entered, where it would then go on and do whatever is next. As simple as I thought it would be, I've been stuck on doing that for hours. Although I am still a java noob, it sounded easy at the time :/
    Anyway, heres the code I've managed to get after about the 6th or 7th write and rewrite stage now. It may not make too much since given how I can't seem to do much with it in the first place.
    import acm.program.*;
    public class FindRange extends ConsoleProgram {
         int sentinal = 0;
         public void run() {     
              println("Continue to enter numbers, and enter 0 to find the highest and lowest integer");
              while (true) {
                   int x = readInt("Enter a number:  ");
                   if (sentinal == x) {
                        println("test Posative");
                        break;
                   else {
                        println("test fail");
                        break;
         private void askInt() {
    }Anyway, I know this may have a real simple solution and I just cant figure something out to do, but Im hoping someone can explain something to me! Also, if anyone has some recommendations id love to hear why/how as well (never been a fan of people giving a solution and not telling how or why it works, if its a tad complex).
    Edited by: Cypher220 on Jan 7, 2010 5:43 PM

    Cypher220 wrote:
    import acm.program.*;
    public class FindRange extends ConsoleProgram {
         int sentinal = 0;
         public void run() {     
              println("Continue to enter numbers, and enter 0 to find the highest and lowest integer");
              while (true) {
                   int x = readInt("Enter a number:  ");
                   if (sentinal == x) {
                        println("test Posative");
                        break;
                   else {
                        println("test fail");
                        break;
         private void askInt() {
    What happens when you run it?
    Do you have a question to ask?
    Anyway, I know this may have a real simple solution and I just cant figure something out to do, but Im hoping someone can explain something to me! Birds can fly, fish can swim. Not sure if this is what you wanted
    Also, if anyone has some recommendations id love to hear why/how as well (never been a fan of people giving a solution and not telling how or why it works, if its a tad complex).Ask questions.
    Mel

  • Hi, i need some simple help please

    Below is the current code for display and counting values in a table...
    boolean learningstyle = false;
    String lstyleresult = "";
    RS=Stmt.executeQuery("select data from learningstyle where userid='"+sr_studentid+"' order by submitted desc,id desc");
         if (RS.first())
              learningstyle = true;
              String data = RS.getString("data");
              String[] arraydata = data.split(",");
              String[] visualnos = {"4","6","8","12","13","17","22","24","25","29","33","35","37"};
              String[] auditorynos = {"1","3","9","11","14","16","18","21","26","28","32","36","38"};
              String[] doingnos = {"2","5","7","10","15","19","20","23","27","30","31","34","39"};
              int vscore=0;
              int ascore=0;
              int kscore=0;
              for (int i=0;i<visualnos.length;i++)
                   if(arraydata[Integer.parseInt(visualnos[i])-1].equals("Y"))
                        vscore++;
              for (int i=0;i<auditorynos.length;i++)
                   if(arraydata[Integer.parseInt(auditorynos[i])-1].equals("Y"))
                        ascore++;
              for (int i=0;i<doingnos.length;i++)
                   if(arraydata[Integer.parseInt(doingnos[i])-1].equals("Y"))
                        kscore++;
              lstyleresult = "Visual: "+vscore+"/"+visualnos.length+"<br /><br />Audio: "+ascore+"/"+auditorynos.length+"<br /><br />Kinetic: "+kscore+"/"+doingnos.length;
         else
              learningstyle = false;
    %>
    I want the JSP code to run the query above OR run the query below:
    RS=Stmt.executeQuery("select data from learningstyle where userid='"+sr_studentid+"' and input_type='manual' order by submitted desc,id desc");
    How would i do this?

    ok how does the following look?
    <%
         // +------------------------------------------------------------------------
         // | LEARNING STYLE DATA QUERY
         // +------------------------------------------------------------------------
         boolean learningstyle = false;
         String lstyleresult = "";
         int vscore=0;
         int ascore=0;
         int kscore=0;
         for (int i=0;i<visualnos.length;i++)
                   if(arraydata[Integer.parseInt(visualnos)-1].equals("Y"))
                        vscore++;
         for (int i=0;i<auditorynos.length;i++)
                   if(arraydata[Integer.parseInt(auditorynos[i])-1].equals("Y"))
                        ascore++;
         for (int i=0;i<doingnos.length;i++)
                   if(arraydata[Integer.parseInt(doingnos[i])-1].equals("Y"))
                        kscore++;
              lstyleresult = "Visual: "+vscore+"/"+visualnos.length+"<br /><br />Audio: "+ascore+"/"+auditorynos.length+"<br /><br />Kinetic: "+kscore+"/"+doingnos.length;
         RS=Stmt.executeQuery("select userid from learningstyle where userid='"+sr_studentid+"' order by submitted desc,id desc");
         if (RS.first())
              PreparedStatement pStmt = ConnStar.prepareStatement("select data from learningstyle where userid='"+sr_studentid+"' order by submitted desc,id desc");
              learningstyle = true;
              String data = RS.getString("data");
              String[] arraydata = data.split(",");
              String[] visualnos = {"4","6","8","12","13","17","22","24","25","29","33","35","37"};
              String[] auditorynos = {"1","3","9","11","14","16","18","21","26","28","32","36","38"};
              String[] doingnos = {"2","5","7","10","15","19","20","23","27","30","31","34","39"};
              else if
              PreparedStatement pStmt = ConnStar.prepareStatement("select data from learningstyle where userid='"+sr_studentid+"' and input_type='manual' order by submitted desc,id desc");
              String data = RS.getString("data");
              String[] arraydata = data.split(",");
              String[] visualnos = {"1","2","3","4","5","6","7","8","9","10","11","12","13"};
              String[] auditorynos = {"14","15","16","17","18","19","20","21","22","23","24","25","26"};
              String[] doingnos = {"27","28","29","30","31","32","33","34","35","36","37","38","39"};
         else
              learningstyle = false;
    %>

  • Just need some simple stats :)

    I've been using Microsoft's "Excel Lite" program for a few years. I don't even know what it's called, but its performance is more limited than Excel, which I've never used.
    I've never used a mathematical formula in a spreadsheet. All I do is insert data, which I organize an save as a CSV file, which I then import into a database table. For example, I have a spreadsheet with information on the animal kingdom, arranged by class, order, family, genus and species, all coded by cell background color/pattern and various font styles.
    To get to the point, there are two features I've grown to love that I have not found in any other spreadsheet, and I'd like to ask how Numbers compares...
    1) Sortable columns - In "Excel Lite," you can sort as many as three columns at a time. If you highlight cells spanning twelve rows, you can sort by one, two or three columns, even if you've only highlighted a single column. You can also sort an entire column (or two or three columns) by simply highlighting an entire column. I discovered that you cannot do this in OpenOffice.org's spreadsheet. I forget the details, but it was clumsy to work with.
    So how efficient is Numbers' sort feature? Can it sort three columns or just one? If I want to sort every row in a column(s), can I do so by simply highlighting the column, or do I have to specifically highlight every cell in each row and column I want to sort?
    This is the single most important feature I'm looking for.
    2) Cell/Font Attributes - OpenOffice.org's spreadsheet has a respectable number of cell background colors to choose from, but I like Excel's approach better. M$ allows you to choose various shades of each color, combine colors to create new colors and also choose background patterns, such as horizontal, vertical or diagonal lines. What scheme does Numbers use?
    Here are a few more questions...
    How many rows of data can you have in a Numbers spreadsheet? (I think my spreadsheet programs allows about 16,000, while I believe Excel allows 65,000.)
    How much text can you insert in a cell? Unfortunately, I can't use my spreadsheet program for storing articles, because each cell will only accept the equivalent of one or two medium paragraphs. I don't expect any other spreadsheet to do better...I'm just wondering if Numbers does allow you to paste entire articles into cells.
    I'm fascinated to hear that you can paste images into a Numbers document. Right now I'm organizing images I use on my websites into a spreadsheet, with separate columns for each image's ID, caption, text for the ALT tag, etc. It woul be nice if I could actually see a thumbnail of each image next to its ID and description, sort of like connecting a name with a face. Can you really do that? I would think the file size would be enormous if you were working with hundreds of images.
    I assume you can save a Numbers document as a CSV file...right? Is there also a feature that allows you to publish a spreadsheets' content directly into a MySQL database table? (I understand OpenOffice.org has such a feature, though I've never tried it.)
    Sorry for the long post. Any feedback on any particular question would be welcome. I HATE everything Microsoft, and I'm not even using Parallels on my MacBook Pro. The only M$ software program I covet is Excel, so I was elated to discover that there may be a worthy competitor out there.
    Thanks.

    Sorry, I didn't realize there was a free trial version. I just downloaded it, and my first impressions are WOW!
    The sort feature is better than the sort feature on "Excel Lite." Just click "Sort and Filter" to bring up the little Sort dialog box. At first, it looks like you can only sort a single column. But clicking the little plus sign on the right opens additional columns. I don't know what the limit is, but it's certainly far more than three.
    I also verified that you can paste very large amounts of text in a cell.
    Unlike M$'s spreadsheet, there are no cell background patterns, but there are plenty of colors to choose from. Also, it appears that there are far more options for styling text.
    I've only worked with it for a few minutes, but, for my purposes, Numbers rocks!

  • Need some simple directions..

    just got a new macbook...have several pc laptops with itunes...just got a new ipod touch...
    heres the question
    i want to pull my libraries together from the pc's and put them on my ipod...then put them on the macbook..
    what settings do i use to do this without erasing the content on my ipod like i did when trying to synch my old video ipod..
    i would like to end up with my macbook as the master main and then synch back and forth between it and the ipod touch and get away from having so many different libraries and even eventually get away from pc's altogether!
    i've downloaded songs and videos, etc. from one pc already to the ipod..
    now i'm trying to figure out how to synch the Second pc to the ipod withour erasing like i did before.

    here is an article from the apple support website that might help out.
    http://docs.info.apple.com/article.html?artnum=300173
    However, this article mentions use of of an ipod as an external drive.
    An ipod touch will not work for this.
    Any external drive will work.
    Hope this helps.

  • I need some simple help here, worth $1 duke buck

    please tell me what I am missing here. Thanks.
    //Team Patrick, Stephen, Rich
    //Week 3 team assignment due 10/9/03
    //Joanne Kuzman instructor
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Cater
         public static void main(String[] args) throws Exception
              double feeCorporate = 500.00;
              double feePrivate = 300.00;
              double feeNonprofit = 150.00;
              double feeSpecial = 200.00;
              double taxRateC = 1.0775;
              double taxRateP = 1.85;
              char response;
              System.out.println("Welcome to Local Caterer's Company Scheduling");
              System.out.println("Please choose the type of event.");
              System.out.println
              ("Your Choices are C for corporate events,P for private events, N for nonprofit and S for Special events");     
              response = (char)System.in.read();
              System.in.read(); System.in.read(); System.in.read(); System.in.read();
              while (response != "C" && != "P" && != "N" && != "S")
                   System.in.read(); System.in.read();
                   System.out.println("Your entry can only be C, P, N, or S");
                   response = (char)System.in.read();
              if(response = "C")
                   System.out.println("This Corporate event will cost " + feeCorporate " and Pop will manage this event");
                   System.out.println("The total with tax will be " + feeCorporate * taxRateC);
              else if(response = "P")
                   System.out.println("This Private event will cost " + feePrivate " and Pop will manage this event");
                   System.out.println("The total with tax will be " + feePrivate * taxRateP);
              else if(response = "N")
                   System.out.println
                   ("This Nonprofit event will cost " + feeNonprofit " and Mom will manage this event");
                   System.out.println
                   ("Nonprofit events are not taxed. Please be certain to obtan a tax exempt card from the organization and keep it on file");
              else if(response = "S")
                   System.out.println
                   ("This Nonprofit event will cost " + feeSpecial " and Mom will manage this event");
                   System.out.println("Please see Mom for tax rate on these events");
              else
                   System.out.println("Invalid Entry");
                   System.exit(0);

    I am not sure which programming lang u used to program with but in java things r a bit diffrent. you had a lot of small mistakes. anyway your code should look like this (copy paste it and don't worry)
    public class Cater
         public static void main(String[] args) throws Exception
              double feeCorporate = 500.00;
              double feePrivate = 300.00;
              double feeNonprofit = 150.00;
              double feeSpecial = 200.00;
              double taxRateC = 1.0775;
              double taxRateP = 1.85;
              char response;
              System.out.println("Welcome to Local Caterer's Company Scheduling");
              System.out.println("Please choose the type of event.");
              System.out.println
              ("Your Choices are C for corporate events,P for private events, N for nonprofit and S for Special events");
              response = (char)System.in.read();
              System.in.read(); System.in.read(); System.in.read(); System.in.read();
              while ((response != 'C') && (response!= 'P') && (response!= 'N') && (response!= 'S'))
                   System.in.read(); System.in.read();
                   System.out.println("Your entry can only be C, P, N, or S");
                   response = (char)System.in.read();
              if(response == 'C')
                   System.out.println("This Corporate event will cost " + feeCorporate+ " and Pop will manage this event");
                   System.out.println("The total with tax will be " + feeCorporate * taxRateC);
              else if(response == 'P')
                   System.out.println("This Private event will cost " + feePrivate+ " and Pop will manage this event");
                   System.out.println("The total with tax will be " + feePrivate * taxRateP);
              else if(response == 'N')
                   System.out.println("This Nonprofit event will cost " + feeNonprofit+ " and Mom will manage this event");
                   System.out.println("Nonprofit events are not taxed. Please be certain to obtan a tax exempt card from the organization and keep it on file");
              else if(response == 'S')
                   System.out.println("This Nonprofit event will cost " + feeSpecial +" and Mom will manage this event");
                   System.out.println("Please see Mom for tax rate on these events");
              else
                   System.out.println("Invalid Entry");
                   System.exit(0);

  • Need a simpler way to answer the phone!

    The iPhone 4s requires 1 of 2 things to answer a phone call, depedning on whether the phone is locked or not.  If the phone is unlocked, I'm presented with a couple of buttons to accept or reject the call.  If the phone is locked, I'm required to swipe a slider on the display to answer the call.
    There are a couple of problems with these UI behaviors.  First, if one has gloves or mittens on, the touch screen doesn't work and one has to take off one's gloves to use the display and answer a call.  The second problems is that in many cases, swiping a slider requires two hands - one to hold the phone and one to swipe the slider.  If the phone isn't locked, the situation is a bit better, since pressing a button on the display can be done one-handed, more easily than moving the slider.  I could set auto-lock to "never" so the slider doesn't come show up, but this also keeps the display on and runs down the battery rather rapidly.  So ideally, I need:
    1.  A way to use the Home button to answer calls.  Our iPhones live in Otter Boxes and it takes intent to actually press this button.  It's not easy to do it by accident.
    -- OR --
    2   A way to auto-dim the display after a set period of time without auto-locking the unit.  This would be a 2nd best solution, since I'd much rather just push the Home button to answer calls.
    Maybe there are some apps that can help with this.  Any solutions will be appreciated.

    fmouse wrote:
    Meg St._Clair wrote:
    Was your old phone a touch screen phone?
    No.  It was an LG flip-phone.  If it rang, I could just flip it open with one hand and mash it to take a call.  Very handy!
    I'm not sure why you expect a touch screen phone to work like a basic flip phone. If that sort of feature is important to you, touch screen phones are not the device for you. It sounds as if you failed to consider what features were important to you and then properly research your phone purchase. While it's possible Apple may add other buttons to the phone in the future, there is no indication that current phones will ever be answerable any other way (the same is true of every Android phone I've used as well, by the way). So, you can either decide that the many other features that an iPhone has that your old LG didn't are worth this small inconvenience or you can return/sell the iPhone and go back to a phone with buttons. You can also try one of the several options for solving your problem that have been offered.

  • Need some help with router...

    Alright so, i had a old router i bought 4 years ago. It was working great it was connected to my two computers and my xbox. Until about 3 months ago it was just giving me really bad connection, even when i was pluged in directly, it was my router because when i pluged into my motem it was working fine... So i went out and bought a new Dual-Band Wireless-N Gigabit RouterWRT320N about a week ago. It started off great, and i was getting good connection again. Until later on that day it just craped-out again like my last one, im plug directly to it and still **bleep**y connection. I updated the frimeware and it was good for a few hours and again craped out. I don't have any viruses and it is a sicure network, any help?

    As you have already upgraded the firmware on your Router, Have you resetted your router and re-configured all the settings on your router back again. If not then Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave username blank & in password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Here select manual configuration...Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Radio Band to Wide-40MHz and change the Wide channel to 9 and Standard Channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on save settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WPA, For Encryption, select AES...For Passphrase input your desired WPA Key. For example , MySecretKey , This will serve as your network key whenever you connect to your wireless network. Do NOT give this key to anyone.
    NOTE : Passphrase should be more that 8 characters...
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 75 >>Change the Fragmentation Threshold to 2304 Change the RTS Threshold to 2307 >>Click on "Save Settings"...
    Now see if you can locate your Wireless Network and attempt to connect...

  • Have been trying to get a simple rollover tooltip going but haven't had any success...need some help

    Have been trying to get a simple rollover tooltip going but haven't had any success...need some help please

    start watching at 11min
    http://www.youtube.com/watch?v=6_FJYN36_94
    hope this helps

  • I recently switched from years of PC to iMac ( OSX 10.7.5) and need to batch convert thousands of old WordPerfect files (many without an apparent file extension) into my new Microsoft 2011 Word.  I am a computer nitwit and am hoping for some simple sol'n.

    I recently switched from years of PC to iMac ( OSX 10.7.5) and need to batch convert thousands of old WordPerfect files (many without an apparent file extension) into my new Microsoft 2011 Word.  I am a computer nitwit and am hoping for some simple solution.

    Try reindexing the mailbox. This can take awhile if you have a lot of mail.
    Reindex messages.
    If that doesn't work try deleting MessageUidsAlreadyDownloaded3.
    Quit the application.
    You need to look in your user Library. Either hold down the option key while using the Finder “Go To Folder” command and select your user Library in your home folder or use the Finder “Go To Folder” command and enter ~/Library/Mail/V2/Mail Data/MessageUidsAlreadyDownloaded3.  Move the file to your desktop.
    Open the application and test. If it works okay, delete the file from the desktop.
    If the application is the same, return thefile to where you got it from, overwriting the newer ones.
    If you prefer to make your User library permanently visible, use the Terminal command found below.
    Show User Library
    You might want to bookmark the command. I had to use it again after I installed 10.8.5. I have also been informed that if you drag the user library to Finder it will remain visible.

Maybe you are looking for

  • I have windows 7 and can't link my windows account?

    I have windows 7 and when I try to link my windows account it gives me a error message of your rbc server is unavailable.  I saw to go to gpedit.msc but then another instruction said that only windows xp, vista and 2000 are supported?  How can I link

  • Converted PDF to word document

    I converted a PDF to word.  Most of the the text has changed and is not useable in this format.  Now what?

  • Where is the Sender Verification Text Box PSE 8

    With a verification code (for sharing e-mail attachments or sharing by Photo Mail) I need to know where I "paste" this code.

  • Change the page's address

    Hello all, recently i made my website in iWeb 09. Now i uploaded some new content to my site through ftp. Its made in deliciouslibrary because the upload did not work in delicious library to iweb itself. So now i want to integrate the library into iW

  • Removing unwanted applications

    How can I remove unwanted applications that came with the device?  For example if I am not planning to use "Yahoo Messenger" I would like to remove it and its icon from the device