|
-
Jul 14th, 2006, 06:47 AM
#1
Thread Starter
New Member
Error: run time 8018
Hi all.
I am working on the programming about the microcontroller and the vb using serial port. The problem is when I use the program in my PC, it works.
But, after I run the program on the other pc, it did not work and got an error which is:
run time 8018
operation valid only when the port is open
Thanks in advance.
-
Jul 14th, 2006, 11:27 AM
#2
Re: Error: run time 8018
That's usually caused by something else using the port, so your program threw an error (which you told it to ignore) when it tried to open the port.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Jul 14th, 2006, 10:29 PM
#3
Thread Starter
New Member
need help
tq for the reply..actually there is not any device used at that serial port except my device..and i have something weird using the port which is when i just insert the DB 9 cable into the PC serial port the LED from my external circuit has flashed..that's mean the signal has been sent eventhough i did not sent the data from my program..
how can i overcome this problem..tq..
Last edited by win_832001; Jul 15th, 2006 at 12:31 AM.
-
Jul 17th, 2006, 01:12 PM
#4
Re: Error: run time 8018
Which means that some program is using that port.
Check for things like a Palm or PocketPC link program - even if the external computer isn't connected, those programs keep control of the port.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|