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 / Interop / September 2005

Tip: Looking for answers? Try searching our database.

Nothing displays on Word window!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kash - 23 Sep 2005 12:30 GMT
Hi Guys:
I'm facing a strange behavior when trying to invoke and open a Word document
through my aspx (vb.net) file. I'm working with Office 2003 and I can see
that the requested document gets opened on the screen. Some of the Word's
icons on standard toolbar and other toolbars come up and display on the
screen some not! If I try to open the Fonts drop box for example it gets
opened but nothing inside! No text comes up on the screen but if there is a
typo on the page, it's being marked on the page (red line underneath as
normal), when I try to move the Word window by drag it to right or left the
moving track remains on the screen and a lot of other weird behaviors! Here
is my codes:

Dim wordApp As New Microsoft.Office.Interop.Word.Application
wordApp.Visible = True
wordApp.Activate()
Dim fileName As String = "C:\my documents\testFile.doc"
Dim missing As Object = System.Reflection.Missing.Value
Dim wordDoc As Word.Document =
wordApp.Documents.Open(fileName,,False,,,,,,,True,True,,True)
wordDoc.Activate()

can anybody says what's wrong here?  any help is highly appreciated.

cheers
Kash
Robert Jordan - 23 Sep 2005 14:42 GMT
Hi,

> I'm facing a strange behavior when trying to invoke and open a Word document
> through my aspx (vb.net) file. I'm working with Office 2003 and I can see
[quoted text clipped - 6 lines]
> moving track remains on the screen and a lot of other weird behaviors! Here
> is my codes:

The "strange behavior" is by design:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757

Rob

Rate this thread:







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.