how to count pages for .doc and .pdf?

  • Thread starter Thread starter bling via DotNetMonster.com
  • Start date Start date
B

bling via DotNetMonster.com

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?
 
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.
 
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!!
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?
 
Back
Top