Hi All,
I am currently working on a Document Management Add-on for my company, and am facing a challenge:
One of the functionality requires me to "read' a Word document, placing the texts into NAV tables, and import any embedded pictures as attachments.
I can read the text perfectly, but have found no means of getting access to the pictures by code. Has anyone here ever been successful at something similar? And if so how do I do it?
I'm sure there should be a way, as I am able to do the reverse acction (putting pictures in a word document), using this code:
Attach.ExportAttachment(TempPic);
wrdSel.InlineShapes.AddPicture(TempPic);
Thanks in advance
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
In this case i do following: Save the document as WebSite. In this case the puctires stored as ThumbNail and in Original format. After saving as WebSite you can import the Picture(s) from the folder.
Regards
Regards
http://forums.microsoft.com/MSDN/ShowPo ... 3&SiteID=1
would you\anybody please share code about reading text from word document & storing in NAV tables (where field size is 80 Char)?
I searched forums but didn't get exactly what i'm expecting.
It would be gr8 help.
Thanks,
Mahesh Jain
Mahesh Jain
mahesh@reliconservices.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for your reply.
I want to upload word document in NAV.
i.e. my client gets details in word document from its customers.
Instead of importing document in NAV as attachment, they would like to upload text of word document in Sales Comment line table.
They want it to be automized.
i.e. Function->Upload Document.
It will ask me Path of file and All Text of word document would be copied into Sales Comment line table.
Please let me know, if you are still not clear.
Thanks again
Mahesh Jain
mahesh@reliconservices.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
That's what i'm looking for.
Actually, i want to have the code (exact programming syntax).. please share if you know.
I have used WaldoNotepad also which is best fit to my requirement. Waldo has also taken care that if Text field size is 80 Char, 75 chars are already used & Next Word is of 6 char then it would go in next line.
But I'll have to ask client to copy word document text into WaldoNotepad which he will never. :whistle:
Thanks,
Mahesh Jain
mahesh@reliconservices.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks for your response.
Mahesh Jain
mahesh@reliconservices.com