Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~19.6K People Reached
Favorite Tags

49 Posted Topics

Member Avatar for Vampiricx3

Maybe you are talking about the System.getProperty method, here is my aproach: [CODE] import java.io.BufferedReader; import java.io.InputStreamReader; public class CommandLine { public static void main(String[] args) { boolean active = true; String username = System.getProperty("user.name"); String os = System.getProperty("os.name").trim(); try{ while(active){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); System.out.print(username + "@" …

Member Avatar for DavidKroukamp
0
166
Member Avatar for bivashkumar41

well you simply creat 5 textboxes dinamically, there is no big deal: [CODE] int user_input = getUserInput(); //your method to get this input int count = 0; while(count <= user_input){ JTextField dinamyc_textfield = new JTextField(); dinamyc_textfield.setVisible(true); dinamyc_textfield.setBounds(/*Do some math here to get the correct bounds*/); dinamyc_textfield.setName(String.valueOf(count)); next_frame.add(dinamyc_textfield); count++; } [/CODE] …

Member Avatar for bivashkumar41
0
119
Member Avatar for aanders5

have you tried reinstanciate the array [CODE] public void clear(JButton[][] myArray){ myArray = new JButton[i][j]; //whatever your dimensions are } [/CODE] can you be a little bit more specific?

Member Avatar for aanders5
0
261
Member Avatar for desup

you can initialize it as null, and then when you know how long will it be, you can assign a new array. [CODE] int[] myArray = null; //somwhere else at your code myArray = new int[10]; //or whatever your lenght will be [/CODE] just be shure to access it after …

Member Avatar for desup
0
155
Member Avatar for techyworld

your paint method seems prety static to me, where is the dynamic part? are this values coming somewhere?, also if you are overriding the paint method you will spend some hard time trying to do it dynamically. Instead I found this nice example from Rose India: [url]http://www.roseindia.net/java/example/java/swing/draw-pie-chart.shtml[/url] hope it helps

Member Avatar for JamesCherrill
0
364
Member Avatar for ringo_tech

Hello, this thread is 7 days old and maybe by now your problem is solved, but in case not, I'm guessing by the nature of your problem, that you are using some kind of OutputStream in the client side. Everytime you close the stream, you are automatically closing the socket …

Member Avatar for RicardoE
0
85
Member Avatar for ujjwale

Hello, java is one of the most powerful programming languages today, if you look at the TIOBE ranking, its on first place: [url]http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html[/url] I'm developing an online course to java, its under development, but we will launch a blog soon with lots of great content. if you want to sing …

Member Avatar for stultuske
0
128
Member Avatar for riahc3

I know how to do this in linux, but it might be similar in windows, so say you have your Tomcat shell script in your init.d directory, your command should be [CODE] service Tomcat {start|stop|restart} [/CODE] then to run it in java you might want something like: [CODE] String cmd …

Member Avatar for RicardoE
0
254
Member Avatar for kalcio

I recomend you to use [URL="http://www.graphviz.org/"]GraphViz[/URL], it is a really simple to use graph toolkit I used it to represent codeblocks withing thre address code in order to run some optimizations. then you run the tracert like: [CODE] Process p; p =Runtime.getRuntime().exec("tracert <options>"); readResult(p.getInputStream()); p.destroy(); [/CODE] where readResult is where …

Member Avatar for kalcio
0
147
Member Avatar for bhallarahul

yes why not, you can implement comunications trough both via webservices. the hard part is to configure both in the same server.

Member Avatar for bhallarahul
0
105
Member Avatar for jkembo

you mean like moving it to another jtextfield all components based elements in java should have a method [CODE]requestFocus(boolean temporary) [/CODE] So to move the cursor to another component when condition is acomplished, you simply set it to true [CODE] boolean yourCondition = true; yourJtextField.requestFocus(yourCondition); [/CODE] hope it helps.

Member Avatar for jkembo
0
643
Member Avatar for MicroD
Member Avatar for RicardoE

Hello all, So I just moved from mocahost (worst web hosting service ever) to HostSo wich I recomend as is cheap and surprisingly good :) so the question is, after I pointed my nameservers to HostSo, I get that mysite.com is live bur [url]www.mysite.com[/url] is down. Any idea on how …

Member Avatar for seonetsmartz
0
156
Member Avatar for RicardoE

Hello dear community, I have a problem which I have no idea how to walk around, see I have a really large database, with france zip codes, I imported this data from excel. the thing is that when it imported all the zip codes starting by 0 are not starting …

Member Avatar for smantscheff
0
144
Member Avatar for shaiyatoplist
Member Avatar for Rhamises
0
150
Member Avatar for RicardoE

Ok! Hello Daniwebbers, lets see if you can help me this time: I'm planning to do a bot, to login into a site, collect some data and then send a report to me. Problem is, I've done some web-scrapping data before, but I have no idea on how to do …

Member Avatar for RicardoE
0
154
Member Avatar for Majestics
Member Avatar for Majestics
-1
75
Member Avatar for Dean_Grobler

How about this ones: [url]http://books.google.com/books?id=dpY4wQMIBl0C&lpg=PA16&dq=java%20GXT&hl=es&pg=PP1#v=onepage&q=java%20GXT&f=false[/url] [url]http://books.google.com/books?id=W63YTzab8gkC&lpg=PA1&dq=java%20xml&hl=es&pg=PA1#v=onepage&q&f=false[/url]

Member Avatar for RicardoE
0
180
Member Avatar for RicardoE

Hi I would like a crhon job to do the following: 1) copy a zip file, eg: [url]www.somesite.com/file.zip[/url] to [url]www.mysite.com/file.zip[/url] 2) unzip such file 3) move the unziped files to another directory, after reading one of those files. Please, I have no idea on how to do this... (my thing …

Member Avatar for RicardoE
0
141
Member Avatar for happygeek

awsome dude, you should place a reference so I can find a nice place to get one of these things. Thanks

Member Avatar for Robinton
1
1K
Member Avatar for RicardoE

So I writed a complete software, and I included one custom file in the installer to hold some settings the program will need to run. The thing is that the program will need to write to this file when the user changes settings. When I run the program from Visual …

Member Avatar for Momerath
0
198
Member Avatar for reanopp

Also You may want to obfuscate your code using some free obfuscator... look at sourceforge, so that no one will understand your code if decomipled :D

Member Avatar for Momerath
0
255
Member Avatar for RicardoE

Well first of all, I want to know if it is true, is Linq faster than default Collections methods like, contains(), size() etc... for example if I load a 3MB text list into a List<T> to find a specific string, will it be faster to use Linq or normal methos …

Member Avatar for Momerath
0
134
Member Avatar for RicardoE

Hello, I have a problem, I'm interfacing C# with MySQL it seems to be that a lot of connections are left open even when the close() function and the dispose() functions are called. Also I've notice that the server only resists like 80 queryes at the time, then it halts …

Member Avatar for Momerath
0
108
Member Avatar for RicardoE

Hi, Today I was reviewing traffic for one of my websites, I found out that someone linked a jpg image into a forum, and now its getting huge bandwith I mean a lost of hits even when the image was deleted, hits I could use, is there a way for …

Member Avatar for RicardoE
0
152
Member Avatar for andrewliu

Check you connection string, trim database names, see if firewall is not blocking any MySQL port. If that dont work, use die statement and post the exception here, if you cant figure out. do like this: [CODE]$sql = "your_query"; $con = mysql_connect(your_connection_string) or die("error ".mysql_error()); if (!$con) { die('Could not …

Member Avatar for andrewliu
0
113
Member Avatar for RicardoE

Hello, can you guys please sugest a way to have today date substracted 7 days, and have al of this 7 days into one String array? thanks.

Member Avatar for RicardoE
0
168
Member Avatar for RicardoE

Can you please give me, or point somewhere, to find some sample code in FASM I'm trying to do a very simple program asking for a password, if the pass is correct display a message, if not exit program. Thank you very much :)

0
171
Member Avatar for prayag.419

also you want to download the C# express edition (since it is free) here: [url]http://www.microsoft.com/express/Downloads/#2010-Visual-CS[/url] then you want to design a nice looking GUI just imagine functionality of your project. and then you can get under the hood and start working, there are plenty of code tutorials to connect to …

Member Avatar for prayag.419
0
170
Member Avatar for RicardoE

Hello Dani Webbers, So I've been given this old-as-hell database, it was designed in 1993 under pick, and it isn't at all normalized, in a good effort I've migrated all the data into MSSQL 2008 server and I have some several to several relations between tables, on of these relations …

Member Avatar for buddylee17
0
85
Member Avatar for RicardoE

Hello internet marketers, So my situation is that I have 1 or 2 (second is not finished yet) internet sites, the first one have been very frustrating because I've spent money in adwords, link building, directory submitting, and some other stuff and the thing is that I cant get any …

Member Avatar for lillygil
0
103
Member Avatar for jlininger

[QUOTE=shruthi512;1385903]how we can set the form size is equal to the screen sixe dynamically in C# .net.[/QUOTE] you want to use the WindowState property in the Load method of the form. also you want to change the FormBorder value to "none"

Member Avatar for Diamonddrake
0
101
Member Avatar for RicardoE

Hello, you'll see I'm a gamer as well as a web/desktop developer and I have built so many application in both technologies. But yesterday I was amused by something I saw. I like to play this Combat Arms game from Nexon a very well developed FPS online action game, scince …

Member Avatar for Graphix
0
172
Member Avatar for RicardoE

Hi, I have a table which stores 2 values as follow REC_TEST Id_Customer Id_Apply Id_Apply can take 2 values, "YES" or "NO" if he passes the test I've designed or not. I want to know if there is a way to take all "YES" and all "NO" from the same …

Member Avatar for karant
0
107
Member Avatar for RicardoE

Hello all, I'm having some problems, see I'm making an API in php to my web app comunicate to a desktop app. Anyways, when I try to post some data to the site I need a url to go in that data, example: name=product[B]&[/B]description=something[B]&[/B]site=mysite.com?name=a[B][I]&[/I][/B]desc=b this is how the post is …

Member Avatar for ﻼim
0
113
Member Avatar for verbalurbs

There are several ways to do this, I'll show you one: [B]Step 1:[/B] you have to import Sql Client libraries, otherwise this wont work [CODE] Imports System.Data.SqlClient [/CODE] [B]Step 2:[/B] Set a connection string to the DB, you can find several connection strings types at: [URL="http://www.connectionstrings.com/"]http://www.connectionstrings.com/[/URL] to set this use: …

Member Avatar for OldManStarting
0
907
Member Avatar for RicardoE

Hello All: I'm not quite a assembler developer (C# is my manner), this time I've been asked to come out with a md5 file cypher, can someone please provide some source code? I've tried using asmutils but no luck, please give me suggestions. Thank you very much. P.D: it is …

0
97
Member Avatar for RicardoE

Hello All, I'm currently developing an application to Map HTML/Javascript/CSS to C# Objects and code, and I have come to a point where I get to translate all de Javascript Code to C# and the HTML to C# GUI for example: [CODE]<Input type="Button" value="Button1" class="btn_java" onClick="javascript:MyFunction()" />[/CODE] I had no …

0
62
Member Avatar for RicardoE

Hello all, can anyone tell me how to make a JFrame fixed, by not allowing user to drag it somewhere else in the window? like doking the JFrame in the screen, also disallow user to resize it. Thanks.

Member Avatar for amit.hak50
0
204
Member Avatar for judithSampathwa

Why not trying the Convert.ToDateTime() method, take a look: [url]http://msdn.microsoft.com/en-us/library/9xk1h71t.aspx[/url]

Member Avatar for gusano79
0
120
Member Avatar for RicardoE

Hello people! I need a php application, client changed his mind in the middle, so I need it fast! Please recomend, php code generators, tools, IDE's Frameworks, everything that is easy to learn and use. (I've already trying symfony but I find it complex to use)

Member Avatar for keval_hack
0
138
Member Avatar for ardn0001

No man! tenes que usar Threads definitivamente mira que es bien facil, hace lo siguiente: [CODE] Thread myThread = new Thread(new Runnable(){ public void run(){ //Las acciones del metodo aqui } }); //en otra seccion del programa ... myThread.interrupt(); //seria mas facil si haces myThread accesible a todos los metodos …

Member Avatar for ardn0001
0
5K
Member Avatar for olibara

...or you can use .ShowDialog() function, then one of the buttons in the dialog form will need the DialogResult property set, so that way you can catch DialogResult OK, or CANCEL or whatever... I think this is safer, but of course user can only open one dialog at time.

Member Avatar for RicardoE
0
2K
Member Avatar for RicardoE

Hi All, I have a small company which is studying the posibilty to create a freeware opensource Visual Basic IDE, built in QT/C++ for running under linux and generating object code and assembler code in a easy way. So to start, I was wondering if anyone have a Visual Basic …

0
90
Member Avatar for complete

Maybe you should use a LinkedList of LinkedList, would be slower but more powerfull as LinkedList are dinamically Allocated. [CODE] public LinkedList<LinkedList<LevelNode>> ExistingXMLList; [/CODE]

Member Avatar for RicardoE
0
682
Member Avatar for Cactusmania

You need to go to the FileBrowse.Designer.cs file, search where the btnBrowse declaration is, and change it to public, anyways this would only grant you acces to the very button properties, as Size, text etc... if you want to execute button instructions, you need to place those instructions into one …

Member Avatar for Cactusmania
0
94
Member Avatar for erfanjan

[URL="http://faxdotnet.codeplex.com/"]http://faxdotnet.codeplex.com/[/URL]

Member Avatar for kvprajapati
0
160
Member Avatar for khan17

Try creating a method which contains instructions of button1, then invoke that method when clicking button1 and when clickin button2 also, like this:[CODE] private void button1_Click(object sender, EventArgs e) { webBrowser1.Navigate("http://xxx/login.aspx"); this.button2_Actions(); } private void button2_Click(object sender, EventArgs e) { this.button2_Actions(); } private void button2_Actions(){ webBrowser1.document.GetElementById("userlogin").InnerText = "xxxxx"; webBrowser1.document.GetElementById("passwd").InnerText = …

Member Avatar for khan17
0
2K
Member Avatar for RicardoE

Hello, folks at Dani Web I'm a new to Dani Web and I hope to be helpful to a lot of people, but first I want to ask something. You see I have a huge problem, it begins with a desktop app I'm currently coding written in C# for a …

Member Avatar for RicardoE
0
101