How to Fix a Runtime Error 8005


1. Type the following command in Visual Basic if this is where you have received the runtime error code. Within the programming language, change 'SummaSketch.PortOpen = True' to SummaSketch.PortOpen = False.' This is a common cause of receiving the runtime error 8005.
2. Open the 'Device Manager' in Visual Basic. Scan your computer for any potential hardware changes through this menu. At this time, you should also disable any devices that you are not using in the program. Restart the program and try to open the port again in Visual Basic.
3. Close other applications. Another potential cause of the runtime error 8005 is that another application is using the same port at that time. Shut down any other applications you have running to see if this will fix the problem.
4. Restart the PC, reopen Visual Basic and try to open the port once again. Many times, the runtime error 8005 will appear after a cold boot.
5. Receive help from another source. If none of these methods fix runtime error 8005, you may need to get in touch with other programmers in order to trace whether you are entering codes incorrectly into Visual Basic. A good place to look for assistance is through the Visual Basics Forums on VB Wire.

0 comments:

Post a Comment