| | |
vb.net Help
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Apr 2008
Posts: 54
Reputation:
Solved Threads: 5
Hi all
im Implementing wordcount feature in my appliction it counts the numberof lines in the document,number of pages, number of charecters with space and without space,
numberof paragraphs in the document
i implemented this function it is working fine but the problem is becoz of loops and im checking each charecter, so if the document is too long say 30 or more pages my apliction get hangs.
so any bady is having the idea to implement it another way?
any advice is welcome
thnks...
im Implementing wordcount feature in my appliction it counts the numberof lines in the document,number of pages, number of charecters with space and without space,
numberof paragraphs in the document
i implemented this function it is working fine but the problem is becoz of loops and im checking each charecter, so if the document is too long say 30 or more pages my apliction get hangs.
so any bady is having the idea to implement it another way?
any advice is welcome
thnks...
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 138
Well what way do you have it now?
Also be sure to optimize your code as well ie use stringbuffer instead string +, you know the usuals. When you are comparing characters, you might be running into speed and performance issues when you get into the larger documents.
Post the code and lets take a look.
Also be sure to optimize your code as well ie use stringbuffer instead string +, you know the usuals. When you are comparing characters, you might be running into speed and performance issues when you get into the larger documents.
Post the code and lets take a look.
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 138
Depending upon the document, you can check for paragraph separator character
0x2029
Otherwise, you might need to check for multiple carriage returns, line feeds, depending upon how your document is saved.
0x2029
Otherwise, you might need to check for multiple carriage returns, line feeds, depending upon how your document is saved.
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Similar Threads
- Freelance .NET / MS SQL developer (Web Development Job Offers)
- .Net Application Developer (Software Development Job Offers)
- .net Software Engineer (Software Development Job Offers)
- .NET Consultant (Software Development Job Offers)
- Software Engineer (.NET , SQL) (Software Development Job Offers)
- ASP.Net / C# Web Developer (Web Development Job Offers)
- ProgrammersTalk.net Recruiting Forum Posters (Internet Marketing Job Offers)
- .NET developers team searches projects (Post your Resume)
Other Threads in the VB.NET Forum
Views: 452 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
"crystal .net .net2005 2008 access add application array assignment basic box button buttons center class click code combo convert cpu data database datagrid datagridview design designer dissertation dissertations dissertationthesis dosconsolevb.net editvb.net employees error excel exists firewall function image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net opacity page pan picturebox port print printing printpreview problem record refresh regex reports" reuse right-to-left save savedialog search serial socket sorting sql sqldatbase storedprocedure string structures studio temp textbox timer txttoxmlconverter upload useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet vista visual visualbasic visualbasic.net visualstudio2008 web wpf xml






