Need some help from VB Programmers...

N

NAF

I am an IT student.

I have to submit my mid year assignment before end of this year.



I decided to create a component (DLL file) for Converting Documents to PDF
(HTML,Reports,Documents,.. To PDF) as my assingment.

So i need some help.



1) Can you please give some resource for regarding this?

2) Which area I should have to cover?

3) Any SRS or other documents do you have about this Topic.



Please.

Please.



Help would be appreciated.

God Bless you all..
 
M

Martin H.

Hello NAF,

it depends what your assignment allows you to do.
There are PDF printer drivers around to which you would just have to
print and you'd receive a nice PDF file (then the printer driver would
do the conversion).

Alternatively you could use Ghostscript do make the conversion as some
of the printer drivers also do (CutePDF for example).


Best regards,

Martin
 
N

NAF

Hi Martin,
Thank you very much for your quick reply.

Martin, I have two simple question in my assignment
1) Create a re-usable component.
2) Define an API for that component.

Just I want to create a simple DLL file just like CutePDF (That you suggest
in your reply) using VB.NET
Atleast this component do following things
MS WORD --> PDF
HTML --> PDF....

Please help me....
God bless you all.....
 
T

Timothy Casey

NAF said:
I am an IT student.

I have to submit my mid year assignment before end of this year.

Very ambitious. If you are doing other subjects, I'd pick a smaller monster
to tackle. However, your internal specification can be quite limiting if you
can back up those limitations with your marketing and usage analysis.

I decided to create a component (DLL file) for Converting Documents to PDF
(HTML,Reports,Documents,.. To PDF) as my assingment.

So i need some help.

This might open an interesting can of worms:
http://www.springerlink.com/content/07748t24w6m63733/
Your university will have free access to the full text through jstor.

1) Can you please give some resource for regarding this?

External Specifications are already available:

For PDF: http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf

For Doc:
http://download.microsoft.com/downl...97-2007BinaryFileFormat(doc)Specification.pdf

For DocX:
http://www.ecma-international.org/publications/standards/Ecma-376.htm
The overview for Office open format is quite promising:
http://www.ecma-international.org/news/TC45_current_work/OpenXML White Paper.pdf

2) Which area I should have to cover?

Market & Usage Analysis
External Specification (provided at above links)
Internal Specification (including patent dodges where applicable)
Structured Walkthroughs (if more than one person involved in project
development)
Fully commented development source code (including junkyard modules)
Version control methodology
Testing methodology
Test bed specification
Test bed
Completed product

Good luck...
 
T

Timothy Casey

NAF said:
Hi Martin,
Thank you very much for your quick reply.

Martin, I have two simple question in my assignment
1) Create a re-usable component.
2) Define an API for that component.

Just I want to create a simple DLL file just like CutePDF (That you
suggest in your reply) using VB.NET
Atleast this component do following things
MS WORD --> PDF
HTML --> PDF....

External specification: HTML:
http://www.w3.org/TR/html401/

CSS is part of HTML so:
http://www.w3.org/TR/CSS21/css2.pdf

You'll need RTF as well:
http://www.microsoft.com/downloads/...32-17f0-4b46-9e4e-467ef9bc5540&displaylang=en

For further discussion in the marketing and usage analysis of your project,
you may want to point out that HTML5 is not a standard yet:
http://www.w3.org/QA/2009/05/_watching_the_google_io.html

and neither is CSS 3, which supported SVG colour names back in 2007 but not
in 2009. It is impossible to fully anticipate incomplete or even proposed
standards and attempting to do so can lead to serious errors.
 
N

NAF

Hi Timothy Casey,

Thank you Very much Timothy Casey.
God bless you and may god always accept your good deeds.
Thanks again dude...
 
N

Nobody

NAF said:
I decided to create a component (DLL file) for Converting Documents to PDF
(HTML,Reports,Documents,.. To PDF) as my assingment.

