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
chetan Allipur
NA
541
167.7k
How to bring the he document to front while open.
Sep 1 2017 1:56 AM
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.
Reply
Answers (
7
)
i have loop problem
prblm in hastable convert string to int