Click here to Skip to main content
15,929,263 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to load a word document and save it into sql db? Pin
waner michaud1-Sep-09 3:58
waner michaud1-Sep-09 3:58 
GeneralRe: How to load a word document and save it into sql db? Pin
Dave Kreskowiak1-Sep-09 5:16
mveDave Kreskowiak1-Sep-09 5:16 
GeneralRe: How to load a word document and save it into sql db? Pin
waner michaud1-Sep-09 5:48
waner michaud1-Sep-09 5:48 
GeneralRe: How to load a word document and save it into sql db? Pin
Dave Kreskowiak1-Sep-09 7:07
mveDave Kreskowiak1-Sep-09 7:07 
GeneralRe: How to load a word document and save it into sql db? Pin
waner michaud1-Sep-09 8:30
waner michaud1-Sep-09 8:30 
GeneralRe: How to load a word document and save it into sql db? Pin
Dave Kreskowiak1-Sep-09 13:25
mveDave Kreskowiak1-Sep-09 13:25 
GeneralRe: How to load a word document and save it into sql db? Pin
waner michaud2-Sep-09 4:00
waner michaud2-Sep-09 4:00 
GeneralRe: How to load a word document and save it into sql db? Pin
Dave Kreskowiak2-Sep-09 12:09
mveDave Kreskowiak2-Sep-09 12:09 
waner michaud wrote:
My problem is that firstly in the table, the record is of type image


"Image" in the database means any blob of binary data, not a picture.

The first line of code in your snippet is garbage. It refers ONLY to pictures or drawings. It can NOT load a Word document, nor a .TXT file, nor an .RTF, or any other non-picture format. And no, there is no class or method in the .NET Framework that will convert these formats into a "picture" of a page.



waner michaud wrote:
Maybe you can guide me


I have no idea what you're ultimately trying to do with this code. Are you trying to save a picture of a Word page, or are you trying to save the Word document itself in the database??


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: How to load a word document and save it into sql db? Pin
JasonD_S2-Sep-09 4:41
JasonD_S2-Sep-09 4:41 
GeneralRe: How to load a word document and save it into sql db? Pin
Dave Kreskowiak2-Sep-09 12:11
mveDave Kreskowiak2-Sep-09 12:11 
GeneralRe: How to load a word document and save it into sql db? Pin
waner michaud3-Sep-09 4:36
waner michaud3-Sep-09 4:36 
GeneralRe: How to load a word document and save it into sql db? Pin
Dave Kreskowiak3-Sep-09 13:37
mveDave Kreskowiak3-Sep-09 13:37 
Question.NET Error Pin
led12331-Aug-09 7:42
led12331-Aug-09 7:42 
AnswerRe: .NET Error Pin
Dave Kreskowiak31-Aug-09 9:04
mveDave Kreskowiak31-Aug-09 9:04 
AnswerRe: .NET Error Pin
led12331-Aug-09 9:11
led12331-Aug-09 9:11 
GeneralRe: .NET Error Pin
Dave Kreskowiak31-Aug-09 9:45
mveDave Kreskowiak31-Aug-09 9:45 
GeneralRe: .NET Error Pin
led1231-Sep-09 1:16
led1231-Sep-09 1:16 
QuestionRunning an application asynchronously Pin
devans12345631-Aug-09 3:22
devans12345631-Aug-09 3:22 
AnswerRe: Running an application asynchronously Pin
Dave Kreskowiak31-Aug-09 4:32
mveDave Kreskowiak31-Aug-09 4:32 
GeneralRe: Running an application asynchronously Pin
devans12345631-Aug-09 4:36
devans12345631-Aug-09 4:36 
GeneralRe: Running an application asynchronously Pin
led12331-Aug-09 4:44
led12331-Aug-09 4:44 
GeneralRe: Running an application asynchronously Pin
Dave Kreskowiak31-Aug-09 4:47
mveDave Kreskowiak31-Aug-09 4:47 
GeneralRe: Running an application asynchronously Pin
led12331-Aug-09 4:50
led12331-Aug-09 4:50 
GeneralRe: Running an application asynchronously Pin
Dave Kreskowiak31-Aug-09 9:03
mveDave Kreskowiak31-Aug-09 9:03 
GeneralRe: Running an application asynchronously Pin
led1231-Sep-09 1:18
led1231-Sep-09 1:18 

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.