I ian_w Registered User. Local time Today, 09:40 Joined Jun 13, 2006 Messages 64 Jun 14, 2006 #1 I have a printer attached to COM1 which I print barcodes to, when I try to run the code I get a File/Access Denied Error 75 message. Is there anything in Access 97 that could be causing this? Ian
I have a printer attached to COM1 which I print barcodes to, when I try to run the code I get a File/Access Denied Error 75 message. Is there anything in Access 97 that could be causing this? Ian
KenHigg Registered User Local time Today, 04:40 Joined Jun 9, 2004 Messages 13,291 Jun 14, 2006 #2 When accessing a port directly, don't you have to do some kind of 'open' command before you send data to it?
When accessing a port directly, don't you have to do some kind of 'open' command before you send data to it?
I ian_w Registered User. Local time Today, 09:40 Joined Jun 13, 2006 Messages 64 Jun 14, 2006 #3 Its the Open Command that its failed on, I have Open "COM1" for Output As #1 Problem is as soon as it hits the open it fails with access denied !
Its the Open Command that its failed on, I have Open "COM1" for Output As #1 Problem is as soon as it hits the open it fails with access denied !
KenHigg Registered User Local time Today, 04:40 Joined Jun 9, 2004 Messages 13,291 Jun 14, 2006 #4 Did you have it working in a previous version of Access or is this your first shot at it?
KenHigg Registered User Local time Today, 04:40 Joined Jun 9, 2004 Messages 13,291 Jun 14, 2006 #5 Did you have it working in a previous version of Access or is this your first shot at it?
I ian_w Registered User. Local time Today, 09:40 Joined Jun 13, 2006 Messages 64 Jun 14, 2006 #6 It works when we run it on NT4, we have put in some new XP machines which refuse to print on COM1 From all the testing I have done so far it appears to be a group policy option I think
It works when we run it on NT4, we have put in some new XP machines which refuse to print on COM1 From all the testing I have done so far it appears to be a group policy option I think
KenHigg Registered User Local time Today, 04:40 Joined Jun 9, 2004 Messages 13,291 Jun 14, 2006 #7 Hum... I was thinking that you may have to use some kind of control to manage access to a port... Do you have another app that accesses the port?
Hum... I was thinking that you may have to use some kind of control to manage access to a port... Do you have another app that accesses the port?
I ian_w Registered User. Local time Today, 09:40 Joined Jun 13, 2006 Messages 64 Jun 14, 2006 #8 Yes, We have a app called 'Barcode' this initializes the printer and sends the .BAS file to it.
KenHigg Registered User Local time Today, 04:40 Joined Jun 9, 2004 Messages 13,291 Jun 14, 2006 #9 Wouldn't that eliminate the access rights error possibility?
I ian_w Registered User. Local time Today, 09:40 Joined Jun 13, 2006 Messages 64 Jun 14, 2006 #10 Im all but convinced now that its a group policy issue, if I log on to the machine locally then it works fine, with a network logon the permissions are incorrect and it fails Thanks for the help, hopefully I can track the policy problem down!
Im all but convinced now that its a group policy issue, if I log on to the machine locally then it works fine, with a network logon the permissions are incorrect and it fails Thanks for the help, hopefully I can track the policy problem down!
KenHigg Registered User Local time Today, 04:40 Joined Jun 9, 2004 Messages 13,291 Jun 14, 2006 #11 Hum... Cool trick - I'll file that one away for later use.