D
David Thielen
I am called on the event
Microsoft.Office.Interop.PowerPoint.Application.WindowSelectionChange
and have the following:
ActiveWindow.Selection gives me a valid selection object.
Selection.Type = ppSelectionText
Selection.TextRange throws a:
"Selection (unknown member) : Invalid request. Nothing appropriate is
currently selected."
All properties:
+ [System.__ComObject] {System.__ComObject}
System.__ComObject
+ Application {System.__ComObject}
Microsoft.Office.Interop.PowerPoint.Application {System.__ComObject}
+ ChildShapeRange 'sel.ChildShapeRange' threw an
exception of type 'System.Runtime.InteropServices.COMException'
Microsoft.Office.Interop.PowerPoint.ShapeRange
{System.Runtime.InteropServices.COMException}
HasChildShapeRange false bool
+ Parent {System.__ComObject} object
{System.__ComObject}
+ ShapeRange 'sel.ShapeRange' threw an exception of
type 'System.Runtime.InteropServices.COMException'
Microsoft.Office.Interop.PowerPoint.ShapeRange
{System.Runtime.InteropServices.COMException}
+ SlideRange {System.__ComObject}
Microsoft.Office.Interop.PowerPoint.SlideRange {System.__ComObject}
+ TextRange 'sel.TextRange' threw an exception of
type 'System.Runtime.InteropServices.COMException'
Microsoft.Office.Interop.PowerPoint.TextRange
{System.Runtime.InteropServices.COMException}
Type ppSelectionText
Microsoft.Office.Interop.PowerPoint.PpSelectionType
Any idea what's going on here?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Microsoft.Office.Interop.PowerPoint.Application.WindowSelectionChange
and have the following:
ActiveWindow.Selection gives me a valid selection object.
Selection.Type = ppSelectionText
Selection.TextRange throws a:
"Selection (unknown member) : Invalid request. Nothing appropriate is
currently selected."
All properties:
+ [System.__ComObject] {System.__ComObject}
System.__ComObject
+ Application {System.__ComObject}
Microsoft.Office.Interop.PowerPoint.Application {System.__ComObject}
+ ChildShapeRange 'sel.ChildShapeRange' threw an
exception of type 'System.Runtime.InteropServices.COMException'
Microsoft.Office.Interop.PowerPoint.ShapeRange
{System.Runtime.InteropServices.COMException}
HasChildShapeRange false bool
+ Parent {System.__ComObject} object
{System.__ComObject}
+ ShapeRange 'sel.ShapeRange' threw an exception of
type 'System.Runtime.InteropServices.COMException'
Microsoft.Office.Interop.PowerPoint.ShapeRange
{System.Runtime.InteropServices.COMException}
+ SlideRange {System.__ComObject}
Microsoft.Office.Interop.PowerPoint.SlideRange {System.__ComObject}
+ TextRange 'sel.TextRange' threw an exception of
type 'System.Runtime.InteropServices.COMException'
Microsoft.Office.Interop.PowerPoint.TextRange
{System.Runtime.InteropServices.COMException}
Type ppSelectionText
Microsoft.Office.Interop.PowerPoint.PpSelectionType
Any idea what's going on here?
thanks - dave
david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com
Cubicle Wars - http://www.windwardreports.com/film.htm