PDF Files In C# Resources [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to save some PDF files in C# project resources. How can I get that resource at run time in stream format to show in PDF viewers correctly? Or have you an idea for this
solution, to embed some PDF files in a class library and show them in a free PDF viewer?

You can use a web control for viewing PDF read the second answer here View PDF through C# .Net desktop App
Your question is vague be precise for better help.

Related

I want to upload an excel into asp.net mvc application where excel contains Mathematical Equation and some Images [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I want to upload an excel into asp.net mvc application where excel contains Mathematical Equation and some Images. How to do it.Basically this application is online exam system for those student who preparing for entrance exam for IIT, NEET Exam.Here i am attaching the screen shot of excel which i have to upload.enter image description here
I'd start with a parsing tool:
SpreadsheetGear, Interop, Aspose, EPPlus (Free)
Interop is free, you parse the objects inside the spreadsheet.
EPPlus might be best since it manages the objects for you.

Access Image File from path in Web Application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am having an Web Application(ASP.NET MVC, C#), in which I have a functionality of uploading an excel which contains image path. So I need to know can I access the image files from the application?
PS: Images and Excel will be in the user system.
You could make the users send the real images within the file instead of sending only the paths. This would potentially generate a huge file to upload, but I don't know you application.
If image is at user location then there is no way you can access it (how insecure it would be if any website can access your image file in your system)
So your will need user to upload image as well inorder to use it

How to create a file format for a custom application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I currently have an application written in C#, which performs some calculations on electrical lines sag and tensions.
The program has only the option of exporting a .doc file, or printing to PDF. As it stands, I cannot save it into a format that allows me to change any data, as it is already in word, or pdf.
i need to setup an intermediary file format, that allows editing of the file, while retaining the ability to export the project file to Word or PDF.
Thank you in advance.
You'll have to define your own binary file format. How to define it depends on the data to store and this is up to you.
Or you can use XML file format. Of course again you'll have to define what to write in which structure to the file. It might be a good idea to provide your own DTD.

how read and write to stylesheet in asp.net mvc? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to let my users edit css files.
so I need to load (Read) one of my stylesheets to a textarea and then save (write) it into same stylesheet,
how i can do it?
It's just a file containing plain text. Simply load its contents and then save it back.. Simple File methods should be ok, maybe implement some kind of a text highlighter to allow nicer editing.

How to find the path of a file using asp.net [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am creating a website in which I need to find out the path of the downloaded files.For instance if there is an image Image1.jpeg, downloaded and saved somewhere in the system.Is there a way through which we can find out the path of that image?
If you mean: how to retrieve an uploaded image, the answer is: not possible. An uploaded image (or just any file) consists of a name an a list of bytes. You have to save it yourself.
If you are asking about downloaded files on the client, well, they are on the client, so outside of your control.

Categories