Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
java x 8
pdf x 1
c x 1
c# x 1

14 Posted Topics

Member Avatar for ROGENATOR

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 of a given directory Thanks in advance

Member Avatar for prvnkmr449
0
205
Member Avatar for coder82

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 [url=http://partners.adobe.com/public/developer/pdf/index_reference.html]here[/url], the easier way is to use PDFKit.net, from [url=www.tallcomponents.com]tallcomponents[/url], in there you can …

Member Avatar for sheeby2
0
118
Member Avatar for tayspen

Grretings: Just remove that part from the string: [code] s.Remove(0,3); [/code] the remove method takes two parameter, the index where you want to start removing and length you wish to remove

Member Avatar for jaiprakashv
0
617
Member Avatar for plazmo

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: [code] DateTime x=DateTime.Now(); float mins=x.Minute; float secs=x.Second; float hour=x.Hour; Random r=new Random((secs*mins)+hour); [/code] This way unless you run your program at …

Member Avatar for LizR
0
227
Member Avatar for it-1

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 writing c# code in Java code, im pretty sure that`s …

Member Avatar for Lord Soth
0
335
Member Avatar for student_help

Greetings: You could use a process for this: [code] Process p=new Process(); p.StartInfo.FileName=file; p.StartInfo.WindowStyle=ProcessWindowStyle.Hidden; p.Start();p.WaitForExit();p.Close(); [/code] Just make sure youre using System.Diagnostics

Member Avatar for plazmo
0
150
Member Avatar for javafan

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: [code] GridBagLayout gridbag = new GridBagLayout(); this.getContentPane().setLayout(gridbag); GridBagConstraints c = new GridBagConstraints(); c.fill = GridBagConstraints.BOTH; //to add components you just asign …

Member Avatar for jwenting
0
147
Member Avatar for ROGENATOR

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 get: Exception int hread "main" java.lang.No ClassDefFoundError c:\A I`ve also tried using: [quote] java -cp . …

Member Avatar for jwenting
0
111
Member Avatar for tdizzle342

Greetings: You should really pay attention at server_crash points, anyway, this should do the trick: [CODE]import java.awt.*; import java.awt.event.*; import java.applet.*; public class Test extends Applet implements ActionListener{ private Button b1,b2; private Label l1,l2; public void init() { GridBagLayout g=new GridBagLayout();setLayout(g); GridBagConstraints c=new GridBagConstraints(); c.fill=GridBagConstraints.HORIZONTAL; l1=new Label();l2=new Label(); b1=new Button("Jhon");b1.addActionListener(this); …

Member Avatar for tdizzle342
0
113
Member Avatar for jigvesh

Greetings: Check [URL=http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html]this[/URL] link, almost at the bottom there is class named DrawingPanel, they extend JPanel to behave as canvas, hope that helps :cheesy:

Member Avatar for ROGENATOR
0
66
Member Avatar for ROGENATOR

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 at home(1.5.0_04), so almost every time i try to open a applet/application at school i get errors, …

Member Avatar for ROGENATOR
0
102
Member Avatar for x2k3wl

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 best answer, why dont you create a class that "hosts" the bets with four …

Member Avatar for ROGENATOR
0
116
Member Avatar for ROGENATOR

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 them), i know that you need to pass some parameters to the main method but im not sure …

Member Avatar for ROGENATOR
0
99
Member Avatar for c#dummie

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 need is to check if there was an update and if so enter a sql instruction: if(myDataSet.HasChanges()){ …

Member Avatar for ROGENATOR
0
199

The End.