Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

MS OFFice Container in VB.Net

$
0
0
First, I'm not sure if this belongs here or in the Office Development Forum but it seem it is VB at the core to me anyhow.

I have spent most of a week lurking around the web for solution to my problem: How do I host a MS Office app. inside my vb.net 2010 app. I've seen many posts but really no good solution. I see that vb2008 used a webbroswer control but that became obsoulete when Office 2007 came out, at least without a register hack anyway. I seen a 3rd party software that is supposed to do it but at $1400 us dollars that's out.

What I'm doing is building a database app that has a report designer included.

I can open the doc and get the data into the bookmarks, not a problem. What I'm having a problem doing is keeping both VB app and MS Office app. visible at the same time, and the MS Office app. contained within my app. Like if I open Word in my app. and then decide to goto the WWW I don't want to min. my app and Min. the Office app. and that whole run-around.

I've been succesful using automation (using late-binding), to open and work with Word and that works great, however when focus changes back to vb app the office doc is hidden behind my app.

And I've even used the webbrowser, but all I could do was get the Word doc. open and not really much else. Besides I know for sure one client that uses Office 2010, so this is really not going to work.

Even looked into creating a custom user control--But that looked more advanced than I have experence.

I guess my goal is to not have a dependency on Office ver. & to do this in VB.net

Has anyone here came into with a simular situation and if you got it solved how did you do it?
BIG THANKS in advance

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>