Search Results

Showing results 1 to 40 of 121
Search took 0.01 seconds.
Search: Posts Made By: tonakai
Forum: C# Aug 16th, 2008
Replies: 2
Solved: New to C#
Views: 463
Posted By tonakai
if you are using other dll's you can't access their internal classes or properties.

http://msdn.microsoft.com/en-us/library/7c5ka91b(VS.80).aspx check this url for examples
Forum: C# Aug 16th, 2008
Replies: 2
Views: 4,093
Posted By tonakai
actually in C# preferred method for saving connectionstring is using app.config file.

<configuration>
....
<connectionStrings>
<add name="your_connection_string_name"...
Forum: Java Apr 26th, 2008
Replies: 3
Views: 614
Posted By tonakai
missing return statement means that your method expects you to return a value. for example :

int add(int x, int y) {
return x+y;
}


if your method does not return a value its signature...
Forum: Java Jul 26th, 2007
Replies: 7
Views: 3,351
Posted By tonakai
i suggest:
hibernate for data layer
spring for MVC
freemarker view layer
dwr for ajax
Forum: Geeks' Lounge Jul 23rd, 2007
Replies: 81
Views: 4,967
Posted By tonakai
stay
stranger than fiction
little miss sunshine
Forum: Java Jul 18th, 2007
Replies: 5
Views: 7,899
Posted By tonakai
i didn't run the code but it seems you need to set sum to zero somewhere in your code. (after you complete factoring a number i guess)
Forum: Java Jul 18th, 2007
Replies: 41
Views: 4,423
Posted By tonakai
cds is an array of CompactDisk, so it didn't have method like setCdArtist, (or getCdArtist)
you can first create a Cdartist, then assign it to a place in cds
Forum: IT Professionals' Lounge Jul 18th, 2007
Replies: 107
Views: 15,763
Posted By tonakai
ofcourse we are! ;)
Forum: IT Professionals' Lounge Jul 18th, 2007
Replies: 107
Views: 15,763
Posted By tonakai
I am from Turkey
Forum: C# Jul 12th, 2007
Replies: 2
Views: 1,455
Posted By tonakai
you can create a seperate class, then use it in your forms...
for example

public class myDBAccess {
public string getFoo() {
//your db access logic
}
}

then you can use it...
Forum: C# Jun 20th, 2007
Replies: 3
Views: 4,058
Posted By tonakai
i think problem is with

rand= new Random();

which is seed by current time, if you call this too fast, rand will be seed by the same seed value.
you need to create random object once, and...
Forum: Java Jun 15th, 2007
Replies: 8
Views: 2,032
Posted By tonakai
you can simply write a crush calculator by yourself

int calc(string name1, string name2) {
//you can also put any silly calculation
return 50;
}
you either love her/him or not :)
Forum: Geeks' Lounge Jun 13th, 2007
Replies: 146
Views: 30,027
Posted By tonakai
Claymore episode 8 is the most shocking episode i've seen for a while...
don't worry i will not spoil it ;)
Forum: Game Development May 18th, 2007
Replies: 11
Views: 11,508
Posted By tonakai
well i don't think javascript html or css will help you, since these are mainly used for visuals. (but you still need them ;) )
you need some server-side stuff, you can start with php + mysql, but...
Forum: Java Mar 7th, 2007
Replies: 7
Solved: Using JAR file
Views: 1,668
Posted By tonakai
:) good luck to you but i don't think there is an another way...
Forum: C# Mar 7th, 2007
Replies: 6
Views: 2,124
Posted By tonakai
in c# i++ means (not totally equal but) i+=1 which also equals i=i+1

so if you want 3 step you can use i+=3 or i=i+3
Forum: Java Mar 7th, 2007
Replies: 7
Solved: Using JAR file
Views: 1,668
Posted By tonakai
i think you still need to define classpath or you can create a jar file (your classes + 3rd party jars) and run from it...

you can use eclipse or netbeans for creating jars easily
Forum: Java Mar 7th, 2007
Replies: 7
Solved: Using JAR file
Views: 1,668
Posted By tonakai
do you want to run this JAR file or do you want to import it in your application so you can use it?
Forum: C# Mar 7th, 2007
Replies: 6
Views: 2,124
Posted By tonakai
lets look....


r==9 is your problem which returns false in the first run. (r=1)

try < or <= according to your needs...
Forum: C# Mar 7th, 2007
Replies: 1
Views: 3,598
Posted By tonakai
change your code from

protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e)
{
//dosomething
}


