RE: webbrowser in vb.net



Hello Komandur,

1). how can i hide standard/drawing/ bars in webbrowser control, if i
select
webbrowsershortcutenabled = false, its not doing, i checked with its
other
property also, but its not hidding all the bars
The codeproject document:
http://www.codeproject.com/office/Embedding_Excel.asp shows a demo for your
reference.
First, we need to get the current object of Word Application (see the
method GetActiveWorkbook in ExcelWrapper of the above demo project). The
command bars could be hidden by calling ".Visible=false" on the command bar
objects of Excel application. Suppose that m_wordApplication refers to the
application object of Word.
For Each bar in m_XlApplication.CommandBars iterates all the command bars
in the application and
bar.Visible = False; makes all of them invisible. In this way, we could
also hide all the menus, taskpanes and etc.

2). and i need to set the default layout for the browser is WEB VIEW
LAYOUT,
and other layouts ( which is in the webbrowser down bottom), i need to
hide
In the first question, we already get the object of the current Word
application. To set the Word's layout as Web View, we could call:
m_wordApplication.ActiveWindow.View.Type = wdWebView
But I did not find a method to disable the other view types. I have sent an
email to consult the issue and will get back to you as soon as possible.

3). if i open the readonly recommended DOC file thru browser, still its
askign for MODIFY password, if i click READONLY ( modify password is
important, since the same document is sharing with other users), its
opening,
how can i set this readonly as default, whenever the application gets
open,
and is it possible for me to open the same file with different users at
the
same time, does it affect readonly property
I did not find any method or parameter in WebBrowser control to specify the
open type. I have sent an email to development team and check whether there
is a workaround for it.
Besides, when a file is opened and 'Modify' is allowed, the following opens
of the file can only be ReadOnly due to the lock of the file. For instance,
suppose the first user open the file with Modify, then the second user can
only open it with ReadOnly.

Please let me know if you have any other concerns, or need anything else.

Sincerely,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Access denied when trying to move directory in use
    ... Sorry for the late response. ... many operations (including new opens) fail. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Forms Authentication Problem
    ... here Xtranet is an asp.net application under main web...It opens the asp.net ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: The debugger component on the server failed to connect to the loca
    ... Services opens. ... In Component Services, expand Component Services, expand Computers, and ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.debugging)
  • RE: Web Deployment Project always checked out
    ... It seems the problem only occurs when alternating developers. ... Developer #2 opens the project, ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.vsnet.general)
  • RE: hotplug notification when Windows is finished enumerating a device?
    ... perform serial enumeration serenum opens the port and follows the serial ... The fact that you cannot open the port during this is ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.kernel)