Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am tutoring from PDF files I saved (C++ Beginners Guide) and I am trying to make a window for the PDF in the IDE (VS) like you can have a browser window by hitting a link from the start page and changing the url. However, when I attempt to add the file, it comes in as machine language that is unreadable. I get a prompt and it may be important so here is the whole thing:;

the line endings are inconsistent. Do you want to normalize the line endings?

C:\Users\joe\contacts\Desktop\C++\C++BeginnersGuide.pdf

line ending
(this next is in a drop down window showing this, the other stuff is unix or other things, I am windows so I keep there, the top default)

Windows LR LF
(buttons) yes, no

No matter if I do yes or no it still is unreadable machine language, but it does go in a window. It occurred to me maybe I should try to c/p the pdf into OpenOffice and try putting it in as a text file, that's next, but does anyone know what is wrong or what I should do? thank you very much for your time.(c/p didn't work it goes on the clipboard to slow because it's a PDF I think)

I am use win32console c++ for this studying in Visual Basic 2008.
Posted
Updated 3-Feb-11 10:35am
v5

1 solution

Visual Studio does not know how to display PDF files. So it does the best it can which is (I think) to load it as a PostScript File (PDF is a sort of PostScript).

You can try any of the solutions in this[^] thread on MSDN Social although none of them will do what you want.
 
Share this answer
 

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