msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OLE control object not set

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE
Author Message
PDKingston



Joined: 04 Oct 2007
Posts: 1

PostPosted: Wed Nov 23, 2005 8:20 am    Post subject: OLE control object not set Reply with quote

Hi
I used the OLE control to open a .shs document:
OLE1.CreateLink "C:\myScrap.shs", "Word.document"
OLE1.Object.Saveas "C:\myScrap.doc" << --- failed here

Can anyone tell me why?

The reason Im doing this is because I have lots of .shs file which need to
be put into documents. When you d-click the file on the folder it opens fine
but not from VB.

Thanks in advance for your help




--
Many thanks
PD@Kingston

Archived from group: microsoft>public>vb>ole
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
OLE OBJECT Control Where i Find a OLE OBJECT CONTROL in VS.NET?

OLE Object Control I want to know that where i could get the OLE control in VB.net.if any one knows please guid me. bye bye Damodar

ole control and mapi control attempting to place an ole doc (ms word) in the message text area of email rather than the attachment portion of an email. is this possible? here's a sample of the code i've been using so far: With MAPISession1 .NewSession = False .LogonUI = False .DownLo

Object within an Object Hello, I hope this is the right group to post to. I'm trying to have a VB6 application create an (Office10) object through late binding which opens an MDE database. The Access code will then create an (

VB6 Object References I’m creating an application that will report dependency information for a given Visual Basic Project. The application simply reads the .vbp file, obtains the GUIDs, and looks to for confirmation that the resource has been registered. Th
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group