From: Christiano on
Hey there...


i've developed an asp.net app where you upload a .DOC file and the
application converts it into .html.

In my development environment everything worked fine, but when i
uploaded, i discovered that my hosting doens't allow me to use
Microsoft.Office.Interop.Word Namespace..

- is there any file that I can upload to use it?
- if i create an .dll file with the used code for converting, and
upload, will it work?
- is there another way to parse word files into html?

tks in advance,
christiano


From: Family Tree Mike on
One of the file types to save from Word is HTML. You can do this without
going to the web.

If you want to use MS Word objects on your server though, you need to have
Word installed there. I don't recall the particulars at the moment, but I
recall others pointing out using Office in this way (on a server) is not
recommended.

"Christiano" wrote:

> Hey there...
>
>
> i've developed an asp.net app where you upload a .DOC file and the
> application converts it into .html.
>
> In my development environment everything worked fine, but when i
> uploaded, i discovered that my hosting doens't allow me to use
> Microsoft.Office.Interop.Word Namespace..
>
> - is there any file that I can upload to use it?
> - if i create an .dll file with the used code for converting, and
> upload, will it work?
> - is there another way to parse word files into html?
>
> tks in advance,
> christiano
>
>
>
From: Christiano on
the Microsoft.Office.Interop.Word Namespace does this "save as html"...
you need only to upload and the webpage will be avaiable...

i've tried uploading the Microsoft.Office.Interop.Word.dll into the \bin
folder... but didn't work out...

i think i would need to register it in gacutil, or something like it...


what i need is to upload a .doc file, and the component
"Family Tree Mike" <FamilyTreeMike(a)discussions.microsoft.com> escreveu na
mensagem news:8C820FCD-5409-4DDC-B6E3-3D73B247E8CC(a)microsoft.com...
> One of the file types to save from Word is HTML. You can do this without
> going to the web.
>
> If you want to use MS Word objects on your server though, you need to have
> Word installed there. I don't recall the particulars at the moment, but I
> recall others pointing out using Office in this way (on a server) is not
> recommended.
>
> "Christiano" wrote:
>
>> Hey there...
>>
>>
>> i've developed an asp.net app where you upload a .DOC file and the
>> application converts it into .html.
>>
>> In my development environment everything worked fine, but when i
>> uploaded, i discovered that my hosting doens't allow me to use
>> Microsoft.Office.Interop.Word Namespace..
>>
>> - is there any file that I can upload to use it?
>> - if i create an .dll file with the used code for converting, and
>> upload, will it work?
>> - is there another way to parse word files into html?
>>
>> tks in advance,
>> christiano
>>
>>
>>


From: Lloyd Sheen on

"Christiano" <cdonke(a)digiexpress.com.br> wrote in message
news:%23pI$YkT3IHA.5088(a)TK2MSFTNGP03.phx.gbl...
> the Microsoft.Office.Interop.Word Namespace does this "save as html"...
> you need only to upload and the webpage will be avaiable...
>
> i've tried uploading the Microsoft.Office.Interop.Word.dll into the \bin
> folder... but didn't work out...
>
> i think i would need to register it in gacutil, or something like it...
>
>
> what i need is to upload a .doc file, and the component
> "Family Tree Mike" <FamilyTreeMike(a)discussions.microsoft.com> escreveu na
> mensagem news:8C820FCD-5409-4DDC-B6E3-3D73B247E8CC(a)microsoft.com...
>> One of the file types to save from Word is HTML. You can do this without
>> going to the web.
>>
>> If you want to use MS Word objects on your server though, you need to
>> have
>> Word installed there. I don't recall the particulars at the moment, but
>> I
>> recall others pointing out using Office in this way (on a server) is not
>> recommended.
>>
>> "Christiano" wrote:
>>
>>> Hey there...
>>>
>>>
>>> i've developed an asp.net app where you upload a .DOC file and the
>>> application converts it into .html.
>>>
>>> In my development environment everything worked fine, but when i
>>> uploaded, i discovered that my hosting doens't allow me to use
>>> Microsoft.Office.Interop.Word Namespace..
>>>
>>> - is there any file that I can upload to use it?
>>> - if i create an .dll file with the used code for converting, and
>>> upload, will it work?
>>> - is there another way to parse word files into html?
>>>
>>> tks in advance,
>>> christiano
>>>
>>>
>>>
>
>

Microsoft.Office.Interop.Word.dll is just a wrapper that VS will create to
allow the usage of a com component. If you don't have MS Office (at least
word) installed that dll would simply wrap nothing.

LS

From: Christiano on
I see...

if i write a dll that does all the html encoding and upload it...
do you think it will work?

i get from MS a manual about the word binaries from 97 to 2007...

it's a 210 pages pdf that is anything but simple nor self-explanatory...
i think i'll have to read it... :S



"Lloyd Sheen" <a(a)b.c> escreveu na mensagem
news:O4YxKsT3IHA.2348(a)TK2MSFTNGP06.phx.gbl...
>
> "Christiano" <cdonke(a)digiexpress.com.br> wrote in message
> news:%23pI$YkT3IHA.5088(a)TK2MSFTNGP03.phx.gbl...
>> the Microsoft.Office.Interop.Word Namespace does this "save as html"...
>> you need only to upload and the webpage will be avaiable...
>>
>> i've tried uploading the Microsoft.Office.Interop.Word.dll into the \bin
>> folder... but didn't work out...
>>
>> i think i would need to register it in gacutil, or something like it...
>>
>>
>> what i need is to upload a .doc file, and the component
>> "Family Tree Mike" <FamilyTreeMike(a)discussions.microsoft.com> escreveu na
>> mensagem news:8C820FCD-5409-4DDC-B6E3-3D73B247E8CC(a)microsoft.com...
>>> One of the file types to save from Word is HTML. You can do this
>>> without
>>> going to the web.
>>>
>>> If you want to use MS Word objects on your server though, you need to
>>> have
>>> Word installed there. I don't recall the particulars at the moment, but
>>> I
>>> recall others pointing out using Office in this way (on a server) is not
>>> recommended.
>>>
>>> "Christiano" wrote:
>>>
>>>> Hey there...
>>>>
>>>>
>>>> i've developed an asp.net app where you upload a .DOC file and the
>>>> application converts it into .html.
>>>>
>>>> In my development environment everything worked fine, but when i
>>>> uploaded, i discovered that my hosting doens't allow me to use
>>>> Microsoft.Office.Interop.Word Namespace..
>>>>
>>>> - is there any file that I can upload to use it?
>>>> - if i create an .dll file with the used code for converting, and
>>>> upload, will it work?
>>>> - is there another way to parse word files into html?
>>>>
>>>> tks in advance,
>>>> christiano
>>>>
>>>>
>>>>
>>
>>
>
> Microsoft.Office.Interop.Word.dll is just a wrapper that VS will create
> to allow the usage of a com component. If you don't have MS Office (at
> least word) installed that dll would simply wrap nothing.
>
> LS