Nice idea!
I implemented it quite different to yours now.
When doubleclicking on the found file, the line will be selected in the IDE
btw.:
Instead of adding the two constants in the source, you probably should add it to the compiler options (tab constants)
Search found 868 matches
- Mon Mar 25, 2024 5:04 pm
- Forum: The PureBasic Editor
- Topic: [IDE Tool] Search in PB Files
- Replies: 10
- Views: 506
- Sun Mar 24, 2024 11:41 am
- Forum: Bugs - Documentation
- Topic: [Done] PB6.10b9 German Help OpenXMLDialog
- Replies: 1
- Views: 108
[Done] PB6.10b9 German Help OpenXMLDialog
Should be:<scintilla> - der Callback bleibt leer. UseDialogOpenGLGadget() muss aufgerufen werden, um die <scintilla> Unterstützung zu aktivieren
UseDialogScintillaGadget()
- Fri Mar 22, 2024 11:03 pm
- Forum: The PureBasic Editor
- Topic: [IDE Tool] Search in PB Files
- Replies: 10
- Views: 506
- Fri Mar 22, 2024 10:59 am
- Forum: The PureBasic Editor
- Topic: [IDE Tool] Search in PB Files
- Replies: 10
- Views: 506
Re: [IDE Tool] Search in PB Files
You have to compile it to an exe and add it to the PB IDE tools. No parameters needed, just add some menu shortcut (or not) In debugger mode, you need to define #HOME_SOURCE and #HOME_IDE constants, In exe mode, you must create "PB_TOOL_Preferences" and "PB_TOOL_IDE" environment ...
- Thu Mar 21, 2024 11:27 pm
- Forum: The PureBasic Editor
- Topic: [IDE Tool] Search in PB Files
- Replies: 10
- Views: 506
Re: [IDE Tool] Search in PB Files
That was an easy one, added it!
Thanks!
btw.:
being drunk is never a bad idea
(guess half of the forum will agree with me )
Thanks!
btw.:
being drunk is never a bad idea
(guess half of the forum will agree with me )
- Thu Mar 21, 2024 4:23 pm
- Forum: The PureBasic Editor
- Topic: [IDE Tool] Search in PB Files
- Replies: 10
- Views: 506
[IDE Tool] Search in PB Files
A small IDE tool born out of stupidity (see comment on top) ;/------------------------ ;| ;| IDE Tool ;| Search in Purebasic files ;| ;| ©HeX0R 2024 ;| Last Update: 25.03.2024 ;| ;| I got nuts, while trying to find a source of mine ;| ...well in fact I must have been drunk and saved it in a complete...
- Wed Mar 13, 2024 8:08 pm
- Forum: Coding Questions
- Topic: PB6.10 B8 x64 @DropCallback() mismatch
- Replies: 4
- Views: 184
Re: PB6.10 B8 x64 @DropCallback() mismatch
o.k. thanks!
It's pretty difficult to test new beta versions, when the help files keep outdated.
I even looked into the DragDrop.txt before creating the bug report, and there it is still:
It's pretty difficult to test new beta versions, when the help files keep outdated.
I even looked into the DragDrop.txt before creating the bug report, and there it is still:
Code: Select all
Procedure DropCallback(TargetHandle, State, Format, Action, x, y)
- Wed Mar 13, 2024 7:40 pm
- Forum: Coding Questions
- Topic: PB6.10 B8 x64 @DropCallback() mismatch
- Replies: 4
- Views: 184
PB6.10 B8 x64 @DropCallback() mismatch
Procedure DropCallback(Handle, Status, Format, Action, x, y) ProcedureReturn #True EndProcedure OpenWindow(0, 0, 0, 300, 300, "D&D", #PB_Window_SystemMenu) EditorGadget(0, 5, 5, 290, 290) EnableGadgetDrop(0, #PB_Drop_Files, #PB_Drag_Copy) SetDropCallback(@DropCallback()) Repeat : Unti...
- Tue Mar 12, 2024 10:21 pm
- Forum: General Discussion
- Topic: Question about PB's built-in FTP
- Replies: 5
- Views: 305
Re: Question about PB's built-in FTP
How many Bucks would be needed to get from "somewhen" to "soon"?
- Mon Mar 11, 2024 9:49 pm
- Forum: Coding Questions
- Topic: cannot read specific xlsx files
- Replies: 3
- Views: 250
Re: cannot read specific xlsx files
Sure, but I hope it is not too urgent, I'm a little busy these days.
- Mon Mar 11, 2024 1:47 pm
- Forum: Coding Questions
- Topic: cannot read specific xlsx files
- Replies: 3
- Views: 250
Re: cannot read specific xlsx files
It's from here
- Sun Mar 10, 2024 10:18 am
- Forum: Coding Questions
- Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
- Replies: 22
- Views: 731
Re: Crash with PB 6.10 b6 with function PeekS / PeekL
STARGÅTE said:
And your second example is strange anyway, but I don't know the rest of the code.
If you are looking for the ProcessID, this should do:
Your registry example looks for the content at a memory address!when looking for a memory address
And your second example is strange anyway, but I don't know the rest of the code.
If you are looking for the ProcessID, this should do:
Code: Select all
procid = Proc32\th32ProcessID
- Sun Mar 10, 2024 10:00 am
- Forum: Coding Questions
- Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
- Replies: 22
- Views: 731
Re: Crash with PB 6.10 b6 with function PeekS / PeekL
I was using other people's code from these forums and they used PeekL() in them. :? One example is ts-soft's Registry module, which was later updated by HeXOR (https://www.purebasic.fr/english/viewtopic.php?p=488711#p488711). Were they both wrong to use PeekL() in it? No! PeekL is used only here: C...
- Fri Mar 08, 2024 11:14 pm
- Forum: Coding Questions
- Topic: How can I retrieve the netcard gateway?
- Replies: 10
- Views: 293
- Fri Mar 08, 2024 10:17 pm
- Forum: Coding Questions
- Topic: How can I retrieve the netcard gateway?
- Replies: 10
- Views: 293
Re: How can I retrieve the netcard gateway?
That code is pretty old, and also not complete.
Since I have no more use for it, I'm not willing to update it for a complete usage of GetAdaptersAddresses(), but you can try forcing it to use the old way by:
Since I have no more use for it, I'm not willing to update it for a complete usage of GetAdaptersAddresses(), but you can try forcing it to use the old way by:
Code: Select all
CreateNetworkAdapterInterface(1)