Update example for PB 5.70:
;- Implementation af the IDispatch interface
; Original code posted by soerenkj
; Completed by Nico
; Update for PB 5.70 x32 x64
;
;//
;// Dispatch IDS For IExplorer Dispatch Events.
;//
#DISPID_BEFORENAVIGATE= 100 ;// this is sent before navigation To give a chance To ...
Search found 266 matches
- Fri Jan 04, 2019 6:34 pm
- Forum: Coding Questions
- Topic: WebGadget (Windows) and VARIANT parameter
- Replies: 4
- Views: 3502
- Thu Nov 08, 2018 7:52 pm
- Forum: Tricks 'n' Tips
- Topic: Tip: SendKeys procedure (Windows)
- Replies: 28
- Views: 37088
Re: Tip: SendKeys procedure (Windows)
Use Keybd_event is not a goog idea, SendInput is more powerful, work with any keyboard (if use unicode version API) and also more simple.
Microsoft said:
The SendInput function inserts the events in the INPUT structures serially into the keyboard or mouse input stream. These events are not ...
Microsoft said:
The SendInput function inserts the events in the INPUT structures serially into the keyboard or mouse input stream. These events are not ...
- Tue Jan 30, 2018 6:02 pm
- Forum: Windows
- Topic: You seem to be using an unsupported browser
- Replies: 2
- Views: 1831
Re: You seem to be using an unsupported browser
I tested your code and it worked well with Purebasic 5.61 (x86 and x64).
Sorry for not being able to help you further.
;===== Registry: temp setting to optimise web gadget =====
Global sglpValueName.s = GetFilePart(ProgramFilename())
Global lglpData.l = 11001
Global lglpdwDisposition.l
Global ...
Sorry for not being able to help you further.
;===== Registry: temp setting to optimise web gadget =====
Global sglpValueName.s = GetFilePart(ProgramFilename())
Global lglpData.l = 11001
Global lglpdwDisposition.l
Global ...
- Sun Jun 26, 2016 10:48 am
- Forum: Tricks 'n' Tips
- Topic: Tab, and indenting code
- Replies: 6
- Views: 2530
Re: Tab, and indenting code
Work very well but
mais j'ai dû remplacer la couleur de la sélection de la ligne en cours:
; definition couleur de la ligne en cours
ScintillaSendMessage(#SciID, #SCI_SETCARETLINEBACK, RGB(30,30,30)) par RGB(230,230,230)
sinon au niveau de l'écriture, j'avais noir sur fond noir, je ne voyais pas ...
mais j'ai dû remplacer la couleur de la sélection de la ligne en cours:
; definition couleur de la ligne en cours
ScintillaSendMessage(#SciID, #SCI_SETCARETLINEBACK, RGB(30,30,30)) par RGB(230,230,230)
sinon au niveau de l'écriture, j'avais noir sur fond noir, je ne voyais pas ...
- Sat Jun 25, 2016 2:05 pm
- Forum: Tricks 'n' Tips
- Topic: Sendinput (ascii or unicode) (x86 and x64)
- Replies: 1
- Views: 1791
Sendinput (ascii or unicode) (x86 and x64)
Two procédures: Sendinput for send text and KeyCombi for send command
Original code by :
Michael Vogel And netmaestro : http://www.purebasic.fr/english/viewtopic.php?p=289971
and ebs : http://www.purebasic.fr/english/viewtopic.php?t=7115
; Send Keys and control
; Original code by
; Michael ...
Original code by :
Michael Vogel And netmaestro : http://www.purebasic.fr/english/viewtopic.php?p=289971
and ebs : http://www.purebasic.fr/english/viewtopic.php?t=7115
; Send Keys and control
; Original code by
; Michael ...
- Sat May 14, 2016 4:48 pm
- Forum: Coding Questions
- Topic: Detecting my own renamed exe?
- Replies: 14
- Views: 3762
Re: Detecting my own renamed exe?
Debug ProgramFilename() 

- Sun Jan 10, 2016 12:38 pm
- Forum: Tricks 'n' Tips
- Topic: Set and Get volume system with event sound level modif
- Replies: 1
- Views: 4600
Re: Set and Get volume system with event sound level modif
Code updated for compatibility x64, see first post.
- Sat Jan 09, 2016 12:00 am
- Forum: Tricks 'n' Tips
- Topic: Set and Get volume system with event sound level modif
- Replies: 1
- Views: 4600
Set and Get volume system with event sound level modif
Original code by ts-soft
Updated by netmaestro for Get and set Mute
Updated by Nico retrieve event sound level modification by user
For Vista and more.
Run as administrator account!
For compatibility x64 procedure InterlockedExchange asm by Mistrel implemented, here:
http://www.purebasic.fr ...
Updated by netmaestro for Get and set Mute
Updated by Nico retrieve event sound level modification by user
For Vista and more.
Run as administrator account!
For compatibility x64 procedure InterlockedExchange asm by Mistrel implemented, here:
http://www.purebasic.fr ...
- Thu Jan 07, 2016 7:56 pm
- Forum: Tricks 'n' Tips
- Topic: TTS - Sapi 5 (XP et more) et Speech SDK 11 (Vista et more)
- Replies: 5
- Views: 4938
Re: TTS - Sapi 5 (XP et more) et Speech SDK 11 (Vista et mor
What do you not understand?
If you have Window XP, use Sapi 5 and voice Sapi 5.
If you have Vista and more, use Speech 11, install runtime and voice on the Microsoft Site;
Download:
The Runtime :
http://www.microsoft.com/en-us/download/details.aspx?id=27225
There are 26 voices for TTS
Files ...
If you have Window XP, use Sapi 5 and voice Sapi 5.
If you have Vista and more, use Speech 11, install runtime and voice on the Microsoft Site;
Download:
The Runtime :
http://www.microsoft.com/en-us/download/details.aspx?id=27225
There are 26 voices for TTS
Files ...
- Sat Jan 02, 2016 5:41 pm
- Forum: Tricks 'n' Tips
- Topic: TTS - Sapi 5 (XP et more) et Speech SDK 11 (Vista et more)
- Replies: 5
- Views: 4938
TTS - Sapi 5 (XP et more) et Speech SDK 11 (Vista et more)
Being dévellopement on the French forum, if you are interested:
http://www.purebasic.fr/french/viewtopi ... =6&t=15716
http://www.purebasic.fr/french/viewtopi ... =6&t=15716
- Fri Sep 18, 2015 8:35 am
- Forum: Tricks 'n' Tips
- Topic: Pushbullet
- Replies: 11
- Views: 8445
Re: Pushbullet
Your code is fine, do you make a version without curl with PureBasic 5.40?
- Tue Sep 08, 2015 11:37 am
- Forum: Tricks 'n' Tips
- Topic: MyEditor Canvas based editor gadget
- Replies: 14
- Views: 7495
Re: MyEditor Canvas based editor gadget
Impressive and very useful, thank you for sharing. 

- Sun Sep 06, 2015 10:14 pm
- Forum: Tricks 'n' Tips
- Topic: Speech Recognition Dictation SAPI 5.1
- Replies: 11
- Views: 6974
Re: Speech Recognition Dictation SAPI 5.1
Only try my code, if you do not have an error (I do not have any error with this version of PureBasic); is that you introduced yourself a synthax error in this code or in your code added, sometimes the problem is not the line identified by the compiler.
- Fri Sep 04, 2015 8:52 pm
- Forum: Tricks 'n' Tips
- Topic: Speech Recognition Dictation SAPI 5.1
- Replies: 11
- Views: 6974
Re: Speech Recognition Dictation SAPI 5.1
Your version of PureBasic?
- Tue Mar 31, 2015 7:44 pm
- Forum: Coding Questions
- Topic: Sending SMS messages from phone
- Replies: 8
- Views: 3100
Re: Sending SMS messages from phone
Another solution, use PushBullet service, there is a app for android and iphone for free. You create a channel and user suscribe it, just a single send and all users receive notification. See API in the Website.