Search found 5188 matches

by ts-soft
Thu Jul 20, 2017 12:33 pm
Forum: Coding Questions
Topic: [Solved] PB 5.60 Bug? #PBAny not possible in ImageID
Replies: 3
Views: 1506

Re: PB 5.60 Bug? #PBAny not possible in ImageID (Catchimage)

If CreatePopupImageMenu(#TrayMenu,#PB_Menu_ModernLook) MenuItem(3, "Set Applications", ImageID(CatchImage(#PB_Any, ?Prefs))) MenuItem(2, "Help/About", ImageID(CatchImage(#PB_Any, ?Help))) MenuBar() MenuItem(1,"Exit", ImageID(CatchImage(#PB_Any, ?Exit))) SetMenuItemStat...
by ts-soft
Wed Jul 19, 2017 9:07 pm
Forum: Coding Questions
Topic: enumeration
Replies: 4
Views: 1377

Re: enumeration

Yes, you can do it in both, but it makes no realy sense to do it in a procedure, a constant is always for mainscope.
by ts-soft
Mon Jul 17, 2017 10:23 pm
Forum: Tricks 'n' Tips
Topic: ListIcon Keep selected items shown [Windows]
Replies: 8
Views: 2942

Re: ListIcon Keep selected items shown [Windows]

One problem not solved: the selection on gadget top right, if you move the window, the selection stays on screen.

The other problems a solved :D
by ts-soft
Mon Jul 17, 2017 9:36 pm
Forum: Tricks 'n' Tips
Topic: ListIcon Keep selected items shown [Windows]
Replies: 8
Views: 2942

Re: ListIcon Keep selected items shown [Windows]

Hi RASHAD,
i see some problems with your code (windows 10, x64),
see pic: https://i.imgur.com/0tCtULT.png

greetings Thomas
by ts-soft
Mon Jul 17, 2017 11:50 am
Forum: General Discussion
Topic: Import:EndImport
Replies: 1
Views: 1635

Re: Import:EndImport

For windows x64 you can use import or importc!

The MessageBoxA is the ASCII Version. If you are using Unicode (PB5.60 for example) you have to use the UNICODE Version:
MessageBoxW
by ts-soft
Sun Jul 02, 2017 6:33 pm
Forum: Tricks 'n' Tips
Topic: MemDll - Load DLL from memory
Replies: 30
Views: 15866

Re: Load DLL from memory

luis wrote:Dropped Dropbox, fixed link.
Dropbox have changed something in the last weeks. You should have a email from dropbox. For example: no directlinks to images, binaries and so on.

greetings - Thomas
by ts-soft
Sat Jul 01, 2017 10:04 pm
Forum: Coding Questions
Topic: A very stupid number question?
Replies: 15
Views: 4127

Re: A very stupid number question?

no way :wink:

Code: Select all

f.f = 0.2
Debug f
by ts-soft
Sat Jul 01, 2017 9:58 pm
Forum: Coding Questions
Topic: A very stupid number question?
Replies: 15
Views: 4127

Re: A very stupid number question?

With ValF(), but only as:

Code: Select all

Debug ValF("0.202")
0.20200000703335
by ts-soft
Tue Jun 27, 2017 9:36 pm
Forum: Feature Requests and Wishlists
Topic: MS SQL Express native support
Replies: 6
Views: 2531

Re: MS SQL Express native support

NetNinja wrote:
infratec wrote:As workaround:
Use ODBC with creating the DSN 'on the fly'.
Yes, but ODBC is slow... The best thing is to have embedded, native support of MS SQL like sqlite or Postgre.
bye
But will never come, is not crossplattform!
by ts-soft
Tue Jun 20, 2017 4:32 pm
Forum: Announcement
Topic: Server move
Replies: 26
Views: 67537

Re: Server move

Kiffi wrote:http://spiderbasic.com is still down.
No, but http://forums.spiderbasic.com/ have an "General (SQL) Error"
by ts-soft
Sat Jun 03, 2017 2:19 pm
Forum: Coding Questions
Topic: PureBasic code behaves VERY odd!
Replies: 9
Views: 2528

Re: PureBasic code behaves VERY odd!

and use different variables for different gadgets.
by ts-soft
Sun May 28, 2017 8:01 pm
Forum: Linux
Topic: Register extensions and make menu-entry for PB
Replies: 20
Views: 67615

Re: Register extensions and make menu-entry for PB

fryquez wrote:If I run the Purebasic 5.60 included register.sh on my Ubuntu Mate 17.04,
I get an error: register.sh: 36: [: unexpected operator
I think, you have used anotherone :wink:
Change:

Code: Select all

echo "[Desktop Entry]
to

Code: Select all

echo "[Desktop Entry]"
by ts-soft
Thu May 25, 2017 7:06 pm
Forum: Feature Requests and Wishlists
Topic: Add Constant for OS default path separator
Replies: 12
Views: 4577

Re: Add Constant for OS default path separator

kenmo wrote:"/" is valid in Windows,
Not always, some API required "\" (backslash), most Requester for example.

+1
by ts-soft
Wed May 24, 2017 7:31 pm
Forum: Coding Questions
Topic: Old code, New PB!
Replies: 3
Views: 1747

Re: Old code, New PB!

with other words: You have to do one : for the label and another : for the new line,
with space between!

Code: Select all

_OPT_settings_Company: :IncludeBinary "Images\companyinfo.ico"
by ts-soft
Wed Apr 26, 2017 8:48 am
Forum: Feature Requests and Wishlists
Topic: Handling Try/Catch
Replies: 23
Views: 8170

Re: Handling Try/Catch

+1
for try / catch