Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Image or Picture from SQL Image Data Type

Trying to add a picture to a cell programmatically that is stored in SQL
Server as a Image Data Type. Can anyone tell me how to all this in VB.NET or
C#. The following works for a image stored on the computer, however I need to
pull from the database.

Dim pic As String = "c:\pic.jpg"
Dim opicture As Object
opicture = oSheet.Pictures.Insert(pic)


Thanks,
Sam
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drawing/image/picture not visible in Excel on one pc Amedee Van Gasse Excel Discussion (Misc queries) 1 January 26th 09 03:30 PM
Image (Picture) from Excel Cell Data? Walter Belhaven Excel Programming 0 January 26th 08 04:49 AM
Is there any way to search image of my local drive with Image name or Image Title, Description [email protected] Excel Programming 3 August 3rd 07 01:44 PM
Bitmap data of Image controls & Picture objects... MDB[_2_] Excel Programming 0 November 5th 04 08:30 PM
Bitmap data of Image controls & Picture objects... MDB Excel Programming 1 November 4th 04 06:35 AM


All times are GMT +1. The time now is 09:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"