Showing results 1 to 35 of 35
Search took 0.01 seconds.
Posts Made By: k_en
Forum: Java Jun 24th, 2008
Replies: 4
Views: 547
Posted By k_en
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
Posted By k_en
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
Posted By k_en
Re: convert time to 24 hour minutes second

Thanks javaAddict.....got your idea........your method works.....

select TO_CHAR(date_col,'DD/MM/YYYY HH24 : MI : SS') from table tbl;
Forum: Java Jun 6th, 2008
Replies: 5
Views: 386
Posted By k_en
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
Posted By k_en
Re: convert time to 24 hour minutes second

just tested....it works !! thanks
still need to try it in DB2
Forum: Java Jun 4th, 2008
Replies: 10
Views: 2,805
Posted By k_en
Re: convert time to 24 hour minutes second

if i do it this way
String time = x.getTime(1).toString();

will it 24 hour minutes and second in the format 001236 ?
Forum: Java Jun 4th, 2008
Replies: 10
Views: 2,805
Posted By k_en
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
Posted By k_en
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
Posted By k_en
Re: Type mismatch

Thanks.....Solve
Forum: ASP Mar 27th, 2007
Replies: 2
Views: 2,315
Posted By k_en
Help 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
Posted By k_en
Question 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
Posted By k_en
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
Posted By k_en
Error in creating ODBC connection."Reason: Not assosiated with a trusted SQL Server"

I have a problem creating a ODBC connection. I am using MS SQL server 2000. Local access. I create it in System DSN.

1. I select the "With SQL Server authentication using a login ID and password...
Forum: Java Oct 18th, 2006
Replies: 1
Views: 1,091
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
Re: Is this correct ?

:mrgreen: Thank You. My Error is using the python keyword list.
Forum: Python Jan 4th, 2006
Replies: 3
Views: 1,289
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
Forum: Python Dec 25th, 2005
Replies: 4
Views: 1,662
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
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
Posted By k_en
Re: how to change char into int

Thank you , why do i have to do this??? can anyone pls explain??

num[i] = atoi(&temp);
Forum: C++ Jul 16th, 2005
Replies: 4
Views: 48,355
Posted By k_en
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].
Showing results 1 to 35 of 35

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:10 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC