Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

word document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Julia - 03 Aug 2005 08:31 GMT
Hi,
I have a question about saving the content of a word documents to an sql
database.

I have a windows app where is is possible to open a word document, created
as a form. The user can then modify the document.  Before closing or saving
the document I catch the event. In this event I would like to save the
content of the document into a databse. For example, the user can enter a
title, a name, check some checkbox and enter some text into the document.
This is what I want to save. How do I do this?

Maby the best way is not to use windows form?

I also would like to be able to save the apperance of the text, if it is
bold or in some colour. Is this possible?

Thanks a lot
Julia
Nick Malik [Microsoft] - 03 Aug 2005 09:49 GMT
Please.  Please.  Please... use Infopath for this.

The form is completely under your control.  The fields are the only things
saved.  You can add programming code to the buttons or just call web
services (a built-in capability).

Using word as a forms tool is just plain painful when there are tools like
Infopath around.

Signature

--- Nick Malik [Microsoft]
   MCSD, CFPS, Certified Scrummaster
   http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
  I do not answer questions on behalf of my employer.  I'm just a
programmer helping programmers.
--

> Hi,
> I have a question about saving the content of a word documents to an sql
[quoted text clipped - 15 lines]
> Thanks a lot
> Julia
Julia - 03 Aug 2005 09:55 GMT
Thanks for the tip. My problem is just that the customer wants to use word...

> Please.  Please.  Please... use Infopath for this.
>
[quoted text clipped - 24 lines]
> > Thanks a lot
> > Julia
hB - 03 Aug 2005 11:57 GMT
Save the MS Word document itself in the database [blob].
Or perhaps i think there would be some utility to do
InfoPath -> MsWord and/or vice versa.

(Plus with new Office all docs are going to be saved in XML, that is
going to be very very helpful in many ways)

---
hB

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.