Click here to Skip to main content
15,922,533 members
Home / Discussions / C#
   

C#

 
GeneralRe: timer Pin
stancrm16-Aug-09 22:55
stancrm16-Aug-09 22:55 
AnswerRe: timer Pin
Luc Pattyn16-Aug-09 23:52
sitebuilderLuc Pattyn16-Aug-09 23:52 
AnswerRe: timer Pin
mustang8617-Aug-09 6:18
mustang8617-Aug-09 6:18 
AnswerRe: timer Pin
mustang8617-Aug-09 6:19
mustang8617-Aug-09 6:19 
QuestionAccessViolationException in OdbcDataReader Pin
Frozzeg16-Aug-09 22:04
Frozzeg16-Aug-09 22:04 
AnswerRe: AccessViolationException in OdbcDataReader Pin
OriginalGriff16-Aug-09 22:10
mveOriginalGriff16-Aug-09 22:10 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Luc Pattyn16-Aug-09 23:54
sitebuilderLuc Pattyn16-Aug-09 23:54 
GeneralRe: AccessViolationException in OdbcDataReader Pin
OriginalGriff17-Aug-09 0:37
mveOriginalGriff17-Aug-09 0:37 
AnswerRe: AccessViolationException in OdbcDataReader Pin
Hristo-Bojilov16-Aug-09 22:11
Hristo-Bojilov16-Aug-09 22:11 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Frozzeg16-Aug-09 22:26
Frozzeg16-Aug-09 22:26 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Christian Graus16-Aug-09 22:30
protectorChristian Graus16-Aug-09 22:30 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Frozzeg16-Aug-09 22:45
Frozzeg16-Aug-09 22:45 
GeneralRe: AccessViolationException in OdbcDataReader [modified] Pin
Saksida Bojan16-Aug-09 22:57
Saksida Bojan16-Aug-09 22:57 
AnswerRe: AccessViolationException in OdbcDataReader Pin
Christian Graus16-Aug-09 22:29
protectorChristian Graus16-Aug-09 22:29 
AnswerRe: AccessViolationException in OdbcDataReader Pin
Frozzeg16-Aug-09 23:12
Frozzeg16-Aug-09 23:12 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Saksida Bojan16-Aug-09 23:15
Saksida Bojan16-Aug-09 23:15 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Frozzeg16-Aug-09 23:27
Frozzeg16-Aug-09 23:27 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Saksida Bojan16-Aug-09 23:50
Saksida Bojan16-Aug-09 23:50 
GeneralRe: AccessViolationException in OdbcDataReader Pin
Frozzeg17-Aug-09 0:01
Frozzeg17-Aug-09 0:01 
AnswerRe: AccessViolationException in OdbcDataReader Pin
Singan17-Aug-09 5:01
Singan17-Aug-09 5:01 
Questionread data from a sql database on server from client ??? Pin
mr.mohsen16-Aug-09 20:35
mr.mohsen16-Aug-09 20:35 
AnswerRe: read data from a sql database on server from client ??? Pin
padmanabhan N16-Aug-09 20:39
padmanabhan N16-Aug-09 20:39 
GeneralRe: read data from a sql database on server from client ??? Pin
mr.mohsen16-Aug-09 20:47
mr.mohsen16-Aug-09 20:47 
AnswerRe: read data from a sql database on server from client ??? Pin
Saksida Bojan16-Aug-09 20:43
Saksida Bojan16-Aug-09 20:43 
Questionhow to retrive bookmarks from word document in c#.net Pin
Veerendranadh16-Aug-09 20:27
Veerendranadh16-Aug-09 20:27 
Hi,
I am using c#.net and Microsoft.Office.Interop.Word dll to read the ms word document content. My requirement is to read all available bookmarks from the document.
I am able to read the number of bookmarks(count only) but failed to read the bookmark names.
Here is the code for reading bookmark count.

_Application wdApp = new Microsoft.Office.Interop.Word.Application();
_Document Doc = new Microsoft.Office.Interop.Word.Document();
Microsoft.Office.Interop.Word.Range wdRange;
object optional = System.Reflection.Missing.Value;
Doc = wdApp.Documents.Open(ref _fileName, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional);
int intParaCount;
intParaCount = Doc.Bookmarks.Count;

Please provide the code for reading the available bookmark names from the word document.
Thanks in advance.


Veerendra

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.