Search found 62 matches
- Nov 13, 2005 2:05
- Forum: Hardware Interfaces / Communication
- Topic: Serial Port - Send Break ?
- Replies: 3
- Views: 2678
OUT may be potentially possible, but looking at the run-time library source ( not that I really understand it ) it appears to be able to use any serial port windows thinks it has, not just motherboard hardware, and that includes virtual serial ports ( Com:->TCP/IP, Com:->USB, Com:-> IrDA ) where the...
- Nov 12, 2005 19:18
- Forum: Hardware Interfaces / Communication
- Topic: Serial Port - Send Break ?
- Replies: 3
- Views: 2678
Serial Port - Send Break ?
Is there a way to send a 'Break' to a serial port opened with OPEN COM "..." ?
I'm trying to talk to a microcontroller which needs to receive a Break before it will do any communicating.
Other than that, serial port handling is %&%£$ marvellous. Many thanks for implementing it.
I'm trying to talk to a microcontroller which needs to receive a Break before it will do any communicating.
Other than that, serial port handling is %&%£$ marvellous. Many thanks for implementing it.
Many thanks v1ctor; some pain involved but not as much as I was expecting. Latest version uploaded compiles using 0.14 or 0.15 compiler/libraries. A couple of warnings under 0.15 and some functionality temporarily lost, but other than that it's progressing well. Timer control added, controls can be ...
I've probably mangled things up. I installed 0.14 ( bundled installer .EXE with FBide ) and then slapped the 0.15 compiler ( .ZIP ) from SourceForge over the top, so not sure what mess I've created for myself. Where and how does one get the 0.15 headers ? I couldn't find any specific download on the...
Well, I've got the basics working, but I've now hit that wall of having to learn the API ( SendMessage ) stuff which this is designed to avoid having to use ;-) Menus and Control Groups ( invisible Frames ) are the significant additions. Notably lacking is the ability to move or resize controls, ena...
- Nov 11, 2005 4:43
- Forum: Beginners
- Topic: File Attributes
- Replies: 10
- Views: 3175
Ok; my first ever hand-crafted FreeBASIC program so I expect there to be some subtle buggettes hiding in there and the code could undouvbtedly be improved upon, but it seems to run okay on my PC, Win98SE and WinXP ... http://homepage.ntlworld.com/the.happy.hippy/freebas/winguifb.bas ( 100KB ) Commen...
Im working on something simple like that at present but it could be a while before it's done as I've only just got into FB, but it is something I want for myself as well. All the API's and program initialisation is tucked in an include file, and the 'main program' has a single HandleEvent sub and ge...
- Nov 10, 2005 7:07
- Forum: Beginners
- Topic: File Attributes
- Replies: 10
- Views: 3175
File Attributes
Is there any intrinsic FB way to read the attributes of a named file and to set them ?
PowerBasic (MS-DOS) has the "Attrib" Function/Statement ...
' Set Archive Bit
fileAttrib% = Attrib("C:\MyFile.Txt")
Attrib "C:\MyFile.Txt", fileAttrib% OR 32
PowerBasic (MS-DOS) has the "Attrib" Function/Statement ...
' Set Archive Bit
fileAttrib% = Attrib("C:\MyFile.Txt")
Attrib "C:\MyFile.Txt", fileAttrib% OR 32
- Nov 10, 2005 7:06
- Forum: Beginners
- Topic: File Attributes
- Replies: 0
- Views: 539
File Attributes
Is there any intrinsic FB way to read the attributes of a named file and to set them ?
PowerBasic (MS-DOS) has the "Attrib" Function/Statement ...
' Set Archive Bit
fileAttrib% = Attrib("C:\MyFile.Txt")
Attrib "C:\MyFile.Txt", fileAttrib% OR 32
PowerBasic (MS-DOS) has the "Attrib" Function/Statement ...
' Set Archive Bit
fileAttrib% = Attrib("C:\MyFile.Txt")
Attrib "C:\MyFile.Txt", fileAttrib% OR 32
- Nov 07, 2005 3:45
- Forum: General
- Topic: Command$ - Feature Request
- Replies: 9
- Views: 1788
- Nov 06, 2005 14:43
- Forum: General
- Topic: Command$ - Feature Request
- Replies: 9
- Views: 1788
Don't know if it's worth the effort to do command line splitting ourselves because FB/DOS, FB/Win32 and FB/Linux behave the same way now and we had to rewrite all those command line stuff for all platforms. I can appreciate that. I don't know what FB's policy is on differences in functionality in t...
- Nov 06, 2005 14:02
- Forum: General
- Topic: Command$ - Feature Request
- Replies: 9
- Views: 1788
- Nov 06, 2005 13:46
- Forum: General
- Topic: Command$ - Feature Request
- Replies: 9
- Views: 1788
Re: Command$ - Feature Request
FB doesn't do this kind of replacement. Simply don't use bash (which does this replacement) I'm using the MS-DOS command line under Win98SE, so there's no bash in sight. MS-DOS doesn't do that replacement in any other app I've ever written, so I can only assume it is done by FB or one of the runtim...
- Nov 06, 2005 4:31
- Forum: General
- Topic: Command$ - Feature Request
- Replies: 9
- Views: 1788
Command$ - Feature Request
FB Version 0.15 Win32 .EXE's 'glob' the command line to create a list of matching filenames which is then returned by Command$. Unfortunately this means that /? ( the defacto MS-DOS / Windows Command Line 'Help' switch ) expands to a list of matching one character filenames found in the current disk...