TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ozzy
NA
13
0
Serial port "Access Denied"
Mar 10 2010 4:59 AM
I have a serial port in my form (c# winform). When I load my form, it runs the code serialport1.open(); And it works fine, I can get what I need from serial port however when I reload the form, it gives me the error "Access to the port 'COM1' is denied." I tried to use if serialport1.IsOpen() then serialport1.close(); But it didn't work. Serial port is accessible and works fine. It just gives me that error. How can I solve this problem?
Reply
Answers (
5
)
Code behind for button to Insert Multiple records from selected controls into SQL Server database from an asp.net form
Im a newbie to C#,