Click here to Skip to main content
15,937,447 members
Home / Discussions / C#
   

C#

 
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
AnswerRe: how to retrive bookmarks from word document in c#.net Pin
padmanabhan N16-Aug-09 20:48
padmanabhan N16-Aug-09 20:48 
QuestionIndex Services Erros(The query contained only ignored words) Pin
alisolution16-Aug-09 20:21
alisolution16-Aug-09 20:21 
AnswerRe: Index Services Erros(The query contained only ignored words) Pin
Hristo-Bojilov16-Aug-09 21:40
Hristo-Bojilov16-Aug-09 21:40 
QuestionOn Line Chat Pin
GauravGupta21216-Aug-09 20:07
GauravGupta21216-Aug-09 20:07 
AnswerRe: On Line Chat Pin
Christian Graus16-Aug-09 20:22
protectorChristian Graus16-Aug-09 20:22 
Question[Message Deleted] Pin
GauravGupta21216-Aug-09 19:26
GauravGupta21216-Aug-09 19:26 
AnswerRe: on line chat module Pin
Christian Graus16-Aug-09 19:59
protectorChristian Graus16-Aug-09 19:59 
QuestionDistributed Application Development Pin
Abdul Rahman Hamidy16-Aug-09 19:26
Abdul Rahman Hamidy16-Aug-09 19:26 
AnswerRe: Distributed Application Development Pin
Hristo-Bojilov16-Aug-09 21:52
Hristo-Bojilov16-Aug-09 21:52 
GeneralRe: Distributed Application Development Pin
Abdul Rahman Hamidy16-Aug-09 23:47
Abdul Rahman Hamidy16-Aug-09 23:47 
QuestionRadioButton Pin
daffy_200316-Aug-09 15:28
daffy_200316-Aug-09 15:28 
AnswerRe: RadioButton Pin
DdoubleD16-Aug-09 16:13
DdoubleD16-Aug-09 16:13 
GeneralRe: RadioButton Pin
daffy_200316-Aug-09 16:54
daffy_200316-Aug-09 16:54 
GeneralRe: RadioButton Pin
DdoubleD16-Aug-09 17:02
DdoubleD16-Aug-09 17:02 
GeneralRe: RadioButton Pin
DdoubleD16-Aug-09 17:06
DdoubleD16-Aug-09 17:06 
GeneralRe: RadioButton Pin
daffy_200316-Aug-09 17:10
daffy_200316-Aug-09 17:10 
GeneralRe: RadioButton Pin
DdoubleD16-Aug-09 17:17
DdoubleD16-Aug-09 17:17 

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.