As a hardware engineer, I have always sort of resented the fact that continual hardware improvement becomes a license for the software fraternity to write inefficient bloatware. Thankfully this is...
Type: Posts; User: fgasoi; Keyword(s):
As a hardware engineer, I have always sort of resented the fact that continual hardware improvement becomes a license for the software fraternity to write inefficient bloatware. Thankfully this is...
Eros;
I don't know about where you are but here in Quebec texting in your car will get you a lecture from a cop and a nasty fine.
Rick
Here is the piece of code, as modified with a 100msec sleep. CPU usage now unmeasurable.
Do
NBytes = COMM_Get ( hcomm, %COMM_RXQUE )
If NBytes => 21 Then
COMM_Recv ( hcomm, NBytes,...
That's exactly what it is doing, Eros. I will put in a SLEEP to pace it. Thanks.
Rick
I installed yesterday a small bundled app on one of the older computers on our LAN. One of its users complained this morning that its response was "glacial". I ran Task Manager and found that the...
Michael;
Not adventurous enough to add records to my registry! The fact that I have a workaround is good enough for me. Doesn't satisfy Eros' desire to know why WMI doesn't work, tho... Many...
If I could put in two cents on behalf of the audience of non-programmers. I am an electrical engineer who has spent the vast majority of his 40+ year career designing electronic hardware and...
Michael;
I had attached a screen shot of Regedit to my previous post. Here is the export from Regedit of the branch. I had to zip it for it to be uploadable. The Bluetooth (virtual) ports seem...
Michael;
That works!
Registry branch attached per your request.
Rick
Most amusingly, Michael's script DOES show this port, but does not give the numbers for the other ports! See attached screen shot.
Rick
Same thing, Eros. It does not show COM9. Both the Registry and Device Manager do show it, however. Strange. Consequence of a 64-bit machine?
Rick
Eros;
I tried your code and it gets the three Bluetooth ports on my system, but not the USB-to-Serial bridge (COM9). System is 64-bit Windows 7 - could this be the reason? See attached regedit...
Thanks Eros. I will wait for it. I don't tend to use betas - lacking adventure in my soul, I guess.
Rick
The file menu on my copy of ThinAir has no links for Projects, despite what is shown in the Help file. I am using 1.8.0.0. Without help, I don't know what the use of Projects might be, or how to add...
Petr;
I think your code will return 4 if the last line ends with a CRLF. I will simply use TALLY rather than PARSECOUNT. Should have done that in the first place.
Rick
I am parsing a string containing three lines. The code is
SeqCount = ParseCount(TempStr, $CRLF).
The value returned is three, regardless of whether the last line ends with a CRLF or not. Is this...
I think I found it. I had put all my includes at the end of my main module to make debugging easier. I also put a Stop just after where I called the new input box, so as to avoid going thru the...
I copied the entire .inc file. The sample program did not have any reference to the .inc except to include it, and I have done the same.
Rick
Petr;
Your script runs fine with your little example program, but causes problems when I try to include it in my own program.
Here is the context
If DIR_Exists("c:\Documents And Settings\All...
Petr;
It does not seem to be script-sensitive - it has happened a number of times when I am debugging different modules. Next time it happens I will take notes and try to reproduce it so I can...
Please have a look at the bottom left-hand corner of the attached screen shot, just above the START button. Is there any way to fix this so I can see what is going on there?
Rick
When I am tracing in debug mode and I abort the trace, I frequently get a Windows message that ThinBasic has encountered a problem and must shut down, inviting to send Microsoft a report. It does not...
Thank you Petr!
Is there any way to change the size of the box generated by InputBox$ ? Font size/style of the messages?
Rick
Here is some freeware that might be useful
http://icofx.ro/
Rick