Not sure if this belongs in this should have been put in the data access forum. If so, apologies in advance.
I am using vb.net in a web application to go through a list of ppt files I have created from the contents of a directory. My intention is to either:
a) extract text from them so I can create a table of keywords that will later be used in keyword searches.
b) if one exists, to use a builtin keyword search function.
However, I am unable to find anything in the Office.Core namespace or in the PowerPoint namespace that look like a text search or read function. Is there a builtin way to either:
-extract readable text from a ppt presentation, slide and notes sections?
-do keyword searches on a ppt presentation, slide and notes sections?
This is the bsaic idea:
--
Dim myPowerPoint as PowerPoint.Application
Dim pptFiles() as string
pptFiles = Directory.GetFiles(path, "*.ppt")
For x = 0 To pptFiles.length - 1
Dim targetFile As String = pptFiles(x)
Dim prsPres As PowerPoint.Presentation = myPowerPoint.Presentations.Open(targetFile, True, False, False)
'insert code top read text strings from ppt presentation
tergetfile = nothing
prspres = nothing
Next
--
I am using vb.net in a web application to go through a list of ppt files I have created from the contents of a directory. My intention is to either:
a) extract text from them so I can create a table of keywords that will later be used in keyword searches.
b) if one exists, to use a builtin keyword search function.
However, I am unable to find anything in the Office.Core namespace or in the PowerPoint namespace that look like a text search or read function. Is there a builtin way to either:
-extract readable text from a ppt presentation, slide and notes sections?
-do keyword searches on a ppt presentation, slide and notes sections?
This is the bsaic idea:
--
Dim myPowerPoint as PowerPoint.Application
Dim pptFiles() as string
pptFiles = Directory.GetFiles(path, "*.ppt")
For x = 0 To pptFiles.length - 1
Dim targetFile As String = pptFiles(x)
Dim prsPres As PowerPoint.Presentation = myPowerPoint.Presentations.Open(targetFile, True, False, False)
'insert code top read text strings from ppt presentation
tergetfile = nothing
prspres = nothing
Next
--