Krichard,
The article I pointed out has nothing to do with web services, it explains
how to set up your system to run J# Browser Controls so you don't see the
security dialog box. That being said I'm really confused. If you are
running locally why are you using a Browser control? It would be much
simpler to use a Windows Form Application instead. If you don't see the
Browser Control Settings in your control panel that means that the J#
Browser Runtime is not installed properly. The fact that you are getting an
ActiveX security dialog tells me that: IE is set up to prompt you for
running ActiveX controls and also that the CLSID you are using in the HTML
page is incorrect or you have not installed the J# Browser Runtime. This is
separate from the .Net Runtime and the J# Runtime.
J# Browser Controls (the current release) was not designed to be run from a
local machine. The current beta version does support this, but it is beta
code and it should not be used for any products currently shipping.
Thanks,
Michael Green
Microsoft Developer Support
--------------------
| Content-Class: urn:content-classes:message
| From: <anonymous@discussions.microsoft.com>
| Sender: <anonymous@discussions.microsoft.com>
| References: <1239f01c3f5fd$4cb24b70$a401280a@phx.gbl>
<Zzij2al9DHA.1992@cpmsftngxa07.phx.gbl>
<129cc01c3f6a7$9720b3e0$a001280a@phx.gbl>
<8Bjetn09DHA.704@cpmsftngxa07.phx.gbl>
| Subject: RE: How can I remove security warning of JSharp Browser Control
| Date: Thu, 19 Feb 2004 17:48:56 -0800
| Lines: 163
| Message-ID: <1358401c3f753$b36eb8b0$a401280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcP3U7NpnQ0s9phjSp6/PnZZp5wUqw==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.dotnet.vjsharp
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.vjsharp:5492
| NNTP-Posting-Host: tk2msftngxa12.phx.gbl 10.40.1.164
| X-Tomcat-NG: microsoft.public.dotnet.vjsharp
|
| Thanks a lot!
|
| I have already read this article actually, but the matter
| is different. My application is not a web service
| provider, it is only an application running on local
| computer, it is a web technique based application. And the
| security dialog is also different, it says "An ActiveX
| control on this page might be unsafe to interact with
| other parts of this page, Do you want to allow this
| interaction?", and there is no check box on this dialog at
| all, furthermore, my OS is windows 2000 pro, I cannot find
| the J# browser control's configuration dialog anywhere. as
| you know, a completely locally run application should not
| prompt security issues, which is really boring, isn't it?
| and I think our customers will decline it if so.
|
| thank you!
| best regards!
| krichard
|
| >-----Original Message-----
| >When you get the first security dialog box, you can click
| a checkbox that
| >says "don't show me this again" and you won't get that
| security box any
| >more. You can also manually configure J# Browser Controls
| to not show the
| >dialog at all. This is disucssed in the MSDN
| documentation for J# Brower
| >Controls, available at
| >
http://msdn.microsoft.com/library/default.asp? | url=/library/en-us/dv_vstechar
| >t/html/vjtskMigratingJavaAppletsToMicrosoftJBrowserControl
| s.asp
| >
| >
| >Security Behavior of J# Browser Controls
| >By default, the J# Browser Controls runtime prompts end
| users before
| >running controls hosted on Web pages in the Internet.
| When a user browses
| >to an Internet Web site that contains a J# Browser
| Control, a security
| >dialog box is displayed.
| >
| >The J# Browser Control will be downloaded and run if the
| user clicks Yes.
| >Clicking No will prevent the J# Browser Control from
| being run.
| >
| >Selecting the Add this site to the list of sites allowed
| to run J# Browser
| >Controls and don't ask me again check box and clicking
| Yes will add the Web
| >site to the list of sites allowed to run J# Browser
| Controls, and the user
| >will not be prompted for pages on the Web site on
| subsequent visits. The
| >default value of this checkbox is set to selected.
| >
| >The J# Browser Controls runtime does not prompt the user
| when running from
| >Web sites on the Intranet.
| >
| >The user can also use the J# Browser Controls security
| options dialog box
| >available under Administrative tools in Control Panel to
| manage the list of
| >sites allowed to run J# Browser Controls. In Windows XP,
| you can access
| >this dialog box from Performance and Maintenance in
| Control Panel. In
| >Windows 98 and Windows Me, you can access this dialog box
| from the
| >Administrative tools menu in the Start menu. Double-click
| the J# Browser
| >Control Security icon to open the settings dialog box.
| >
| >The options are:
| >
| >Disable J# Browser Controls
| >Prevents J# Browser Controls from any Web site from being
| run on the
| >computer.
| >Only from Web sites in this list
| >Only J# Browser Controls from Web sites in the list are
| allowed to run.
| >Only on the Intranet and from Web sites in this list
| >Only J# Browser Controls from the Intranet or from Web
| sites in the list
| >are allowed to run on the computer. This is the default
| setting.
| >On any Web site
| >J# Browser Controls from any Web site are allowed to run
| on the computer.
| >This option is not recommended and should be selected
| with care.
| >Entering the address of a Web site in the Add Web site
| text box and
| >clicking Add adds the Web site to the list of sites
| allowed to run J#
| >Browser Controls. Similarly, selecting a Web site from
| the Web sites
| >allowed to run J# Browser Controls list and clicking
| Remove removes the
| >site from the list. When a Web site is added to the list
| of sites allowed
| >to run J# Browser Controls, the user is not prompted
| before running J#
| >Browser Controls on the Web site.
| >
| >By default, the Prompt to add new Web sites to this list
| in the future
| >check box is selected, which causes the J# Browser
| Controls runtime to
| >prompt the user before running J# Browser Controls from
| Web sites not in
| >the list. When this check box is cleared, J# Browser
| Controls from Web
| >sites not in the list are not run and the user is not
| prompted.
| >
| >I hope this is helpful,
| >
| >Michael Green
| >Microsoft Developer Support
| >
| >
| >--------------------
| >| Content-Class: urn:content-classes:message
| >| From: "krichard" <anonymous@discussions.microsoft.com>
| >| Sender: "krichard" <anonymous@discussions.microsoft.com>