Home All Groups Group Topic Archive Search About

how to open existing .aspx file in a new internet browser window u

Author
29 May 2006 3:07 PM
David KHLee
To whom are helpful:

i have try to search from the MSDN, i found the namespace
"System.Windows.Forms.HtmlWindow" has this function, but the my .NET
Framework version 2.0 dont have the object. Moreover, i have try to download
the .NET Framework version 2.0 from MSDN. But, it still dont have the
"System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody help
me on this...

Thanks a lot in advanced...

Author
29 May 2006 3:15 PM
Patrice
You are using VS 2005 ? You want to open a new window from a Windows
application that hosts the web browser control ?

--
Patrice

"David KHLee" <David KH***@discussions.microsoft.com> a écrit dans le
message de news: 26B86F60-C41D-43D6-BD95-062AE8051***@microsoft.com...
Show quote
> To whom are helpful:
>
> i have try to search from the MSDN, i found the namespace
> "System.Windows.Forms.HtmlWindow" has this function, but the my .NET
> Framework version 2.0 dont have the object. Moreover, i have try to
> download
> the .NET Framework version 2.0 from MSDN. But, it still dont have the
> "System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody
> help
> me on this...
>
> Thanks a lot in advanced...
Author
30 May 2006 10:40 AM
David KHLee
Thanks for replying :)

I mean to open a existing aspx file in a new internet browser window from
web application, asp.net.

Show quote
"Patrice" wrote:

> You are using VS 2005 ? You want to open a new window from a Windows
> application that hosts the web browser control ?
>
> --
> Patrice
>
> "David KHLee" <David KH***@discussions.microsoft.com> a écrit dans le
> message de news: 26B86F60-C41D-43D6-BD95-062AE8051***@microsoft.com...
> > To whom are helpful:
> >
> > i have try to search from the MSDN, i found the namespace
> > "System.Windows.Forms.HtmlWindow" has this function, but the my .NET
> > Framework version 2.0 dont have the object. Moreover, i have try to
> > download
> > the .NET Framework version 2.0 from MSDN. But, it still dont have the
> > "System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody
> > help
> > me on this...
> >
> > Thanks a lot in advanced...
>
>
>
Author
30 May 2006 11:17 AM
Patrice
For example using the target attribute of the "a" tag (or the HyperLink
control) or using client side javascript (window.open).

--
Patrice

"David KHLee" <DavidKH***@discussions.microsoft.com> a écrit dans le message
de news: 9159805C-E04A-496A-811B-DB8A2832B***@microsoft.com...
Show quote
> Thanks for replying :)
>
> I mean to open a existing aspx file in a new internet browser window from
> web application, asp.net.
>
> "Patrice" wrote:
>
>> You are using VS 2005 ? You want to open a new window from a Windows
>> application that hosts the web browser control ?
>>
>> --
>> Patrice
>>
>> "David KHLee" <David KH***@discussions.microsoft.com> a écrit dans le
>> message de news: 26B86F60-C41D-43D6-BD95-062AE8051***@microsoft.com...
>> > To whom are helpful:
>> >
>> > i have try to search from the MSDN, i found the namespace
>> > "System.Windows.Forms.HtmlWindow" has this function, but the my .NET
>> > Framework version 2.0 dont have the object. Moreover, i have try to
>> > download
>> > the .NET Framework version 2.0 from MSDN. But, it still dont have the
>> > "System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody
>> > help
>> > me on this...
>> >
>> > Thanks a lot in advanced...
>>
>>
>>
Author
29 May 2006 3:53 PM
Barry Kelly
David KHLee <David KH***@discussions.microsoft.com> wrote:

> i have try to search from the MSDN, i found the namespace
> "System.Windows.Forms.HtmlWindow" has this function, but the my .NET
> Framework version 2.0 dont have the object.

Mine does. HtmlWindow is an implementation detail of the WebBrowser
control. Basically, WebBrowser.Document.Window is the path to an
instance of type HtmlWindow.

> Moreover, i have try to download
> the .NET Framework version 2.0 from MSDN. But, it still dont have the
> "System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody help
> me on this...

What are you using to compile your code? Does this code compile and run:

---8<---
using System;
using System.Windows.Forms;

class App
{
    [STAThread]
    static void Main()
    {
        Form f = new Form();
        WebBrowser w = new WebBrowser();
        w.Parent = f;
        w.Dock = DockStyle.Fill;
        w.Navigate("www.google.com");
        Application.Run(f);
    }
}
--->8---

-- Barry

Author
30 May 2006 10:40 AM
David KHLee
Thanks for replying :)

Sorry, I mean to open a existing aspx file in a new internet browser window
from web application, asp.net.

Show quote
"Barry Kelly" wrote:

> David KHLee <David KH***@discussions.microsoft.com> wrote:
>
> > i have try to search from the MSDN, i found the namespace
> > "System.Windows.Forms.HtmlWindow" has this function, but the my .NET
> > Framework version 2.0 dont have the object.
>
> Mine does. HtmlWindow is an implementation detail of the WebBrowser
> control. Basically, WebBrowser.Document.Window is the path to an
> instance of type HtmlWindow.
>
> > Moreover, i have try to download
> > the .NET Framework version 2.0 from MSDN. But, it still dont have the
> > "System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody help
> > me on this...
>
> What are you using to compile your code? Does this code compile and run:
>
> ---8<---
> using System;
> using System.Windows.Forms;
>
> class App
> {
>     [STAThread]
>     static void Main()
>     {
>         Form f = new Form();
>         WebBrowser w = new WebBrowser();
>         w.Parent = f;
>         w.Dock = DockStyle.Fill;
>         w.Navigate("www.google.com");
>         Application.Run(f);
>     }
> }
> --->8---
>
> -- Barry
>
> --
> http://barrkel.blogspot.com/
>
Author
30 May 2006 10:31 AM
David KHLee
Thanks for reply...

I mean to open existing .aspx file in a new internet browser window from a
web application, ASP.Net using code behind, Visual Basic

Show quote
"David KHLee" wrote:

> To whom are helpful:
>
> i have try to search from the MSDN, i found the namespace
> "System.Windows.Forms.HtmlWindow" has this function, but the my .NET
> Framework version 2.0 dont have the object. Moreover, i have try to download
> the .NET Framework version 2.0 from MSDN. But, it still dont have the
> "System.Windows.Forms.HtmlWindow". So, i am jam here.... Please anybody help
> me on this...
>
> Thanks a lot in advanced...

AddThis Social Bookmark Button