Click here to Skip to main content
15,916,693 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalhelp Pin
bassemhoussam6-Aug-04 10:59
bassemhoussam6-Aug-04 10:59 
GeneralRe: help Pin
Dave Kreskowiak7-Aug-04 6:29
mveDave Kreskowiak7-Aug-04 6:29 
GeneralMSchart in VB.net Pin
megadith6-Aug-04 10:37
megadith6-Aug-04 10:37 
GeneralRe: MSchart in VB.net Pin
Dave Kreskowiak7-Aug-04 6:28
mveDave Kreskowiak7-Aug-04 6:28 
GeneralRe: MSchart in VB.net Pin
megadith10-Aug-04 8:41
megadith10-Aug-04 8:41 
GeneralSimple Grid in VB.NET Pin
Anonymous6-Aug-04 9:55
Anonymous6-Aug-04 9:55 
GeneralRe: Simple Grid in VB.NET Pin
Member 7339436-Aug-04 14:52
Member 7339436-Aug-04 14:52 
GeneralAccessing Object property of OLEFormat Pin
smritiy6-Aug-04 9:45
smritiy6-Aug-04 9:45 
I'm trying to save the OLE objects in a MSWord document in separate files. So I want to iterate through each shape , access its OLE object, convert it into an image and save the image to a file. However when I try to access the shape.OLEFormat.object it gives me a run-time error saying "No such interface supported". Here's a snippet of the code:

dim myrange as range
dim oShape as word.shape
dim chart as graph.chart

myrange = doc.paragraphs(1).range
for i = 1 to myrange.shaperange.count
oShape = myrange.shaperange(i)
select case oShape.type
case msoShapeType.msoEmbeddedOLEObject
chart = Ctype(oShape.OLEFormat.object,graph.chart)
case else
...
end select
next

Can anybody tell me where I'm going wrong ??

Smriti
GeneralRe: Accessing Object property of OLEFormat Pin
Dave Kreskowiak7-Aug-04 6:24
mveDave Kreskowiak7-Aug-04 6:24 
GeneralRe: Accessing Object property of OLEFormat Pin
smritiy9-Aug-04 8:40
smritiy9-Aug-04 8:40 
GeneralCommunicate with Digitizer Pin
SonnyBono6-Aug-04 7:22
SonnyBono6-Aug-04 7:22 
GeneralRe: Communicate with Digitizer Pin
Dave Kreskowiak6-Aug-04 8:09
mveDave Kreskowiak6-Aug-04 8:09 
GeneralWeb Service Help Pin
inetmaster6-Aug-04 5:48
inetmaster6-Aug-04 5:48 
GeneralRe: Web Service Help Pin
Dave Kreskowiak6-Aug-04 7:16
mveDave Kreskowiak6-Aug-04 7:16 
GeneralVBtab not working in a label in VB.NET Pin
dotnetfriend6-Aug-04 5:46
dotnetfriend6-Aug-04 5:46 
GeneralRe: VBtab not working in a label in VB.NET Pin
Dave Kreskowiak6-Aug-04 7:03
mveDave Kreskowiak6-Aug-04 7:03 
GeneralByReference help Pin
Anonymous6-Aug-04 4:20
Anonymous6-Aug-04 4:20 
GeneralRe: ByReference help Pin
Dave Kreskowiak6-Aug-04 5:39
mveDave Kreskowiak6-Aug-04 5:39 
GeneralRe: ByReference help Pin
Anonymous6-Aug-04 6:03
Anonymous6-Aug-04 6:03 
GeneralRe: ByReference help Pin
Dave Kreskowiak6-Aug-04 6:40
mveDave Kreskowiak6-Aug-04 6:40 
GeneralRe: ByReference help Pin
Dave Kreskowiak6-Aug-04 6:52
mveDave Kreskowiak6-Aug-04 6:52 
GeneralRe: ByReference help Pin
Anonymous6-Aug-04 7:29
Anonymous6-Aug-04 7:29 
GeneralRe: ByReference help Pin
Dave Kreskowiak6-Aug-04 8:02
mveDave Kreskowiak6-Aug-04 8:02 
GeneralRe: ByReference help Pin
normanordas10-Aug-04 21:49
normanordas10-Aug-04 21:49 
GeneralNeed more helps at datagrid button column Pin
Lisana6-Aug-04 4:15
Lisana6-Aug-04 4:15 

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.