Search found 1184 matches

by phishguy
Jun 27, 2006 11:46
Forum: Beginners
Topic: serial port w/ XP
Replies: 11
Views: 3270

Thanks CoderJeff. Is there any work around for this? What does "Thanks, Fixed in CVS." mean? (sorry for the newbie question. After all, I am posting in the beginners forum) I know that I could do it with Windows API calls. I was just hoping that I could avoid that as id would get way more complex. P...
by phishguy
Jun 26, 2006 22:44
Forum: Beginners
Topic: serial port w/ XP
Replies: 11
Views: 3270

Can't see ports above com16

OK, my program will open ports below com16, but when I try anything higher it doesn't work for me. If I reassign the port to a port under com16 it works. This is a problem as windows will quite often assign higher port numbers.
Any ideas?
by phishguy
Jun 26, 2006 21:59
Forum: Beginners
Topic: serial port w/ XP
Replies: 11
Views: 3270

serial port w/ XP

Does the open com"comX" support ports over com16?

Thanks
by phishguy
Jun 22, 2006 13:39
Forum: Windows
Topic: SendKey
Replies: 4
Views: 2733

Addition and correction

For anyone who's interested, I added the serial port input function to my program to make it a wedge program. I also corrected some of the ASCII to keyboard mappings. To use the program you hook a serial device up to COM1 at 9600 baud (can be changed in program. Run the program and the load Excel (o...
by phishguy
Jun 20, 2006 17:25
Forum: Windows
Topic: SendKey
Replies: 4
Views: 2733

enhanced example

Thanks to MichaelW. This code has helped me on a project I'm working on along with the code from darxide to check the state of the Caps lock. Here is an example of what I've done so far. My next step will be to take characters from the serial port and send them to the active window (Excel). This wil...
by phishguy
Jun 05, 2006 13:57
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

more explanation

I thought that I might explain my problem a little more thourougly. I don't have any problem opening or communicating with the Bluetooth virtual serial port. The problem occurs if I don't get a connection with the serial Bluetooth device on the other end. (device is off or out of range) I need to kn...
by phishguy
May 31, 2006 13:40
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

update

Just an update. I haven't given up yet. The GetCommModemStatus gives the same results whether I have a Bluetooth connection or not. I checked the Widcomm website, which has been bought by Broadcomm. They don't support software packaged as an OEM product. This software came with a Belkin USB/Bluetoot...
by phishguy
May 30, 2006 20:54
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

Example again?

I'm completely lost with respect to the Windows API. How would I use the GetModemStatus function. I believe that might tell me if I have a connection. Example code would once again be greatly appreciated. Forgive me for being such a noob with regards to API programming. Can anyone recommend a good r...
by phishguy
May 30, 2006 19:18
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

windows api

I've been trying to avoid using the windows API. Mainly because it confuses the heck out of me. If anyone could give me an example using the API to check port staus I would greatly appreciate it. BTW, I have mainly programmed using PB 3.5 for DOS. I have found that porting to FreeBASIC for Windows h...
by phishguy
May 30, 2006 17:29
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

Bluetooth port

OK, now I can check to see which ports can open. However, when using a Bluetooth USB adapter and Widcomm software, it uses a virtual serial port. I need a way to check if the virtual serial port has a Bluetooth connection. Right now it will always return 0 for an error when using the Bluetooth seria...
by phishguy
May 30, 2006 15:24
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

I found the problem

The problem was when checking the error with the following line:

print "Error: "; err

That doesn't work for me. It will always give a 0. The following works:

print "Error: " & err

I'm not sure why.
by phishguy
May 26, 2006 21:06
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

Not for me

That didn't work for me.
by phishguy
May 26, 2006 20:27
Forum: Beginners
Topic: Variable for opening com port
Replies: 18
Views: 4951

Variable for opening com port

Is there any way to use a vairiable using the OPEN COM statement for the desired com port? I have tried writing it into a string. for example:

a$="COM" + STR$(X)+":9600" ' X = PORT
OPEN COM A$ AS 1

This didn't work for me. Any Ideas?
by phishguy
May 05, 2006 16:31
Forum: Windows
Topic: Checking Bluetooth serial port connection
Replies: 0
Views: 924

Checking Bluetooth serial port connection

I have a program that communicates with a Bluetooth USB to a Bluetooth serial device. It all works fine as long as the Bluetooth serial device is turned on. However, if it is not turned on the program will hang. (see code) I don't get any error. How do I check to make sure I have the Bluetooth conne...

Go to advanced search