Just found a quick solution for get the jre version
Created a small class file that will be included on the exe using this code
javac Test.java
public class Test{
public static void main(String[] args){
System.out.println(System.getProperty("java.vm.version"));
}
}
then i have this code on ...
Search found 111 matches
- Thu Oct 05, 2006 11:20 am
- Forum: Coding Questions
- Topic: 2 Questions about RunProgram
- Replies: 8
- Views: 1753
- Thu Oct 05, 2006 9:47 am
- Forum: Coding Questions
- Topic: 2 Questions about RunProgram
- Replies: 8
- Views: 1753
- Wed Oct 04, 2006 6:58 pm
- Forum: Coding Questions
- Topic: 2 Questions about RunProgram
- Replies: 8
- Views: 1753
Re: 2 Questions about RunProgram
YeahTrond wrote:Did you turn on the debugger and read the manual description of Debug?porfirio wrote:Hi all
The first question is:
Why this code gives right output
and this one dont:
either i get
Exitcode: 0
- Wed Oct 04, 2006 4:36 pm
- Forum: Coding Questions
- Topic: 2 Questions about RunProgram
- Replies: 8
- Views: 1753
2 Questions about RunProgram
Hi all
The first question is:
Why this code gives right output
OpenConsole()
PrintN("Running Java")
JavaP = RunProgram("java", "-version", "",#PB_Program_Hide|#PB_Program_Open|#PB_Program_Read)
If IsProgram(JavaP)
While ProgramRunning(JavaP)
PrintN(ReadProgramString(JavaP))
Wend
PrintN ...
The first question is:
Why this code gives right output
OpenConsole()
PrintN("Running Java")
JavaP = RunProgram("java", "-version", "",#PB_Program_Hide|#PB_Program_Open|#PB_Program_Read)
If IsProgram(JavaP)
While ProgramRunning(JavaP)
PrintN(ReadProgramString(JavaP))
Wend
PrintN ...
- Sun Jan 15, 2006 12:07 pm
- Forum: Coding Questions
- Topic: Show a directry in TreeGadget
- Replies: 15
- Views: 3129
- Sat Jan 14, 2006 7:55 pm
- Forum: Coding Questions
- Topic: Show a directry in TreeGadget
- Replies: 15
- Views: 3129
- Sat Jan 14, 2006 12:08 pm
- Forum: Coding Questions
- Topic: Show a directry in TreeGadget
- Replies: 15
- Views: 3129
- Sat Jan 14, 2006 11:14 am
- Forum: Coding Questions
- Topic: Show a directry in TreeGadget
- Replies: 15
- Views: 3129
- Thu Jan 12, 2006 9:27 pm
- Forum: Coding Questions
- Topic: Show a directry in TreeGadget
- Replies: 15
- Views: 3129
Re: Show a directry in TreeGadget
One of us is not understandingPB wrote:> What i want is a TreeGadget that yould act like a ExplorerGadget
http://www.purebasic.com/documentation/ ... adget.html

- Thu Jan 12, 2006 7:08 pm
- Forum: Coding Questions
- Topic: Show a directry in TreeGadget
- Replies: 15
- Views: 3129
Show a directry in TreeGadget
Hi!
I am building a small app to show help files
The Files are html and will be organized in folders
What i want is a TreeGadget that yould act like a ExplorerGadget but showing the files in the Tree too ( kinda what winhelp have )
I have tryed to use ExamineDirectory and create a field for ...
I am building a small app to show help files
The Files are html and will be organized in folders
What i want is a TreeGadget that yould act like a ExplorerGadget but showing the files in the Tree too ( kinda what winhelp have )
I have tryed to use ExamineDirectory and create a field for ...
- Sun Dec 18, 2005 11:36 am
- Forum: Announcement
- Topic: Win32 - New 2D drawing commands - v0.07
- Replies: 9
- Views: 3304
- Fri Dec 16, 2005 11:37 am
- Forum: Announcement
- Topic: gDesign - Visual Designer beta2 (update 5 - tab order)
- Replies: 58
- Views: 18999
- Thu Dec 15, 2005 10:24 pm
- Forum: Announcement
- Topic: gDesign - Visual Designer beta2 (update 5 - tab order)
- Replies: 58
- Views: 18999
- Thu Dec 15, 2005 2:53 pm
- Forum: Windows
- Topic: Libs : scintilla gadget (beta 4) for PB3.94
- Replies: 14
- Views: 6180
- Wed Dec 14, 2005 7:08 pm
- Forum: Announcement
- Topic: gDesign - Visual Designer beta2 (update 5 - tab order)
- Replies: 58
- Views: 18999