Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tpena

  1. tpena

    Any good starter doc

    try the sun home page, there you will find the Java tutorial. <br> <br> tito<br> <br> <br> <A HREF="http://java.sun.com/docs/books/tutorial/index.html" TARGET="_new">http://java.sun.com/docs/books/tutorial/index.html</A><br> <br>
  2. tpena

    Image Changer

    Which function do you want to call from my var = new Image()? What you could do, it change the src field in the image variable and that will load the new image. This works in NN and I think in IE as well though I am not 100% sure of that because I don't use IE. Anyway, something like this:<br>...
  3. tpena

    Form validation works in IE not in NN

    Try this:<br> <br> &lt;SCRIPT language=&quot;javascript&quot;&gt;<br> &lt;!-- <br> function checknull(info) {<br> if (info.fname.value == &quot;&quot;) {<br> alert(&quot;Please Enter Your First Name.&quot;);<br> info.fname.focus();<br> return false;<br> }<br> if (info.lname.value ==...
  4. tpena

    DIRE STRAIGHTS -- NEED HELP ASAP!!!

    First, here is my understanding of your situation:<br> <br> You have some sort of gui/applet with a button (or set of) that each has a label. When the user clicks on one of these buttons, you want to receive the button pressed event and create the SQL statement using the text of the label of the...
  5. tpena

    Writing an "Object Class"

    The Java tutorial at the Sun site has a pretty good introduction on object serialization and externalization.<br> <br> <A HREF="http://java.sun.com/docs/books/tutorial/essential/index.html" TARGET="_new">http://java.sun.com/docs/books/tutorial/essential/index.html</A><br>
  6. tpena

    Creating a dynamic array in C

    Yes, you can use the functions calloc, malloc and realloc to dynamically allocate memory from the heap at runtime. <br> <br> For example, you can read the size of the array from the user and use this to dynamically allocate space for the array.<br> <br> int size;<br> char *buf;<br> <br>...
  7. tpena

    pointer and malloc

    You only need to allocate space when you want to store information. Since in your case you are setting the pointers to pre-existing (already allocated) addresses, then there is no need to allocate space. As a matter of fact, allocating space in this situation can lead to a memory leak, because...

Part and Inventory Search

Back
Top