Search results

  1. I

    ASP.net SQL update problem (VB)

    Hey guys, I'm trying to update my database with values in text fields on my .aspx page. I'm used to java so I'm struggling to figure out whats wrong with this. Inherits System.Web.UI.Page Dim conn As SqlConnection Dim cmd As SqlCommand Dim dst As DataSet Dim dad As...
  2. I

    Which processor would you recommend?

    Hey, I'm torn between a few laptops...both not very high spec, but all identical in price - I'm just wondering which would be a better performer, processor wise. 1) ------------------------------------ Processor Intel Pentium Dual Core Processor Bus 533 MHz Processor Cache 1MB...
  3. I

    Which processor performs better?

    Cheers for that, I'm just going to have to flip a coin, I could look to the future or just settle for an easy fix now where I dont have to worry about what supports what.
  4. I

    Which processor performs better?

    Okay so I'm upgrading my pc and I'm not 100% on how the architecture works in quad core processors compared to dual cores. Is it a simple case of a quad core literally multiplying the processing speed by 4 compared to 2? Basically I have these two processors and I'd like to know which...
  5. I

    How to pull XML into Flash

    Hmmm, okay then, several different tags to penetrate... Still confused as to what I must declare against what, would it be:? function DisplayInfo() { var title = items.firstChild.firstChild.childNodes[2].firstChild.nodeValue var items =...
  6. I

    How to pull XML into Flash

    Okay, so I have a basic flash file with a button, when you hover over it, an object with dynamic text appears... Now I want text from an XML file to be pulled from it into my dynamic text box... this is what my code in my actionScript looks like so far... function DisplayInfo() {...
  7. I

    Div layouts not working...ideas?

    sorry that code isnt very readable...its giving me fuss about formatting it, this should be more readable: <div style="position:absolute; left:18%; z-index:0;"> <object classid="00" codebase="http://download.macromedia.com/pub/... width="800" height="600"> <param name="movie"...
  8. I

    Div layouts not working...ideas?

    I am trying to display a .gif image ontop of a flash object in a web page using div's... I place the swf object in a div using the z-index at 0 Then the .gif ontop in another div with it at z-index 1... I can get a flash object ontop of a flash object but not an image file... heres the...
  9. I

    Post pics of your setup!

    but only i'm a nub and can't spell ariel. But thats aloud cos we invented the language. :P
  10. I

    Post pics of your setup!

    Indeed it is, pavement, sidewalk. Petrol, gas. Colour, color. antenna, ariel. I'm sure its called British for a reason?
  11. I

    What is going on here?!

    nope, its really weird, turn my pc on one day and bam, 3 cd drives appear out of no where
  12. I

    Post pics of your setup!

    My room setup... Front Front with screen down back hifi
  13. I

    Post pics of your setup!

    lol i love the ariel
  14. I

    Problem with word document

    Its on a floppy, i'd suggest that its damaged at first glance or the transfer wasnt completely successful, have you tried it on another machine?
  15. I

    What is going on here?!

    Okay, the most annoying thing has happened, I took out my external HDD from my laptop and put it back in like ive done a million times before but this time it changed the drive letter on re-entry from I:/ to J:/ which has fooked up my itunes library of over 40, 000 songs. So i thought, fine...
  16. I

    Looking for an HTML guru/business partner

    haha, Its all very well going for gold with these things but you're destined to blend into the background of average, boring flash game sites unless you come up with an original idea that steps your site above the rest. Not only that but people will avoid your site as its unknown and could be...
  17. I

    How to set up a web subscription service?

    Hi, I'm just trying to find out how this more than likely simple form works in HTML, I want the user to input their email and have it sent to me somehow i guess, probably to an email address of my choosing, say 'subscriptions@mail.com' but how does this work then, what would i have to...
  18. I

    Anyone know alot about JSP's and Tomcat?

    Well this is what my layout looks like: http://img409.imageshack.us/img409/9279/layoutkl1.jpg and the html files load on localhost:8080 so the tomcat is started up, but jsps dont seem to find my beans
  19. I

    Anyone know alot about JSP's and Tomcat?

    Im having trouble getting my jsp's to work in Tomcat, i have two javabeans that im trying to get data from using my jsp's, ive compiled my beans and theres no spelling mistakes in the links, but its coming up with this error: org.apache.jasper.JasperException: /viewTable.jsp(3,0) The value...
  20. I

    Validating a textfield to accept letters, dashes and spaces only

    I can do it for letters only, need it to be able to allow '-' (dashes) and spaces too function checkname() {var theirname = document.form1.dname.value; var numchars = theirname.length; for (i = 0; i< numchars; i++) { if (theirname.charAt(i) < 'a'|| theirname.charAt(i)...
  21. I

    Validating a textfield to accept only numeric data...

    Ive got a text field 'num1' that i want to validate so that it pops up a message when theres no numbers in it using Javascript... all the tutorials on the web are far too complex and i was wondering if someone could help me understand what i need to put in my html document. Thanks
  22. I

    Formating a float in Java, help please!

    Hmmm, im sure its some thing like: String price = results.getFloat(5); //float price = results.getFloat(5); String.format("%.2f", price); row = new Vector(); row.addElement(new String(results.getString(1))); row.addElement(results.getString(2))...
  23. I

    Formating a float in Java, help please!

    Im trying to format a float in a JTable thats been taken from an SQL database, heres what ive got: { float price = results.getFloat(5); row = new Vector(); row.addElement(new String(results.getString(1))); row.addElement(results.getString(2))...
  24. I

    Why wont my vector work?

    I try to pass some SQL data to my vector, then display it, but it says the data cannot be retrieved even though when i delete the vector elementadd parts, it works fine... jdbcConnect(); ResultSet results = null; Vector stocklist = new Vector(); try { statement =...
  25. I

    why cant my variables be seen?

    Hmmm, changing the textfield to final didnt do anything and that method threw up a load of errors when implemented, very odd, it doesnt make sense why it cant see it...
  26. I

    why cant my variables be seen?

    Yeh i made it public, that didnt change anything, very odd...
  27. I

    Sluggish iTunes performance on XP

    I noticed that, but only since the 7.0 updates, whenever i minimize or scroll on any other application, it skips and goes weird... It used to run fine, i rolled back to another version and its okay now...bad programming, its definately not my pc as its got a gig of memory and everything else...
  28. I

    why cant my variables be seen?

    Hi, trying to figure out why my JTextField 'scInput' cannot be seen in another class? I define it in class 'gui' as private JTextField scInput; within the public class public class Gui extends JFrame implements ActionListener But when trying to call it in another class, its...
  29. I

    How to fix a GUI size in Java

    cheers, lol hacker? im sure a hacker would know what theyre doing.
  30. I

    How to fix a GUI size in Java

    Dont suppose anyone knows the code, or what i would state?
  31. I

    How to fix a GUI size in Java

    Just wondering how i can stop a user resizing the window using java, i declare the frame size, but dont know how to set it to fixed... setTitle("Stock Control System"); setSize(560,640); setVisible(true); setDefaultCloseOperation(EXIT_ON_CLOSE); cheers
  32. I

    float in a vector to 2 decimal places?

    Hi, im grabbing data from my SQL table, putting it into a vector, but ive completely forgotten how to display it to 2 decimal places? heres whats going on: row.addElement(new Float(results.getFloat(5))); So i want it to something like 0.00 cheers
  33. I

    Java JOptionPane Help!

    I'm trying to display a set of SQL query results from one class to my GUI in a pop up windows, im trying to use JOptionPane, is there a better way of doing it? heres what im going on so far that i want to display: statement = link.createStatement(); results = statement.executeQuery(...
  34. I

    Java SQL Inserts with variables problem

    I dont understand how to create the SQL string and submit it without it being a variable, also, i dont understand how to construct a statement that will work? I have to pass what i have said that i will return which are, value1, value2 etc, but it doesnt accept them?
  35. I

    Java SQL Inserts with variables problem

    So move the scanner into main? At the moment, main looks like this: public static void main(String[] args) { try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); link = DriverManager.getConnection( "jdbc:odbc:stockAccess","",""); } catch(ClassNotFoundException...
  36. I

    Import a java file into another

    How do you import a .java files modules, variables etc so that its recognised in another, ive done it before but forgotten, just a short statement at the top, e.g. import.myJavaFile.java; or something similar?
  37. I

    Java SQL Inserts with variables problem

    Yes, i want variables inserted instead of the specific, strings, ints and floats, so value5 has been assigned to a float that the user entered into the scanner - is that how you do it? with + symbols and "" symbols?
  38. I

    Java SQL Inserts with variables problem

    yeh the myDatabase is the table name, if that helps at all. I've had it working where value1, value2, value3 etc are specific values, but ofcourse that would need to change everytime as the user may enter a different value into the scanner, so i assign it to a variable... but it doesnt work with...