Solved

Adding Rpt Files to Clickonce Projects

Posted on 2011-02-11
5
1,156 Views
Last Modified: 2012-05-11
Hi, i have a desktop application and it is using rpt files. now i want to deploy my project with Clickonce. Every thing is well but i coulnd't load rpt files to my clickonce project. I am using MageUI.exe to modify .manifest file. can any body explain or any body has sample project?
0
Comment
Question by:2dyazilim
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34869660
Select the rpt file in solution explorer and in properties, choose "Embeded Resource" as build action.
0
 

Author Comment

by:2dyazilim
ID: 34869746
Thanks but it is already Embeded Resource. i can include files in normal setup project. i want to make it in ClickOnce Deployment.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34869769
If it is embeded resource, you do not need to include these in setup as these are already embeded in the exe itself. Though you need to use the reports as classes rather than files.

e.g
        Dim MyReport As New InvoiceReport
        MyReport.Load()
0
 

Author Comment

by:2dyazilim
ID: 34869871
It think you misunderstood the problem. I want to make it in Clickonce. my deployed clickonce application does not include rpt files. there is not any code problem.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34869897
If the rpt files are embeded in the exe file, YOU DO NOT NEED TO DEPLOY THEM SEPARATELY same as you do not need to deploy the vb files.

If you still want to try doing that, click on Application Files button on Publish tab and select "Include" against each rpt file.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Replacing HTML tags in Textarea/Textbox 5 46
Showdialog 8 29
scanning dentists xray (the small ones) 3 41
.NET tools for adding thread safety to a web app? 3 6
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now