Accessing IE features from embedded WinForms control

From: Ken Varn (nospam)
Date: 07/09/04


Date: Fri, 9 Jul 2004 17:44:58 -0400

Not sure if this newsgroup is the right forum for this post.

I have been experimenting with embedding .NET Windows Forms User Controls
into a web page. I have been pleased with the results that I have obtained
so far, but have some questions regarding this implementation.

1. Is there anyway to access the IE browser script objects from within my
user control as is done in javascript or vbscript?

2. My User Control needs to be able to access my Web Service that is
protected in IIS using Windows Authentication. I need to be able to pass
the credentials that IE uses to logon to my web site and pass it to my
Windows Forms control so that it can pass the credentials to the web
service. So..., is there some way that my Windows Forms control can access
the logon credentials that IE uses to logon to my web site? I tried using
DefaultCredentials, but it defaults to the logged on user when called from a
Windows Form control. Not what I want.

-- 
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------


Relevant Pages

  • Re: UserControl looks different
    ... same graphic dlls when it comes to .net GUI, ... On ASP.NET, however, the rendering engine is the web browser's HTML engine. ... The fact that it's a User control doesn't change it. ... That said, there is a possibility to expose WinForms user controls on IE only, and on Windows only, as an ActiveX control. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: UserControl looks different
    ... I compiled a UserForm into a dll and loaded ... rendering engine is .NET on Windows. ... ASP.NET, however, the rendering engine is the web browser's HTML engine. ... The fact that it's a User control doesn't change it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Drawing in a user control
    ... the particular drawing should take place and ONLY draw in the OnPaint ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... I am creating a user control with several methods, ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Windows firewall GPO
    ... What is the easiest way to allow user control over the windows ... He's convinced that this is causing him problems with his norton 360 ... If it's just for this PC, stop and/or disable the underlying windows service ... Also explain to him that you can't have two firewall products active at ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem with control hosted in IE
    ... The control is running on the client machine, so the default credentials are ... These will be the Windows logon from the ... > I logon to another machine using a local account (not one that the IIS ...
    (microsoft.public.dotnet.security)