By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,016 Members | 2,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,016 IT Pros & Developers. It's quick & easy.

how to count pages for .doc and .pdf?

P: n/a
greetings fellow programmers!! im kinda new in vb.net and i need your
professional help!

im using DSOframer to open .doc files but i disabled the menubar and toolbar
because i just want to show the contents of the .doc file in the
Axframercontrol.. i need to know how many pages the .doc file contains, can
anyone post a code here on how to do that? i saw some codes of vb6 on the
internet for counting pages of .doc, but i cant quite understand the codes on
obtaining the number of pages in the file because it's in vb6.

similarly, i use the tool from acrobat(AxAcroPDF1) to open pdf files. and i
also need to know how many pages the .pdf file contains..

can anyone please post a code here on how to count the pages of a .doc and .
pdf file?

--
Message posted via http://www.dotnetmonster.com

Jan 11 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Go here -http://support.microsoft.com/default.aspx/kb/224351 and download the
DsoFileSetup sample. It'll show you how to do this, among other things.
--
glen
"bling via DotNetMonster.com" wrote:
greetings fellow programmers!! im kinda new in vb.net and i need your
professional help!

im using DSOframer to open .doc files but i disabled the menubar and toolbar
because i just want to show the contents of the .doc file in the
Axframercontrol.. i need to know how many pages the .doc file contains, can
anyone post a code here on how to do that? i saw some codes of vb6 on the
internet for counting pages of .doc, but i cant quite understand the codes on
obtaining the number of pages in the file because it's in vb6.

similarly, i use the tool from acrobat(AxAcroPDF1) to open pdf files. and i
also need to know how many pages the .pdf file contains..

can anyone please post a code here on how to count the pages of a .doc and .
pdf file?

--
Message posted via http://www.dotnetmonster.com

Jan 11 '08 #2

P: n/a
wow thanks!! this is great!! i can count the total pages of a .doc file now!!

is there a sample like this or a code for counting the pages of pdf files?
this will really help me a lot!!

glen wrote:
>Go here -http://support.microsoft.com/default.aspx/kb/224351 and download the
DsoFileSetup sample. It'll show you how to do this, among other things.
>greetings fellow programmers!! im kinda new in vb.net and i need your
professional help!
[quoted text clipped - 11 lines]
>can anyone please post a code here on how to count the pages of a .doc and .
pdf file?
--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...b-net/200801/1

Jan 12 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.