TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Deva Subbu
NA
40
29.3k
disable particular word textfield+c#
Nov 19 2010 1:47 AM
HI all,
i have gone through this code sharing its wonderfull, could some body help me how to disable a particular Formfield (ex)
lblFaxPhysTo
i have used the below code to disable the control but no luck
loading the document and assigning the values and all done. am strucked here only
if (oWordDoc.Bookmarks.Exists("lblFaxPhysTo"))
{
object bookmarkName = "lblFaxPhysTo";
((Microsoft.Office.Interop.Word.FormField)oWordDoc.FormFields.get_Item(ref bookmarkName)).Enabled = false;
oWordDoc.Bookmarks.get_Item(ref bookmarkName).Range.Bold = 1;
oWordDoc.Bookmarks.get_Item(ref bookmarkName).Range.Font.Size = 8;
}
my requirements are:
* the word document should be read only,and it also should allow some of the fields to edit.... waiting for reply thanks in advance
Thanks,
S.Devanathan
Reply
Answers (
1
)
Process.start(msinfo32) arguments problem
can any one covert this PHP code in ASP.net ?