Solved

using WebBrowser control to open an Office document-Opens in new window

Posted on 2011-02-14
9
940 Views
Last Modified: 2012-05-11
I am trying to open Web browser contrl to open Offuce document excel/mdb but opens in separate window. Any help What is missing..I am using http://support.microsoft.com/kb/243058.
 ItThe main form doe snot open doc ..instead shows like this
0
Comment
Question by:rishaan
  • 4
  • 4
9 Comments
 
LVL 10

Accepted Solution

by:
kdwood earned 400 total points
ID: 34890432
Greetings rishaan,

See if this link will help you out.  

http://forums.techarena.in/windows-software/1321805.htm

Regards,

Keith
0
 

Author Comment

by:rishaan
ID: 34890951
I am using same code..But it opens separately and not in web browser..What part of code make sit happen. I am using VS 2008.
0
 

Author Comment

by:rishaan
ID: 34891057
Thanks ..There was a link in your recommened site for FIX. This hellped to open Excel in Webbrowser but can we open Access also in web browser?
0
 
LVL 10

Assisted Solution

by:kdwood
kdwood earned 400 total points
ID: 34891224
Rishaan,

I don't think it is possible to open an Access database from a webbrowser control.   Perhaps one of the other experts could verify this as I may be wrong.

Regards,

Keith
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 10

Expert Comment

by:kdwood
ID: 34891257
Rishaan,

Just a point of clarification on my last post.  I know you can publish Access data to a web page that users can then interact with.  You could then point the webbrowser control navigation to that page.   However, I don't believe that is what you were looking for.   Again, maybe another expert could verify this.

Keith
0
 

Author Comment

by:rishaan
ID: 34891295
Is there no window registry fix availble for Access as for Excel/word/powerpoint at http://forums.techarena.in/windows-software/1321805.htm ?
0
 
LVL 10

Expert Comment

by:kdwood
ID: 34891504

It is my understanding that you are trying to browse to an existing Office document and open it in a web browser control.  I do not believe that you can open an Access database this way.   Again, I may be wrong on this.

Have you tested trying to open Access from the Webbrowser control?    Does it open at all?
0
 

Author Comment

by:rishaan
ID: 34891789
I am opening Access form on click of a button but its opening in a seaparate window rather than in web browser control like it started working for Excel,Word etc...I  have  a.Net project based on Access database where I show difeernet charts and want to add the powerful filter functionality of Access form...
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 100 total points
ID: 34896084
I think Access does not integrate with Internet Explorer the way Word/Excel do.

You can try this

http://www.codeproject.com/KB/miscctrl/AppControl.aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now