Forum: Java Jun 24th, 2008 |
| Replies: 4 Views: 547 StringBuffer() & Performances I understand that string buffer can append data and write it in a text file. But my question is, how big or the size stringbuffer can store data? can it store more than 10000+ data? what about the... |
Forum: Java Jun 7th, 2008 |
| Replies: 5 Views: 386 Re: Null Pointer My typing error. My code was below. It still has error with the statement.
Date date;
date = (rcd.getDate(1)==null?"":rcd.getDate(1)); |
Forum: Java Jun 6th, 2008 |
| Replies: 10 Views: 2,805 |
Forum: Java Jun 6th, 2008 |
| Replies: 5 Views: 386 Null Pointer i can't understand what problem with the statement below. No error in sql statement and connection.
Date dt;
dt = (rs.getDate(1)==null?"":rs.getDate(1.trim()); |
Forum: Java Jun 4th, 2008 |
| Replies: 10 Views: 2,805 |
Forum: Java Jun 4th, 2008 |
| Replies: 10 Views: 2,805 |
Forum: Java Jun 4th, 2008 |
| Replies: 10 Views: 2,805 convert time to 24 hour minutes second i get time field from a database table. But may i know how to convert it into 24 hour minutes and second. simpledateformat("hhmmss") is not working. Is there any other simple java method doing it? |
Forum: Java Mar 19th, 2008 |
| Replies: 1 Views: 214 If i know java, do i consider i know J2EE? i have basic java programming language but i am a bit confuse about java and j2EE and i hope i can find an answer here. My questions are as below:
(1) What the different between... |
Forum: ASP Mar 27th, 2007 |
| Replies: 2 Views: 2,315 |
Forum: ASP Mar 27th, 2007 |
| Replies: 2 Views: 2,315 Type mismatch dim num, GOPercent
num = Request.Cookies("Result")
GOPercent = num/25 Type mismatch: '[string: ""]'
Error Type mismatch. But the value i put in Response.cookies("Result") is a CInt(value)
how... |
Forum: ASP Mar 24th, 2007 |
| Replies: 1 Views: 1,939 when to use session and cookies variables ? i know session variables store on the server side and cookies store on client side.
Question: If i save the total answer for a summation as a session variables, and multiple online user are using... |
Forum: ASP Mar 21st, 2007 |
| Replies: 2 Views: 1,030 SQL statement Error i can't see where is the Invalid character with the SQL statement below. i can't see where i miss any character or i added extra characters.
mySQL = "UPDATE table SET col1 = '"_& rA & "', col2 = "... |
Forum: ASP Jan 25th, 2007 |
| Replies: 1 Views: 5,424 |
Forum: Java Oct 18th, 2006 |
| Replies: 1 Views: 1,091 Pop up the text file Does anyone know how to write a command to pop up the whole text file when a click a button? |
Forum: ASP Oct 2nd, 2006 |
| Replies: 2 Views: 2,908 Embed shockwave file in asp page? can i embed shockwave file in asp page?? How do i do it??? i am getting error message from macrmedia 8...
error message "The tag name: "embed" Not found in currently active version.[XHTML 1.0... |
Forum: ASP.NET Sep 24th, 2006 |
| Replies: 5 Views: 3,520 ASP.Net & Macromedia Flash MX My Question is
1. Can Macromedia Flash MX *.swf file or animation created in Flash MX publish in ASP.Net page, i know HTML is able to do so BUT is ASP.Net able to?
2. If it is, is there any online... |
Forum: C++ May 2nd, 2006 |
| Replies: 9 Views: 1,111 Re: I Need Help!! #include<iostream>
using namespace std;
const int element = 10;
class solution {
public:
solution(); |
Forum: Visual Basic 4 / 5 / 6 May 2nd, 2006 |
| Replies: 1 Views: 1,353 Validation function i have created a textbox, and if the user have enter an invalid value, the textbox must be able to check whether the value enter by the user is a string or an integer. I have set the... |
Forum: VB.NET Apr 14th, 2006 |
| Replies: 1 Views: 691 Confuse I am quite confuse between Visual Basic 6 & VB.net. Can someone please explain what is the different between these 2? I have some comment from my friend saying it is better to learn VB.net than VB... |
Forum: Java Feb 14th, 2006 |
| Replies: 3 Views: 4,266 How to create a JAR file ? Does anyone know how to create a JAR file using JCreator ? i have try to create it but it gives me this error " Failed to load Main-Class manifest attribuite from c:\hello\.jar" which i doesn't... |
Forum: Java Jan 17th, 2006 |
| Replies: 3 Views: 908 why i got this error ?? why i got this error??? Is my java installation wrong?
Exception in thread "main" java.lang.NoSuchMethodError:main
press any key to continue............................. |
Forum: Python Jan 6th, 2006 |
| Replies: 3 Views: 1,289 |
Forum: Python Jan 4th, 2006 |
| Replies: 3 Views: 1,289 Is this correct ? Is this correct? How do i fix the error?
for i in range(10):
for j in range(10):
if(list[i] != alpha[j]) |
Forum: Python Dec 27th, 2005 |
| Replies: 3 Views: 1,610 Re: A simple question on operator If case <=2 or case >=5, it will enter the while loop. the code below doesn't solve my problem. why can't it enter the while loop when my case match this condition case <=2 or case >=5
while case<0... |
Forum: Python Dec 27th, 2005 |
| Replies: 3 Views: 1,610 A simple question on operator I can do a control loop like this in C++
int case =0;
while( case<0 && case>20){}
How am i suppose to implement this in Python? I didn't get any errors if i wrote this, the problem is it doesn't... |
Forum: Python Dec 27th, 2005 |
| Replies: 4 Views: 1,662 |
Forum: Python Dec 25th, 2005 |
| Replies: 4 Views: 1,662 Unsolved : New to python Why i got this error ?
newS = sentence.lower()
AttributeError: 'tuple' object has no attribute 'lower' |
Forum: Python Dec 24th, 2005 |
| Replies: 4 Views: 1,662 New to python Do anyone know why i got this error ? Do i have to import anything in order to use string.lower() & string.upper() ?
sentence = "how are you"
newS = string.lower(sentence)
NameError: name 'string'... |
Forum: C Dec 10th, 2005 |
| Replies: 2 Views: 1,670 Re: Bubble sort & File output jibrish errors??? if u are using getch(), it not #include <io.h>. Is #include<conio.h>. You forgot to define 1 of your function int find_free(struct CdRecords cdDB[]);.And i think your main problem with your program... |
Forum: C++ Dec 8th, 2005 |
| Replies: 2 Views: 1,898 Re: I guess it's a question about a loop This is an example i did for your question. It's a simple source code, hope you can understand. As for print a boarding pass, run the program and see whether it is this way. If isn't, please let me... |
Forum: Java Nov 30th, 2005 |
| Replies: 1 Views: 1,023 A True Novice. I need some guidance because i haven't started to learn java. May i know what type and the name of book is suitable for a beginner ? And does anyone know what type of software i have to install in... |
Forum: C++ Nov 30th, 2005 |
| Replies: 2 Views: 3,997 Re: min and max values The code in BLUE it is where i change/add. The min_element and max_element is a function that return the maximum and minimum value.
// Gymnastics Competition Problem
// Laura Ade
#include... |
Forum: C Sep 30th, 2005 |
| Replies: 1 Views: 1,185 how to use MFC ? Do anyone know why i got this error mesage ?
Linking...
msvcrtd.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main
Debug/welcome.exe : fatal error LNK1120: 1 unresolved... |
Forum: C++ Jul 16th, 2005 |
| Replies: 4 Views: 48,355 |
Forum: C++ Jul 16th, 2005 |
| Replies: 4 Views: 48,355 how to change char into int hi, i am a newbie and i just started to learn C++.
My question is , if i put a number like 45678 in char x[6] then how do i separate each number and put it into int num[6]. |