Search found 94 matches

by vladimir777
Oct 01, 2011 18:11
Forum: Community Discussion
Topic: @ Lachie + anonymous1337 and other potential FB enthusiasts
Replies: 38
Views: 3955

>> Perhaps we could form a little break away FB group and do some work on plugging the gaps in the English speaking FB ecosystem << AGREE I have idea for a logo, instead horse donkey: http://www.harvestworksinc.org/images/animal-profiles/donkey-donkey.jpg If you think it is a joke, then you dont kno...
by vladimir777
Oct 01, 2011 0:22
Forum: Tips and Tricks
Topic: GTK MENU - TOOLBAR - examples
Replies: 1
Views: 974

STATUSBAR

#LIBPATH "C:\opt\GTK-3.0.9\lib" #include once "c:\opt\gtk3inc\tjf\gtk.bi" #define NULL 0 SUB button_pressed CDECL (BYVAL widget AS GtkWidget PTR, BYVAL win AS GtkWidget PTR) dim as gchar ptr str1 str1 = g_strdup_printf("Button %s clicked", gtk_button_get_la...
by vladimir777
Oct 01, 2011 0:20
Forum: Tips and Tricks
Topic: GTK MENU - TOOLBAR - examples
Replies: 1
Views: 974

GTK MENU - TOOLBAR - examples

Translated from c code I have found on http://www.gtkforums.com/ #LIBPATH "C:\opt\GTK-3.0.9\lib" #include once "c:\opt\gtk3inc\tjf\gtk.bi" 'dim as GtkTextBuffer ptr buffer DIM SHARED AS GtkWidget PTR txtinput sub funcopen cdecl(BYVAL widget AS GtkWidget PTR, BYVAL win AS GtkW...
by vladimir777
Sep 30, 2011 17:45
Forum: Beginners
Topic: TASM MANAGER
Replies: 9
Views: 457

Thank you MOD.

I dicover it just a minute after I posted last post!!
by vladimir777
Sep 30, 2011 2:22
Forum: Beginners
Topic: TASM MANAGER
Replies: 9
Views: 457

KILL WORKS

kill_prog ("notepad.exe")
'res = Shell ("notepad.exe")

BUT SHELL is making troubles
?
by vladimir777
Sep 30, 2011 2:10
Forum: Beginners
Topic: TASM MANAGER
Replies: 9
Views: 457

I have seen that! Thank you -------------- But if I make any GUI it doesnot work - crashes Here is WINDOWS version but I try GTK also and same happen If I do this kill_prog ("notepad.exe") res = Shell ("notepad.exe") #define WIN_INCLUDEALL #include "windows.bi" #Include "mdprocess.bi&...
by vladimir777
Sep 29, 2011 22:37
Forum: Beginners
Topic: TASM MANAGER
Replies: 9
Views: 457

I did just this: and it works all the time KILL is instant Thank You Dim Shared As String Programname Programname = "TOURSHEET.exe" 'example #Include "mdprocess.bi" Declare Function GetAsyncKeyState Lib "user32" Alias "GetAsyncKeyState"(ByVal vKey As Long&...
by vladimir777
Sep 29, 2011 20:31
Forum: Beginners
Topic: TASM MANAGER
Replies: 9
Views: 457

TASM MANAGER

How do I check is program running and shut all copies down first:




I need somethnig like this :


If program_is_runing("c:\programfolder\program.exe") then
close_all_previous_copies(c:\programfolder\program.exe)
End If
SHELL "c:\programfolder\program.exe"
by vladimir777
Sep 29, 2011 3:54
Forum: Libraries
Topic: I think here is a bug in FB extended LIB
Replies: 3
Views: 689

Sorry - it is fine :)
by vladimir777
Sep 29, 2011 3:36
Forum: Libraries
Topic: I think here is a bug in FB extended LIB
Replies: 3
Views: 689

I think here is a bug in FB extended LIB

Code: Select all

function vector2d.dot ( byref v As vector2D ) as single
    Return  this.x * v.x + this.y * v.y
end function


THIS IS NOT A FORMULA FOR DOT PRODUCT

http://en.wikipedia.org/wiki/Dot_product
=====================================
by vladimir777
Sep 27, 2011 19:33
Forum: Tips and Tricks
Topic: Drawing a graph (libgoocanvas / GTK / Cairo)
Replies: 7
Views: 4129

Nothing to show. I just use simple dxf routine to read POINTS and LINES. and goocanvas to show on the screen It is not more advanced (except it reads file) than I posted already. When I have something new to show I will make example, but I CAN NOT post this little project because data are proprietar...
by vladimir777
Sep 27, 2011 16:59
Forum: Tips and Tricks
Topic: Drawing a graph (libgoocanvas / GTK / Cairo)
Replies: 7
Views: 4129

I already did a simple routine for client to be able to view DXF files DXF file were simple: just point lines and polylines all in one layer Then I search internet and find this It is raw C code for reading DWG files It will be very cool with GOOCANVAS!!! (and not just goocanvas) http://git.savannah...
by vladimir777
Sep 25, 2011 22:42
Forum: Tips and Tricks
Topic: Drawing a graph (libgoocanvas / GTK / Cairo)
Replies: 7
Views: 4129

g_object_set (text_items(i), "description", "

And here is sample how to use g_object_set with goocanvas. If you are makig maps then you will read data from a file and insert it on canvas but without description for each object you will not know which OBJECT (house, road etc) customer selected #IF DEFINED(__FB_WIN32__) #LIBPATH "C:\...
by vladimir777
Sep 24, 2011 1:44
Forum: Community Discussion
Topic: Guys, It doesnot work this way
Replies: 25
Views: 1897

DKL said: extend the FB wiki ----------------- That is OK as a "final product". 10 or 20 ppl works on FB wiki, but there is 1000 of us that can contribute with a small examples. First we have to create something (just a simple FTP?) so we are all able to upload small examples on pile by category: GT...
by vladimir777
Sep 23, 2011 19:29
Forum: Libraries
Topic: GooCanvas: header for advanced GTK drawing widget
Replies: 17
Views: 4230

GtkToolButtonBar works fine with gtk3: #LIBPATH "C:\opt\GTK-3.0.9\lib" #include once "c:\opt\gtk3inc\tjf\gtk.bi" sub undo_redo cdecl(byval widget as GtkWidget ptr, byval item as gpointer) static count as integer = 2 dim name1 as string name1 = *gtk_widget_get_name(wid...

Go to advanced search