Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
How to bring the he document to front while open.
chetan Allipur
Sep 1 2017 1:56 AM
218
Reply
I have a problem. I used doc.Activate() to bring the document to front but it doesn't work, the document remains in back.
I am closing Blank active document firts.
if
(app.ActiveDocument !=
null
)
{
oWordDoc = app.ActiveDocument;
if
(Ribbon1.docnum == 1)
{
oWordDoc.Close();
}
}
oWordDoc = app.Documents.Open(destinationPath, missing,
false
, missing, missing, missing,
false
, missing, missing, missing, missing, missing, missing
, missing, missing, missing);
app.Visible =
true
;
oWordDoc.Activate();
Please replay me fast. I am waiting.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
i have loop problem
prblm in hastable convert string to int