Search found 11 matches

by Manol
Tue Feb 14, 2006 8:21 pm
Forum: General Discussion
Topic: Floats in For/ Next?
Replies: 29
Views: 7854

And this one?:

Code: Select all

i.f=1.00
Repeat
i+0.2
Debug i
Until i>2.8
by Manol
Wed Jan 25, 2006 1:24 pm
Forum: Coding Questions
Topic: libmysql.dll - fieldname of column
Replies: 5
Views: 1645

Hi,

Change this code:
For i=1 To rowsNum
*mysqlRow=CallFunction(#libmysql,"mysql_fetch_row",*mysqlResult)
*mysqlLen=CallFunction(#libmysql,"mysql_fetch_lengths",*mysqlResult)


For this one:
Dim FieldName.s(rowsNum)
For i=1 To rowsNum
*mysqlRow=CallFunction(#libmysql,"mysql_fetch_row ...
by Manol
Wed Jan 25, 2006 1:05 pm
Forum: Coding Questions
Topic: libmysql.dll - fieldname of column
Replies: 5
Views: 1645

Yes, this is the function:

mysql_field_name

:)
by Manol
Wed Jan 25, 2006 12:33 pm
Forum: Coding Questions
Topic: libmysql.dll - fieldname of column
Replies: 5
Views: 1645

Please see the Resources Site:

http://www.purearea.net/pb/english/index.htm

CodeArchiv.

Databases

:D
by Manol
Sat Jan 14, 2006 7:44 pm
Forum: Feature Requests and Wishlists
Topic: DatabaseRows()
Replies: 2
Views: 1014

Code: Select all

#Database=0
Name$="You DataBase Name"
InitDatabase()
OpenDatabase(#Database, Name$, User$, Password$)
DatabaseQuery("select COUNT(*) from test;")
If DatabaseError()
Debug "Error"
Else
NextDatabaseRow() 
  Debug GetDatabaseLong(0)
EndIf 
  
:wink:
by Manol
Fri Dec 16, 2005 5:35 pm
Forum: General Discussion
Topic: Some news about the new v4 lib format available ?
Replies: 29
Views: 9768

The new libs format:
Image
Similar to US 2000 elections.

:D
by Manol
Wed Nov 30, 2005 7:42 pm
Forum: Announcement
Topic: Custom grid-control (egrid 2.0) - Updated.
Replies: 37
Views: 13731

srod wrote:Both demo 2 and demo 4 require the image file "test.bmp" to be within the same directory as the source code/executable.

Regards.
:oops:
Thanks srod. Is very usefull.

Manolo
by Manol
Wed Nov 30, 2005 5:04 pm
Forum: Announcement
Topic: Custom grid-control (egrid 2.0) - Updated.
Replies: 37
Views: 13731

srod wrote:No problem here.

Line 140 in demo 2 is a comment, and in example 4 is the line

Code: Select all

result = #True
Are you sure you're using up to date demo programs?
Hi,
I download today. The line 140 then deemo 4 is ProcedureReturn result

Manolo
by Manol
Wed Nov 30, 2005 11:51 am
Forum: Announcement
Topic: Custom grid-control (egrid 2.0) - Updated.
Replies: 37
Views: 13731

Hi srod,
Congratulations for this Lib.
But I see one problem with the egrid_demo2.pb and similar with egrid_demo4.pb:

Procedure.l MyCellCallBack:

[ERROR] Invalid memory acces in line 140 (ProcedureReturn result)

My OS is Windows 2000 Professional.

Manolo
by Manol
Sun Jun 19, 2005 9:16 am
Forum: Coding Questions
Topic: Disable PanelGadget tabs?
Replies: 12
Views: 4912

Hi PB,
See the next code

Procedure showPanel()
AddGadgetItem(1, 2, "New Hidden Panel")
EndProcedure

Procedure hidePanel()
RemoveGadgetItem(1, 2)
EndProcedure


OpenWindow(1, 0,0,300, 300, #PB_Window_SystemMenu | #PB_Window_ScreenCentered, "")

If CreateMenu(0, WindowID())
MenuTitle("Panel ...
by Manol
Fri May 13, 2005 5:03 pm
Forum: Coding Questions
Topic: Fastcall function implemention
Replies: 2
Views: 1051

Result = CallFunctionFast(*FunctionPointer [,Parameter1 [, Parameter2...]])