Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Open word doc inside webBrowser control on Win7 machine

nivarshnnivarshn Posts: 2Member
My application is in VB.NET and environment is Window XP. We are using WebBrowser control to display data of Word doc files i.e. we are opening word files always inside the WebBrowser control and then modifying word file using bookmarks by VB code.Our VB code is perfectly working. We are doing following changes in window registry via VB.NET code for temporary basis:
1)..HKEY_LOCAL_MACHINESOFTWAREClassesWord.Document.8

updating BrowserFlags value to H80000024
2)..HKEY_CLASSES_ROOTWord.Document.8

updating EditFlags value to 65536
3)..HKEY_CLASSES_ROOTWord.Template.8

updating EditFlags value to 65536
4)..HKEY_LOCAL_MACHINESOFTWAREClassesWord.Document.12

updating BrowserFlags value to H80000024
5)..HKEY_CLASSES_ROOTWord.Document.12

updating EditFlags value to 65536
6)..HKEY_CLASSES_ROOTWord.Template.12

updating EditFlags value to 65536

Now we are migrating environment from WinXP to Win7. I have following query for Win7 environment :
We do not have rights to change registry on Win7 machine , so without changing values of BrowserFlags and EditFlags , how word docs files will always open inside webBrowser control on win7 machine? Currently I am getting popup dialog box (Open/save/Cancel) for word doc on win7 machine while running application.I am attaching it.

I want to avoid it.Please help me to find the solution.
Sign In or Register to comment.