to
Forum: Java Mar 6th, 2007
Replies: 1
Views: 1,200
Posted By tonakai
you need jdk (http://java.sun.com/javase/downloads/index.jsp)
jre is runtime environment
Forum: Game Development Mar 6th, 2007
Replies: 2
Solved: "Break Apart"
Views: 2,608
Posted By tonakai
break apart simply break objects apart :)
write some text with flash then break it apart... you can then select individual characters...
also you can break apart bitmaps. after breaking apart you...
Forum: Java Mar 6th, 2007
Replies: 15
Views: 6,206
Posted By tonakai
i found your problem...



this is not a constructor.... :) i think you put void mistakenly
Forum: Java Mar 6th, 2007
Replies: 15
Views: 6,206
Posted By tonakai
did you try to use netbeans mobility? you can debug your midlets there...
masijade can be right, NPE may be thrown somewhere else...

good luck
Forum: IT Professionals' Lounge Mar 5th, 2007
Replies: 1
Views: 1,540
Posted By tonakai
that depends on what you want to do,
if you want to do web applications, then i suggest you to learn dotNET, Java or Ruby on Rails stuff with some database like MSSQL, MYSQL, Oracle...
i also...
Forum: IT Professionals' Lounge Mar 1st, 2007
Replies: 1
Views: 1,311
Posted By tonakai
which one do you like to do most?
Forum: Posting Games Feb 28th, 2007
Replies: 832
Views: 49,233
Posted By tonakai
Fun Fun Fun - Beach Boys
Forum: Java Feb 23rd, 2007
Replies: 4
Views: 1,612
Posted By tonakai
well, if you move control points far away from your original points, your curve bends more.

you can draw normal lines with the points that you use for cubicCurve, so that you can see both control...
Forum: Java Feb 23rd, 2007
Replies: 4
Views: 1,612
Posted By tonakai
http://java.sun.com/docs/books/tutorial/2d/overview/primitives.html

you can check here,
ctrlx and ctrly means a control point's x and y coordinates...
Forum: Java Feb 22nd, 2007
Replies: 2
Views: 2,621
Posted By tonakai
file operations are a bit messy since *nix and windows handle filenames differently...
so my advice is... use log4j (http://logging.apache.org/log4j/docs/)
its a nice tool for logging in java
if...
Forum: Java Feb 22nd, 2007
Replies: 7
Views: 2,758
Posted By tonakai
java provides platform-independence by placing a layer between your os and your application... i don't think there is an alternate way of doing this...
unless everybody uses same OS... (stupid idea...
Forum: Java Feb 22nd, 2007
Replies: 7
Views: 2,758
Posted By tonakai
i think you need J2ME (JME)
many PDA can run JME MIDP 1.1 and MIDP 2.0

http://java.sun.com/javame/index.jsp
you can check here

also check your computer has java virtual machine or some kind...
Forum: Computer Science Feb 22nd, 2007
Replies: 4
Views: 1,433
Posted By tonakai
applications you write in java is platform-independent. java virtual machine needs to be platform independent...


endianness is basicly means how data is stored in smaller units... read this...
Forum: Java Feb 20th, 2007
Replies: 1
Views: 8,351
Posted By tonakai
i think that is impossible with current MIDP 2.0
because it is not supported :)

you can implement your own screen manager using canvas, but it will take some time. and also you need to handle...
Forum: Java Feb 20th, 2007
Replies: 3
Views: 15,596
Posted By tonakai
isn't it ceasar cipher (http://en.wikipedia.org/wiki/Caesar_cipher) :P

if you want to store passwords in db, i suggest you cryptographic hash functions...
Forum: C++ Feb 20th, 2007
Replies: 8
Views: 5,619
Posted By tonakai
write more, more and more code till you faint in front of the computer ;)
Forum: C# Feb 19th, 2007
Replies: 3
Views: 8,201
Posted By tonakai
class staticClass {
public static void staticMethod() {
//do something
}
}



I don't understand this question? what is an item?
Forum: C# Feb 15th, 2007
Replies: 2
Views: 1,241
Posted By tonakai
yep they are similar, both OOP languages...
you add "references" to your projects. many libraries are avaible in .net framework, but if you need more specific things, you need to find these...
Forum: IT Professionals' Lounge Feb 15th, 2007
Replies: 25
Views: 13,620
Posted By tonakai
let me clear this for you ;)
i was speaking 40k-60k USD per year...
but many new graduades are working lower than that value... in turkey
Forum: IT Professionals' Lounge Feb 12th, 2007
Replies: 25
Views: 13,620
Posted By tonakai
well actually i am from turkey, so these values change greatly...
i think you can work 40k-60k as a software engineer in turkey.
in europe you can earn way more than that, double may be.
i am not...
Showing results 1 to 40 of 121

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC