Search found 137 matches

by porfirio
Jan 05, 2008 21:04
Forum: General
Topic: fb vector equivalent?
Replies: 13
Views: 4492

In Java we have List
And all it subclasses like ArrayList
And others....

That would be a good addiction to FreeBasic
by porfirio
Oct 17, 2007 8:30
Forum: Beginners
Topic: How do i print to my com printer?
Replies: 4
Views: 2858

Darn, I guess that's not on the doc pages. "COM:" should map to "/dev/modem" "COM1:" should map to "/dev/ttyS0" "COM2:" should map to "/dev/ttyS1", etc "/dev/whatever:" is unchanged. So "COMn:" should be the cross platf...
by porfirio
Oct 16, 2007 18:44
Forum: Beginners
Topic: How do i print to my com printer?
Replies: 4
Views: 2858

This example should work. dim as integer total = 5.97 open com "com1:9600,n,8,1,cd0,ds0" as #1 'change port if needed if err then print "error opening port" sleep end end if sleep 500 print #1,chr$(27);chr$(112);chr$(0);chr$(48);chr$(0);chr$(48); sleep 500 print #1,"Total p...
by porfirio
Oct 16, 2007 18:05
Forum: Beginners
Topic: How do i print to my com printer?
Replies: 4
Views: 2858

How do i print to my com printer?

Hi! I want todo a small program to print to my com Printer This is the printer i have: Epson TM-U210 baudrate: 9600 parity:none data_bits:8 stop_bits:1 Protocol:RTS/CTS sequence to open Money Drawer:27,112,0,48,0,48 I want to be able to Open the Drawer and to print text into the paper, also feed out...
by porfirio
Sep 19, 2007 14:16
Forum: Projects
Topic: FbEdit, new IDE for FreeBASIC written in FreeBASIC
Replies: 964
Views: 241994

Merick wrote:Is that createpipe windows only? I'm going to want to make this work on both win and linux
FBEdit works great on Wine!! Also, you can compile executables for windows with it ;)
by porfirio
Aug 02, 2007 8:28
Forum: Archive
Topic: libjit - Compile and execute code in memory at runtime
Replies: 5
Views: 4002

fsw wrote:@porfirio
It works great here.
Have you extended your little fbjit?
No, but i should.... lol
by porfirio
Aug 01, 2007 9:52
Forum: Windows
Topic: I miss VB...
Replies: 65
Views: 36836

Want powerful GUI, then use Delphi. Sorry to disapoint you, but delphi is not the best gui builder out there Delphi is pretty ugly Take a look to Java Swing and to Netbeans ide http://www.netbeans.org/download/flash/netbeans_6_gui_builder/netbeans_6_gui_builder.html Ok ok ok, thats Java, an interpr...
by porfirio
Jul 04, 2007 10:37
Forum: Archive
Topic: FreeBASIC Screensaver Kit
Replies: 57
Views: 38075

Bah.....

I created a small SS with

png_load
IncFile
ScreenSaverKit
My shop logo

http://www.box.net/shared/hizzq78ooi

The truth is that i am a newb to fbgfx lol, also i am very bad with colors lol
Dont know if it will look good on all resolutions, mine is 1440*900 an it fits ok here
by porfirio
Jul 01, 2007 7:54
Forum: Archive
Topic: FreeBASIC Screensaver Kit
Replies: 57
Views: 38075

No problem, i'll do the screen saver in other way, without showing desktop

Thank you any way
by porfirio
Jun 30, 2007 18:57
Forum: Archive
Topic: FreeBASIC Screensaver Kit
Replies: 57
Views: 38075

You know anyway i can cleanup what i drawed, so i get my desktop back I'll explain.... I want to do a screen saver that displays my shop Logo on top of desktop, floating around with some transformations I don't want to overdraw obvious so i need to clean-up what i drawed before I could use a screens...
by porfirio
Jun 30, 2007 15:43
Forum: Archive
Topic: FreeBASIC Screensaver Kit
Replies: 57
Views: 38075

Thank you :p

oh and for fix that warning put

.hWndParent = Cast(HWND,CInt(Val(Right(Command, Len(Command) - 3))))
by porfirio
Jun 27, 2007 13:53
Forum: Archive
Topic: FreeBASIC Screensaver Kit
Replies: 57
Views: 38075

Ok i know this thread is damn old but could be possible to you to fix it to work with new FB?

Also would be cool to be possible to use FB_SHAPED_WINDOW, so we could do a screensaver interacting on top desktop

Like have a logo floating arround
by porfirio
Jun 20, 2007 10:08
Forum: Sources, Examples, Tips and Tricks
Topic: IncFile() and IncArray() macros [Updated 22-1-2009]
Replies: 88
Views: 56482

And FBGfx really miss integrated png suport ( static linked ) ok i have been able to done it myself linking libz.a and libpng_load.a, but PNG loading for sure should be on the Core Well, it'd be a nice feature, but the truth is, it's not needed.. png_load and PLoad can provide the same functionalit...
by porfirio
Jun 19, 2007 9:07
Forum: Sources, Examples, Tips and Tricks
Topic: IncFile() and IncArray() macros [Updated 22-1-2009]
Replies: 88
Views: 56482

This is one thing i was messing from FreeBasic ( used it allot with PureBasic ) I hope FreeBasic developers put this into FB core, and also some handy functions to load atleast PNG and BMP from executable And FBGfx really miss integrated png suport ( static linked ) ok i have been able to done it my...
by porfirio
Jun 15, 2007 12:59
Forum: Archive
Topic: libjit - Compile and execute code in memory at runtime
Replies: 5
Views: 4002

Hmm... Another day i made a FBJiT very easy It was a simple executable when you run it with a bas file as parameter it will compile it as a dll link it to the exe and call the method FBMain fbjit.bas Dim FBMain As Function(args As String) As Integer Dim As String file=command(1) If file=""...