Forum: C# Jun 29th, 2006 |
| Replies: 3 Views: 2,957 Greetings:
It can be done via JNI, i once did that in 2 steps, from java to c++ and then from c++ to c#, in java`s webpage there`s a tutorial on doing this, from java to c++ and viceversa.
For... |
Forum: Java Feb 9th, 2006 |
| Replies: 1 Views: 1,895 Greetings:
I was wondering, how can i run a .class from a different location?
For example, supose that i have c:\A.class, in MS-DOS supose that im at d:\whatever\whatever\, if i run java c:\A, i... |
Forum: Java Feb 9th, 2006 |
| Replies: 7 Views: 3,404 Greetings:
You could try with GridBagLayout, it allows you to control a little more the appereance by using weights for the spaces that the components use, something like this:
GridBagLayout... |
Forum: C# Feb 6th, 2006 |
| Replies: 5 Views: 2,994 Greetings:
You could use a process for this:
Process p=new Process();
p.StartInfo.FileName=file;
p.StartInfo.WindowStyle=ProcessWindowStyle.Hidden;
p.Start();p.WaitForExit();p.Close();
Just... |
Forum: Java Feb 4th, 2006 |
| Replies: 4 Views: 1,593 Greetings:
You should really pay attention at server_crash points, anyway, this should do the trick:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Test extends... |
Forum: Java Feb 4th, 2006 |
| Replies: 2 Views: 1,871 Greetings:
Check this (http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html) link, almost at the bottom there is class named DrawingPanel, they extend JPanel to behave as... |
Forum: Java Feb 4th, 2006 |
| Replies: 2 Views: 1,138 Greetings:
Thanks jwenting, it worked like a charm |
Forum: Java Feb 4th, 2006 |
| Replies: 1 Views: 2,216 Greetings:
I don`t quite understand your question, but from reading your other post (I think you should have posted this in the other post), i think that using an array for the bets wouldn`t be the... |
Forum: Java Feb 3rd, 2006 |
| Replies: 2 Views: 1,138 Greetings:
I`m starting in Java and i`m having problems with compatibility between versions, in school they have an older version(I believe its 1.4.0 but i`m not completely sure) than the one i have... |
Forum: C Nov 9th, 2005 |
| Replies: 1 Views: 14,548 Greetings:
That`s my question, until know i`ve been doing it by a batch file that i execute then read, is there a way to do it without the batch?, what i need is to list all of the Word (.doc) files... |
Forum: C# Oct 6th, 2005 |
| Replies: 2 Views: 13,941 Greetings:
There are two ways for manipulating pdf files, the hard way is to develop a library to read an write pdf files (easier said than done) you can find everything you`ll need for writing one... |
Forum: C# Sep 29th, 2005 |
| Replies: 4 Views: 13,132 Greeting:
That a usual problem with random number, the best way to minimize this to use a seed for the random based on the actual time, something like this:
DateTime x=DateTime.Now();
float... |
Forum: C# Sep 29th, 2005 |
| Replies: 5 Views: 9,328 Grretings:
Just remove that part from the string:
s.Remove(0,3);
the remove method takes two parameter, the index where you want to start removing and length you wish to remove |
Forum: C# Sep 29th, 2005 |
| Replies: 2 Views: 7,623 Greeting:
Thanks, that was what i was missing |
Forum: C# Sep 29th, 2005 |
| Replies: 2 Views: 7,623 Greetings:
I developed a simple application for text encryption, i managed to register the new extension, my question is how to open this files from outside the program?(when you double click on... |
Forum: C# Sep 28th, 2005 |
| Replies: 6 Views: 11,774 Greetings:
You could use a loop for the number of the table on your DataTable to update all, there`s a way of updating all in one pass but i think this method gives you more control on the values... |
Forum: C# Sep 27th, 2005 |
| Replies: 6 Views: 11,774 Greetings:
Actually i spent a lot of time trying to do this with the default updateCommand, but, with no satisfactory results, my suggestion is to use sql commands with an OleDbCommand, what you... |