How To Generate a PDF File Using Crystal Reports
-
I'm not the one who can't read. Do you think "Please do not post programming questions here." doesn't apply to you? I'm not the one foolish enough to use the worst piece of reporting bloatware out there. If you can find someone who supports it here, I'll be shocked. If you want to get help then ask in the right place, try ASP or C# or whatever language you are using. Don't ask programming questions in the lounge, they are about as welcome as Donatella Versace in a skin flick.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
As long as it's not Rule 99.1[^], we can recover the situation.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
-
diverbw wrote:
I am a newbie to Crystal Reports
Here's a pointer: Stay away while you can!
-
I'm not the one who can't read. Do you think "Please do not post programming questions here." doesn't apply to you? I'm not the one foolish enough to use the worst piece of reporting bloatware out there. If you can find someone who supports it here, I'll be shocked. If you want to get help then ask in the right place, try ASP or C# or whatever language you are using. Don't ask programming questions in the lounge, they are about as welcome as Donatella Versace in a skin flick.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Nagy Vilmos wrote:
Donatella Versace in a skin flick
X| This shouldn't pass the filters. Please don't be cruel and give a warning next time. Now where can I get mental bleach?
-
I would like to write a utility class that will let me execute a Crystal Report inside any .Net application and produce a PDF file. As this is a utility class, I would like for it to be completely independent of the actual type of .Net program, i.e. it should work the same way in a console application, a windows service, an ASP.Net web application, a Windows Forms application, etc. I am a newbie to Crystal Reports, and everything I have found so far on using CR in .Net is always tied to some specific type of .Net application, typically either an ASP.Net or a Windows Forms application. Also, my applications are very low volume applications, so I hope that I do not have to deal with all of the large volume, super scalable CR infrastructure installations like RAS. Any pointers or references to useful things on the web would be most welcome! Thanks, Brad
Brad, I see from your profile that you have been a member of this site for a while, but this is your first posting so I'm not sure whether or not to say welcome to Code Project. As a new poster, you may not be aware of the etiquette of posting in the Lounge, so I thought I'd point out that there is a section at the top of this forum saying that programming questions should not be posted here in the Lounge. Please don't take any negative replies to heart, they are only pointing out that this is not the correct forum and if you were to ask this in say the .NET forum, you would probably get quite a decent reply. Don't let this minor SNAFU get in the way of making productive use of the site. I look forward to seeing you kick back and join in with the banter here in the Lounge - the denizens are generally quite pleasant once you get to know them.
Forgive your enemies - it messes with their heads
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
-
I would like to write a utility class that will let me execute a Crystal Report inside any .Net application and produce a PDF file. As this is a utility class, I would like for it to be completely independent of the actual type of .Net program, i.e. it should work the same way in a console application, a windows service, an ASP.Net web application, a Windows Forms application, etc. I am a newbie to Crystal Reports, and everything I have found so far on using CR in .Net is always tied to some specific type of .Net application, typically either an ASP.Net or a Windows Forms application. Also, my applications are very low volume applications, so I hope that I do not have to deal with all of the large volume, super scalable CR infrastructure installations like RAS. Any pointers or references to useful things on the web would be most welcome! Thanks, Brad
diverbw wrote:
Any pointers or references ... would be most welcome!
int *i;
Unfortunately I've been programming using CR for the last few weeks. To answer your question, look at the ReportDocument Class[^] (make sure you have the right CR assembly referenced) and Properties/Methods containing "export" in their name... Now don't post programming questions in the lounge again. It seems I am more forgiving than some Nagy's on this forum, but I might not be such a nice guy next time ;)
It's an OO world.
public class Naerling : Lazy<Person>{
public void DoWork(){ throw new NotImplementedException(); }
} -
Brad, I see from your profile that you have been a member of this site for a while, but this is your first posting so I'm not sure whether or not to say welcome to Code Project. As a new poster, you may not be aware of the etiquette of posting in the Lounge, so I thought I'd point out that there is a section at the top of this forum saying that programming questions should not be posted here in the Lounge. Please don't take any negative replies to heart, they are only pointing out that this is not the correct forum and if you were to ask this in say the .NET forum, you would probably get quite a decent reply. Don't let this minor SNAFU get in the way of making productive use of the site. I look forward to seeing you kick back and join in with the banter here in the Lounge - the denizens are generally quite pleasant once you get to know them.
Forgive your enemies - it messes with their heads
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
Thank you Pete for the nice reply. I definitely DID make a mistake by not reading those rules first. But I've been amazed at the responses here, so much so that I just started another post in The Lounge that discusses the elitism and cronyism that obviously exists on this board. It is really sad that such a great online resource is being tarnished in this way by the unprofessional-ism I've witnessed today. Frankly, while I do get a lot of good information from this site, I have noticed that the bulk of the projects on this site are actually written by very low time, inexperienced people, and many times from other countries. I really appreciate the hard work that they do, and even with my long experience in this field, I find their work very useful. And I am impressed with how these young members in our profession are volunteering their time as a way of furthering their own careers, just as young attorneys often do pro-bono work to build their fledgling law practices. Cudo's to them all! I just hope by this dialog, and the dialog that I hope will be generated in my "First Experiences With The Lounge" thread will be taken to heart by others in such a way that it will improve their professional skills and lead to further success in their careers and lives. Thanks again, Pete!
-
As long as it's not Rule 99.1[^], we can recover the situation.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
:laugh: Hadn't seen that one... might have to post that at work somewhere since we all have indecision issues.
-
Thank you Pete for the nice reply. I definitely DID make a mistake by not reading those rules first. But I've been amazed at the responses here, so much so that I just started another post in The Lounge that discusses the elitism and cronyism that obviously exists on this board. It is really sad that such a great online resource is being tarnished in this way by the unprofessional-ism I've witnessed today. Frankly, while I do get a lot of good information from this site, I have noticed that the bulk of the projects on this site are actually written by very low time, inexperienced people, and many times from other countries. I really appreciate the hard work that they do, and even with my long experience in this field, I find their work very useful. And I am impressed with how these young members in our profession are volunteering their time as a way of furthering their own careers, just as young attorneys often do pro-bono work to build their fledgling law practices. Cudo's to them all! I just hope by this dialog, and the dialog that I hope will be generated in my "First Experiences With The Lounge" thread will be taken to heart by others in such a way that it will improve their professional skills and lead to further success in their careers and lives. Thanks again, Pete!
diverbw wrote:
It is really sad that such a great online resource is being tarnished in this way by the unprofessional-ism I've witnessed today
To put it bluntly, you seem to be expecting a whore to act like a princess. The Lounge isn't intended for professionalism. It's a bar in a city of brilliance. It's a place for us to let loose a little (though not too loose). I wouldn't take what you see in the Lounge to be representative of the rest of the site. For example, if you wander over to The Soapbox or The Back Room (the back alley and cesspool of Code Project), you will see far worse than what is in the Lounge. You have unfortunately strayed into unfamiliar territory and have seemed to take it personally. Really though, it's an online forum and I wouldn't take much of what others say here personally (I know, easier said than done).
Somebody in an online forum wrote:
INTJs never really joke. They make a point. The joke is just a gift wrapper.
-
Brad, I see from your profile that you have been a member of this site for a while, but this is your first posting so I'm not sure whether or not to say welcome to Code Project. As a new poster, you may not be aware of the etiquette of posting in the Lounge, so I thought I'd point out that there is a section at the top of this forum saying that programming questions should not be posted here in the Lounge. Please don't take any negative replies to heart, they are only pointing out that this is not the correct forum and if you were to ask this in say the .NET forum, you would probably get quite a decent reply. Don't let this minor SNAFU get in the way of making productive use of the site. I look forward to seeing you kick back and join in with the banter here in the Lounge - the denizens are generally quite pleasant once you get to know them.
Forgive your enemies - it messes with their heads
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility
Wow. I had to read it twice to make sure I was actually reading a mature response here. :)
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
-
I'm not the one who can't read. Do you think "Please do not post programming questions here." doesn't apply to you? I'm not the one foolish enough to use the worst piece of reporting bloatware out there. If you can find someone who supports it here, I'll be shocked. If you want to get help then ask in the right place, try ASP or C# or whatever language you are using. Don't ask programming questions in the lounge, they are about as welcome as Donatella Versace in a skin flick.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Nagy Vilmos wrote:
Donatella Versace in a skin flick
X| :wtf: :omg: X| X| X| X| X|
If your actions inspire others to dream more, learn more, do more and become more, you are a leader." - John Quincy Adams
You must accept one of two basic premises: Either we are alone in the universe, or we are not alone in the universe. And either way, the implications are staggering” - Wernher von Braun -
Wow. I had to read it twice to make sure I was actually reading a mature response here. :)
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
Pete's a class act, there is no doubt. Now that Yoda dude (or whatever Yoda is) that is a different story. ;)
It was broke, so I fixed it.
-
:thumbsup: Hang in there, we're not that bad :)
-
I'm not the one who can't read. Do you think "Please do not post programming questions here." doesn't apply to you? I'm not the one foolish enough to use the worst piece of reporting bloatware out there. If you can find someone who supports it here, I'll be shocked. If you want to get help then ask in the right place, try ASP or C# or whatever language you are using. Don't ask programming questions in the lounge, they are about as welcome as Donatella Versace in a skin flick.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Nagy Vilmos wrote:
Don't ask programming questions in the lounge, they are about as welcome as Donatella Versace in a skin flick.
Good one Nagy :laugh:
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
First learn to read, this is the wrong place to ask such as question. Secondly, you'll find it easier to carve each individual report in granite then to generate them with that crock.
Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
Nagy Vilmos wrote:
carve each individual report in granite then to generate them with that crock.
OT: I am fascinated by this analogy, Nagy, and my "burning linguistic curiousity" compells me to ask you if were consciously creating a subtle metaphoric resonance (a demi-pun ?) between "carve ... granite" and "crock," subliminally alluding to one the meanings of crock as "stoneware crock." thanks, Bill
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." Bjarne Stroustrop circa 1990
-
Wow. I had to read it twice to make sure I was actually reading a mature response here. :)
Regards, Nish
My technology blog: voidnish.wordpress.com You've gotta read this : Using lambdas - C++ vs. C# vs. C++/CX vs. C++/CLI
I know. Me and mature, the unexpected combo.
Forgive your enemies - it messes with their heads
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility