Characters count without space in VB.NET 
Author Message
 Characters count without space in VB.NET

Hi

 Can any one tell us a way to calculate the
 characters without spaces in the MS word document through
 VB.NET?

 We were using

ActiveDocument.BuiltInDocumentProperties
(wdPropertyCharacters)

to retreive the characters count thru VB6, but the same is
not working in VB.NET

Thank you,

Regards
Anand



Fri, 28 Oct 2005 15:19:22 GMT  
 Characters count without space in VB.NET
Hi Anand,
try this:
ActiveDocument.BuiltInDocumentProperties(16).
VB doesn't know word constants.
Guess, it'll be the same with VB.Net.
Greetings from Germany
Helmut Weber


Fri, 28 Oct 2005 15:51:03 GMT  
 Characters count without space in VB.NET
Hi Anand,
... and something more.
AFAIK constants get known to VB (probably vb.net, too) by
using "early binding", which I've haven't used so far,
and therefore cann't explain it.
HW


Fri, 28 Oct 2005 16:01:29 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Space Space Space Space Space Space Space

2. Space Space Space Space Space Space Space

3. Space Space Space Space Space Space Space

4. Search/Replace Em Space/En Space characters

5. reset character spacing to default paragraph spacing

6. Count characters (without space) and words in a text ?

7. Deploying vb.net windows form application on a pc without the .net framework

8. Transferring data through internet in VB.net without using ASP.Net

9. Crystal Reports from ASP.NET without compiling VB.NET on SQL/ADO changes

10. VB and MS Agent without the character

11. VB.NET & SQL Server issue - trailing spaces

12. Get Drive Free Space in VB.NET

 

 
Powered by phpBB® Forum Software