Search found 8670 matches

by fxm
Feb 17, 2019 14:53
Forum: Beginners
Topic: How to convert String (or Double) to SerialNumber
Replies: 3
Views: 91

Re: How to convert String (or Double) to SerialNumber

There are several possible methods.
See at Date Serials.
by fxm
Feb 17, 2019 9:50
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

About the "Modifier les paramètres PPP élevés (Change high DPI settings)" menu of French version of Windows 10 which is bugged (truncated text at the top and bottom): My "solved" is only for my own problem of "Change high DPI settings" menu on my French version of Windo...
by fxm
Feb 16, 2019 15:22
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

My "solved" is only for my own problem of "Change high DPI settings" menu on my French version of Windows 10.
by fxm
Feb 16, 2019 15:12
Forum: Projects
Topic: Coil Inductance and Q Calculator
Replies: 12
Views: 237

Re: Coil Inductance and Q Calculator

k6sti wrote:The main problem was the inadequacy of the FB documentation.....

It starts strong for your second post on the forum, me who on the contrary tries to share as much as possible my some knowledge on FB, including through its documentation.
by fxm
Feb 16, 2019 14:24
Forum: Documentation
Topic: Windows bug for small screens / fullscreen
Replies: 24
Views: 530

Re: Windows bug for small screens / fullscreen

In my recent version of Win 10 [version 10.0.17763.292], I no longer see the switch "Override high DPI scaling behavior" (or even an equivalent switch) in the compatibility properties of the .exe file. (https://www.freebasic.net/forum/viewtopic.php?p=258159#p258159) Solved. See at https:/...
by fxm
Feb 16, 2019 14:17
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

In my recent version of Win 10 [version 10.0.17763.292], I no longer see the switch "Override high DPI scaling behavior" (or even an equivalent switch) in the compatibility properties of the .exe file. (https://www.freebasic.net/forum/viewtopic.php?p=258159#p258159) Solved. See at https:/...
by fxm
Feb 16, 2019 6:08
Forum: General
Topic: How to decide on virtual or shadow method
Replies: 1
Views: 115

Re: How to decide on virtual or shadow method

Dynamic polymorphism ⋅ The dynamic polymorphism (brought through the inheritance and the virtuality) allows to similarly process heterogeneous objects, without knowing their real types at compile time. Their real types will be only used automatically at run time (dynamic binding). Therefo...
by fxm
Feb 13, 2019 18:54
Forum: Beginners
Topic: How to do sound
Replies: 3
Views: 126

Re: How to do sound

Under Windows (except Win95):

Code: Select all

#include "windows.bi"
    'type WINBOOL as long
    'type DWORD as ulong
    'declare function Beep_ alias "Beep"(byval dwFreq as DWORD, byval dwDuration as DWORD) as WINBOOL

Beep_(1000, 1000)  ' (1000 Hz, 1000 ms)

Sleep
by fxm
Feb 10, 2019 5:54
Forum: Beginners
Topic: How to reset the value when using input
Replies: 22
Views: 405

Re: How to reset the value when using input

The inkey page needs fixing for the coming version 1.06 They are all inkey$ at the moment. Already done, and also for other relevant keywords. See paragraph "Dialect Differences" at pages: Chr[$], Command[$], Hex[$], Inkey[$], Lcase[$], Left[$], Ltrim[$], Mid[$] (statement), Mkd[$], Mki[$...
by fxm
Feb 09, 2019 21:53
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

fxm wrote:For my case, setting the ScreenRes instruction to 1680x1050 is sufficient (in fullscreen mode) to ensure a properly display with a desktop 1920x1080 / 125%.

But I did not check until the last pixel on the bottom right.
by fxm
Feb 09, 2019 21:36
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

For my case, setting the ScreenRes instruction to 1680x1050 is sufficient (in fullscreen mode) to ensure a properly display with a desktop 1920x1080 / 125%.
by fxm
Feb 09, 2019 21:22
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

For a high resolution screen the recommended size of text, icons and apps by Win 10 is 125% (or even 150% depending on screen resolution) for a better readability in the Win screens. If I set this Win 10 setting to 100%, a simplest code and your fbshoot properly work (with 125%, both visualizes only...
by fxm
Feb 09, 2019 20:31
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 359
Views: 14625

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

In my recent version of Win 10 [version 10.0.17763.292], I no longer see the switch "Override high DPI scaling behavior" (or even an equivalent switch) in the compatibility properties of the .exe file.
by fxm
Feb 09, 2019 17:19
Forum: Beginners
Topic: How to reset the value when using input
Replies: 22
Views: 405

Re: How to reset the value when using input

Restricting to the only SLEEP documentation page to be improved, what do users think of my proposal (a second example has been added)? Right, as long as I do not have enough positive echoes, I do not touch the SLEEP documentation page. (do nothing, everyone can do it!) (me it does not bother me, I ...
by fxm
Feb 09, 2019 16:55
Forum: Beginners
Topic: How to reset the value when using input
Replies: 22
Views: 405

Re: How to reset the value when using input

fxm wrote:'While InKey <> "" : Wend' instead of a simple 'InKey', is a security against eventual multi key-pressed during the waiting if the CPU is hogged.

Go to advanced search