Search found 111 matches

by porfirio
Thu Oct 05, 2006 11:20 am
Forum: Coding Questions
Topic: 2 Questions about RunProgram
Replies: 8
Views: 1753

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 ...
by porfirio
Thu Oct 05, 2006 9:47 am
Forum: Coding Questions
Topic: 2 Questions about RunProgram
Replies: 8
Views: 1753

If i run java with no argument, it works and display all the help thing on the debugger

If i put any java file to be runned or a jar or something, it shows the output too

It just dont show the output with -version parameter lol

Very wheird...

Edit:

either :


Debug "Running Java"
JavaP ...
by porfirio
Wed Oct 04, 2006 6:58 pm
Forum: Coding Questions
Topic: 2 Questions about RunProgram
Replies: 8
Views: 1753

Re: 2 Questions about RunProgram

Trond wrote:
porfirio wrote:Hi all

The first question is:

Why this code gives right output

and this one dont:
Did you turn on the debugger and read the manual description of Debug?
Yeah
either i get

Exitcode: 0
by porfirio
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 ...
by porfirio
Sun Jan 15, 2006 12:07 pm
Forum: Coding Questions
Topic: Show a directry in TreeGadget
Replies: 15
Views: 3129

Original code on CodeArchieve
http://purearea.net/pb/CodeArchiv/Files+Dirs/Directory_Content/Directory&File_Tree.pb

My current code:

#Tree = 1
#web=2

folder=LoadImage(0,"f.bmp")
filehtml=LoadImage(1,"i.bmp")
Procedure DirScan(DirectoryID.l, DirectoryName.s)
OpenTreeGadgetNode(#Tree)
If ...
by porfirio
Sat Jan 14, 2006 7:55 pm
Forum: Coding Questions
Topic: Show a directry in TreeGadget
Replies: 15
Views: 3129

i founded id :D

Thank's!!
by porfirio
Sat Jan 14, 2006 12:08 pm
Forum: Coding Questions
Topic: Show a directry in TreeGadget
Replies: 15
Views: 3129

I have already seen a program that do that
or mabe i am wrong

:roll:
by porfirio
Sat Jan 14, 2006 11:14 am
Forum: Coding Questions
Topic: Show a directry in TreeGadget
Replies: 15
Views: 3129

I dont want to show all windows tree i want to show just a tree begining on some folder and i want it to dysplay the html files too and not only the folders

i think i have to make my own using examinedirectory and a treegadgect but i got some problems :cry:

Edit:
*fsw is kinda that what i want ...
by porfirio
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

PB wrote:> What i want is a TreeGadget that yould act like a ExplorerGadget

http://www.purebasic.com/documentation/ ... adget.html
One of us is not understanding :?
by porfirio
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 ...
by porfirio
Sun Dec 18, 2005 11:36 am
Forum: Announcement
Topic: Win32 - New 2D drawing commands - v0.07
Replies: 9
Views: 3304

va!n wrote:@Dr.Dri:
Check your PM box ;)

@all:
Maybe i will release this night a new demo showing some new features!?
This is good :)

Do you use GDI or GDI+??

And when will you reease the lib....
by porfirio
Fri Dec 16, 2005 11:37 am
Forum: Announcement
Topic: gDesign - Visual Designer beta2 (update 5 - tab order)
Replies: 58
Views: 18999

still using those 144kb floppies?

I still remember when a Seagate ST-255 (20MB) hard drive was heaven on earth and your whole life was in that 1.44 floppy.

:lol:

My cousin still have a full working 486 with 2GB hard drive :wink:

*OnTopic

what about use a MDI gadgect instehead of all those ...
by porfirio
Thu Dec 15, 2005 10:24 pm
Forum: Announcement
Topic: gDesign - Visual Designer beta2 (update 5 - tab order)
Replies: 58
Views: 18999

Yey!

I love this thing!

It was so good if this was merged with japbe :lol: :lol:
That will be perfect!!
by porfirio
Thu Dec 15, 2005 2:53 pm
Forum: Windows
Topic: Libs : scintilla gadget (beta 4) for PB3.94
Replies: 14
Views: 6180

Cool, very good :)

Could you add basic syntax highlighter??

I can find any good sample :(
by porfirio
Wed Dec 14, 2005 7:08 pm
Forum: Announcement
Topic: gDesign - Visual Designer beta2 (update 5 - tab order)
Replies: 58
Views: 18999

This is what i have been looking for!!!!
Esey editing the forms again and again

You can explore winapi and add alot more options and things
What about a integrated ide when we can esey design and code at same time like we do on vb??

I like your system keep it up!!