Search found 66 matches

by wallyfblu
Jan 09, 2007 11:20
Forum: Beginners
Topic: common dialog
Replies: 14
Views: 2902

I've used this some times ago: Function GetFileName(byval title as string, byval filter as string, byval hWnd as HWND, byval flags as long)as string dim ofn as OPENFILENAME dim filename as zstring * MAX_PATH+1 with ofn .lStructSize = sizeof( OPENFILENAME ) .hwndOwner = hWnd .hInstance = GetModuleHan...
by wallyfblu
Jan 08, 2007 10:36
Forum: Beginners
Topic: FreeBASIC equivalent of C code char[47];
Replies: 5
Views: 1481

Maybe: Dim as ZString * 47 CSN
by wallyfblu
Dec 20, 2006 9:37
Forum: Projects
Topic: FbEdit
Replies: 963
Views: 164519

Hi KetilO, The TabStrip template you've posted have an error in the resource file: 'End' statement instead of 'END' for three times and the rc compiler not recognize it.
by wallyfblu
Dec 13, 2006 15:13
Forum: General
Topic: ODBC Port and wrapper
Replies: 23
Views: 6367

Connection solved The example print the columns names but ODBC_COL_DATA print nothing. The next problem comes when I use the code below where 'while' statement is uncommented. The program hang in an infinite cicle. IF odbc_select(tOdbc, tOdbcInfo, sql, errors) THEN 'WHILE odbc_fetch(tOdb...
by wallyfblu
Dec 13, 2006 8:48
Forum: General
Topic: ODBC Port and wrapper
Replies: 23
Views: 6367

Hi all the problem show in my last post was a byval instead a byref: FUNCTION odbc_driverConnect ALIAS "odbc_driverConnect"( byref tOdbc AS T_ODBC, BYREF errors AS STRING, _ BYVAL mode as integer=SQL_AUTOCOMMIT_OFF) AS INTEGER Now I have this errors messages when I run: SQLSTATE [HY000] - [Oracle][O...
by wallyfblu
Dec 12, 2006 12:35
Forum: General
Topic: ODBC Port and wrapper
Replies: 23
Views: 6367

Hi jKorpel I've downloaded your example and I've tried to use it with a DNS on my system. The DNS file refer to a Oracle DB on a linux system and I want to query it from my Windows 2000 pc. I've already used the DNS with MS Access with no problem When I use the code below I have no error but the pro...
by wallyfblu
Dec 05, 2006 9:50
Forum: Projects
Topic: RadASM, IDE for FreeBASIC
Replies: 356
Views: 78603

Hi KetilO
I'm working with last FBEdit release and I've found the ToolBar Creator but I don't understand how start and use it.
(already moved toolbar.dll into addins dir but what about libtoolbar.dll.a? Should I copy into freebasic lib dir?)

Thanks in advance
by wallyfblu
Nov 27, 2006 11:22
Forum: Projects
Topic: RadASM, IDE for FreeBASIC
Replies: 356
Views: 78603

Hi KetilO, I've downloded your last release and it crash with all dialog boxes I've used (open, path, etc,) when I click on Ok or Cancel button.
by wallyfblu
Nov 09, 2006 14:36
Forum: Projects
Topic: Simple GUI
Replies: 39
Views: 9171

Sorry for the latest message but I click the wrong button (Submit instead Preview). Fell free to use it if you think that it's good for your GUI work Here is a simple example: ' #include once "Gui/GUI.bi" #include once "RAGrid.bi" #include once "Gui/RAGui.bi" Dim Shared...
by wallyfblu
Nov 09, 2006 14:17
Forum: Projects
Topic: Simple GUI
Replies: 39
Views: 9171

Hi, I've used your code and I think it's a very good work. I've added a CenterForm sub and here is the code Sub CenterForm(ByVal hWnd As HWND) dim RC as RECT Dim R as RECT PTR dim as integer X,Y,nWidth,nHeight r=@RC GetWindowRect(hWnd,R) nWidth=R->right - R->left nHeight=R->Bottom-R-...
by wallyfblu
Nov 08, 2006 11:37
Forum: Tips and Tricks
Topic: RQ Coding Style in FB 0.17b
Replies: 19
Views: 4108

Hello, I tied the Victor property example but I have a lot of errors: C:\FreeBASIC\fbc -s gui "victor.bas" victor.bas(16) error 18: Syntax error, found 'property' in 'declare property title as string' victor.bas(17) error 18: Syntax error, found 'property' in 'declare property title( new_title as st...
by wallyfblu
Oct 18, 2006 13:45
Forum: Projects
Topic: Pure FB sockets, for windows and linux. Websites, IRC, np
Replies: 44
Views: 13781

Thank's all for your help. Now all work fine so I can start coding with this library.
by wallyfblu
Oct 18, 2006 10:37
Forum: Projects
Topic: Pure FB sockets, for windows and linux. Websites, IRC, np
Replies: 44
Views: 13781

Sorry, but I don't know what CVS version is.
Where should I found it? Now I'm using FB-v0.17b .

Thank's for your patience
by wallyfblu
Oct 18, 2006 9:11
Forum: Projects
Topic: Pure FB sockets, for windows and linux. Websites, IRC, np
Replies: 44
Views: 13781

I must say first of all thet I don't know "make" utility and I have downloaded a precompiled version of 3.75 version for Windows.
The error that I have when I run "make" is:
make: *** No rule to make target `sock_put.o', needed by `libsock.a'. Stop.

Should someone help me?

Thank's in advance
by wallyfblu
Jun 15, 2006 4:29
Forum: Projects
Topic: RadASM, IDE for FreeBASIC
Replies: 356
Views: 78603

Hi KetilO
I've translated SpreadSheet.inc to .bi and made a little FB example. It's possible to upload this file somewhere or should I send them to you attached in a mail? (a .zip file for example)

Thanks

Go to advanced search