That's a difficult task. Normally I would use AspPDF.net component(not free,
but some web hosts offer it to their customers), but since your job is to
create the component. One way is to use Ghostscript, the other is checking a
class called "clsPDFCreator" to see how to create a PDF in VB, but it
doesn't include all features. For instance, parts of PDF files can be
compressed(Zlib) to make the file smaller, but you don't need to do that,
however, if you are reading PDF to extract text and images, then you have to
add decompression support, otherwise you can't extract information from some
PDF files.

It's best to leave Office Documents out of it, unless you use
automation(requires Word, etc. to be installed on the same machine), or use
a component(nothing free), rather than parsing the files directly.

clsPDFCreator for VB 2008 EE(The one without "VB" is for VB6):
http://www.luigimicco.altervista.org/index.php?mod=20_shared/10_free

http://en.wikipedia.org/wiki/Ghostscript

http://www.asppdf.net/

Web host that offers AspPDF.net($10/Month minimum):

http://www.webecs.com/components.aspx
http://www.webecs.com/hostplans.aspx
 
N

NAF

Hi Nobody,
Thank you very much for your instructions and resources.
Dear,
Now I am collecting information from all the area regarding this.
I will put my final document to this email thread, when I will
finish it.
Thanks again dude..
May god be with you always.
 
B

Bill Yanaire

NAF said:
Hi Nobody,
Thank you very much for your instructions and resources.
Dear,
Now I am collecting information from all the area regarding this.
I will put my final document to this email thread, when I will
finish it.
Thanks again dude..
May god be with you always.

Why would you want a fictional character (GOD) to be with you always? What
happens if you go into a gentlemans club?
 
M

Mike

Bill said:
Why would you want a fictional character (GOD) to be with you always?


The thing is, its a selfish act. If "GOD" is always with you then he
is not always with me or anyone else. Also, why wasn't GOD with him in
the first place? :)
What happens if you go into a gentlemans club?


Well, it depends if GOD is a woman or man. :)
 
T

Timothy Casey

Mike said:
Bill Yanaire wrote: [SNIP]
What happens if you go into a gentlemans club?


Well, it depends if GOD is a woman or man. :)

Anything and everything capable of creating life (IE conceiving & giving
birth) is, by biological definition, female. Therefore if God created life
God is female, and thus Goddess not God. If Goddess created humans in Her
image, then Goddess is a woman.

Q.E.D.

I'd apply for canonisation, but the offerings of the brass monkey can be bad
for your teeth and cause terrible indigestion!
 
T

Timothy Casey

NAF said:
Hi Timothy Casey,

Thank you Very much Timothy Casey.
God bless you and may god always accept your good deeds.
Thanks again dude...

I'm sorry, but I forgot to put a work breakown at the top of the list. A
good work breakdown will make internal specification a breeze and is easily
joined to risk analysis by taking the extra step of "job safety analysis" of
the steps. The JSA as it is called, is most used in OH&S, but also effective
here as there is considerable overlap in methodology.

Incorporating JSA into the work breakdown is particularly important if you
are building an application that is exposed to a public environment where
criminals might seek to exploit a way of using your application to either
tunnel through a 'firewall' (if they are already in the system) or otherwise
subvert your application from outside. Examples include browsers and web
publishing applications.

You have quite a bit on your plate, so once again best of luck to you...
 
M

Mike

In that case, May Goddess Be With You between 9:00pm and 9:01pm. She
has an appointment afterwards at the VB.Netter's Gentlemen Club. :)

Timothy said:
Mike said:
Bill Yanaire wrote: [SNIP]
What happens if you go into a gentlemans club?


Well, it depends if GOD is a woman or man. :)

Anything and everything capable of creating life (IE conceiving & giving
birth) is, by biological definition, female. Therefore if God created
life God is female, and thus Goddess not God. If Goddess created humans
in Her image, then Goddess is a woman.

Q.E.D.

I'd apply for canonisation, but the offerings of the brass monkey can be
bad for your teeth and cause terrible indigestion!
 
N

Nobody

Timothy Casey said:
Anything and everything capable of creating life (IE conceiving & giving
birth) is, by biological definition, female. Therefore if God created life
God is female, and thus Goddess not God. If Goddess created humans in Her
image, then Goddess is a woman.

The female definition is actually closer to one that conceives, and the male
is the one that procreates
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top