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.4k
Opening worddoc2007 inside webbrowser/c#.net
Dec 21 2011 6:03 AM
Hi,
I need to open word document inside the webbrowser. its is acheived when i open word2003,but not word2007.i got some links saying ActiveXwebbrowser will solve this problem. i tried that also but its opening as a newwindow explorer not inside the ActiveXwebbrowser. am working in windows application using c#.net.
OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal); openFileDialog.Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*"; if (openFileDialog.ShowDialog(this) == DialogResult.OK) { object null_obj_str = ""; string FileName = openFileDialog.FileName; object loc = FileName; System.Object null_obj = 0; axWebBrowser1.Navigate2(ref loc, ref null_obj, ref null_obj, ref null_obj_str, ref null_obj_str); //axWebBrowser1.Navigate(new Uri(FileName)); }
Reply
Answers (
11
)
Default execution time set in set_time_limit()
changing connection string dynamicallly