Trying load an embedded object to the clipboard and then save it to a file. When I try and save to the file, I'm getting a "Object reference not set to an instance of an object". I've marked the line with ---->>> where the error occurs. Any help would be appreciated. Code is below. Using VB.NET
Dim InShapeObj As Word.InlineShap e
Dim SaveObj As New DataObject
Dim ImageObj As Image
Dim WordApp...
User Profile
Collapse
-
Saving Image From Clipboard
-
Thanks, but when I put the SET in front, it goes away when I leave the line, in Studio. So, this didn't work.... -
Saving Image From Clipboard
Trying load an embedded object to the clipboard and then save it to a file. When I try and save to the file, I'm getting a "Object reference not set to an instance of an object". I've marked the line with ---->>> where the error occurs. Any help would be appreciated.
Dim InShapeObj As Word.InlineShap e
Dim SaveObj As New DataObject
Dim ImageObj As Image
...
No activity results to display
Show More
Leave a comment: