Search found 436 matches
- Apr 03, 2024 15:28
- Forum: Sources, Examples, Tips and Tricks
- Topic: Three swinging sticks kinetic energy
- Replies: 16
- Views: 1349
Re: Three swinging sticks kinetic energy
Very nice! Some time ago I wrote nearly the same animation, only for one pendulum, solving the differential equation of motion by using the Runge-Kutta method, but your simple solution has a very clear code and is easy to understand (as well as your simulation of gravitation in an other post recentl...
- Mar 24, 2024 11:51
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 924
Re: Gui calculator
@PaulSquires, I understand what you mean. Perhaps it would be helpful if you could add to WinFBE a little tutorial with some simple examples, e.g. how to create a simple GUI with textboxes and buttons and their event handling with your form designer, as it has been done with FBEdit, e.g. a simple ca...
- Mar 23, 2024 16:25
- Forum: Beginners
- Topic: Dictionary Part two
- Replies: 5
- Views: 353
Re: Dictionary Part two
hm... very mini! Is this just a short test? The list of "special words" is rather short, and the program is finished after one word has ben translated. I think the program should run in a loop until the user terminates it.
- Mar 23, 2024 15:04
- Forum: Beginners
- Topic: Dictionary Part two
- Replies: 5
- Views: 353
Re: Dictionary Part two
Hi Frank,
looks nice, but could you add a dictionary file as example so that it is possible to play around wth your code? Why do you include windows.bi? Your program seems to be a console application.
looks nice, but could you add a dictionary file as example so that it is possible to play around wth your code? Why do you include windows.bi? Your program seems to be a console application.
- Mar 23, 2024 14:53
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 924
- Mar 22, 2024 15:47
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 924
Re: Gui calculator
Hi Ray, thank you very much for your interest. "WinLib" has been downloaded more than 160 times now, but meanwhile I prefer to write small GUI programs directly by using pure Windows API. I use some templates for creating a window and all basic controls which can be modified easily. Especi...
- Mar 20, 2024 17:52
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 924
Re: Gui calculator
Hi RNBW, a small mistake: Button_Ok is not created in the window, so message WM_LBUTTONDOWN will not work as expected. :o This is the code modified for WinLib.bi (the modified version of WinGUI.bi): ' ============================================= ' NUMERIC INPUT IN A TEXTBOX ' File Name: NumericEntr...
- Mar 18, 2024 15:15
- Forum: General
- Topic: screenres with a vertical scroll bar
- Replies: 16
- Views: 844
Re: screenres with a vertical scroll bar
No, not really. You might try to use the Windows API, I found this code: #Include Once "windows.bi" Dim As Integer style Dim As HWND hWindow Dim As RECT r ScreenRes 400,300,32 hWindow = GetForegroundWindow() style = GetWindowLong(hWindow, GWL_STYLE) GetWindowRect(hWindow, @r) SetWindowLong...
- Mar 18, 2024 15:00
- Forum: Windows
- Topic: Gui calculator
- Replies: 17
- Views: 924
Re: Gui calculator
I wonder while you use the ES_NUMBER style in your edit boxes. By this way you cannot use decimals (e.g. 123.567), only integers.
- Mar 15, 2024 16:03
- Forum: Beginners
- Topic: Read text File and a word
- Replies: 5
- Views: 387
Re: Ready Text File and a word
Store your text line by line into an array and use "InStr" to search a word.
- Mar 09, 2024 16:13
- Forum: Beginners
- Topic: Btrieve - declarion help
- Replies: 5
- Views: 317
Re: Btrieve - declarion help
May this be helpful? viewtopic.php?t=16171
- Mar 09, 2024 10:59
- Forum: Beginners
- Topic: Btrieve - declarion help
- Replies: 5
- Views: 317
Re: Btrieve - declarion help
I do not know anything about Btrieve and do not have experiences in working with dlls. I am exclusively programming in FreeBasic as a hobby, sometimes I also play a little bit with simple Windows GUIs. I think if you want to include an external library, you have do include a header file (in this cas...
- Mar 08, 2024 16:05
- Forum: Sources, Examples, Tips and Tricks
- Topic: The Travelling Salesman Problem
- Replies: 21
- Views: 1234
Re: The Travelling Salesman Problem
Seems to be a nice stuff to play with! BasicCoder2: If you increase the numbers of cities, the computation time will decrease dramatically with that brute force method, as expected.
- Mar 08, 2024 15:45
- Forum: Windows
- Topic: Interpretation
- Replies: 9
- Views: 677
Re: Interpretation
I tested it last year. Very bad experiences. I could only run some programs which were delivered with this app, nothing else. Have a luck at the ratings!
- Mar 07, 2024 15:20
- Forum: Beginners
- Topic: Btrieve - declarion help
- Replies: 5
- Views: 317
Re: Btrieve - declarion help
I do not know how Function BTRCALL is defined, but the main error seems to be in the first line: Declare Function BTRCALL Lib "wbtrv32.dll" (ByVal Word, Asciiz, any, Integer, Any, ByVal Byte, ByVal Byte) As Integer You have a long list of parameters without defining their types. A correct ...