Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2007, 04:28 AM
Authorized User
 
Join Date: Nov 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access to port "COM1" is denied

Hi comrades.
I want to write in the COM port of my PC via C# but it sends this error message: Access to port "COM1" is denied.

Can any one help me?

Thanks.

 
Old June 18th, 2007, 12:10 PM
Registered User
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi MTLedari,

could you be more accurate with your question, please?

regards
sendog

 
Old July 20th, 2007, 08:43 AM
Authorized User
 
Join Date: Nov 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi dude.
The problem is clear, I cannot open any serial port. I know, no device is connected to them. I don't know why i receive this exception. It can be for security reasons, if so, what should i do, to access the my com port?


 
Old July 23rd, 2007, 03:50 AM
Registered User
 
Join Date: Jul 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asdf4525qd
Default

Hello MTLledari
Please more clearly with this question.
I don't know the particulars of your program. So I don't know the mistake of your program.

 
Old August 1st, 2007, 10:57 AM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Hi!

what we need is the code you're using to access the serial port.:) Then we can look it over and see what's not working.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
401.3 Access denied due to Access Control List cforsyth .NET Framework 2.0 8 May 28th, 2009 01:56 PM
Access Denied tys MySQL 4 April 6th, 2007 08:31 AM
Access and serial port johnjohn Access 1 November 22nd, 2004 12:00 PM
Access COM port status sanjaykabra82 VB.NET 2 August 2nd, 2004 10:46 AM
Access Denied tys MySQL 0 March 25th, 2004 03:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.