Click here to Skip to main content
15,891,847 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have completed 1 desktop application which includes .prn file and will print the label. This prn file is at the "Application/Startup" path.
I have also created setup file which includes Project Output, Access db and .prn file.

Setup file installed and executed properly.

But when i give the print command the error comes as "Access to the path C:\\Label.prn is denied.

Can anybody help me on how to make a setup file which includes prn file



Thanks in advance
Posted
Comments
LaxmikantYadav 27-Dec-11 2:08am    
Please Check the attributes of Label.prn
Saumyavemula 27-Dec-11 3:58am    
What is this??

Can you guide me on How to check?

1 solution

While you are build application you will give path to copy dlls in a folder. You had prn file inside the package please put it separately and give path as 'C:\'


I hope this will work :)
 
Share this answer
 
Comments
Saumyavemula 27-Dec-11 3:39am    
Hi,
My prn file will include the data which i select in the form and it is generated when the print button is clicked.

I tried both the ways
1. Package including prn file and
2. Package not including prn file

But the error is same "Access to the path C:\Application.Startup\label.prn is denied"

can you help me in more detail because i am new to this prn setup file.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900