|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to open existing .aspx file in a new internet browser window uTo 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... 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... 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... > > > 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... >> >> >> David KHLee <David KH***@discussions.microsoft.com> wrote:
> i have try to search from the MSDN, i found the namespace Mine does. HtmlWindow is an implementation detail of the WebBrowser> "System.Windows.Forms.HtmlWindow" has this function, but the my .NET > Framework version 2.0 dont have the object. control. Basically, WebBrowser.Document.Window is the path to an instance of type HtmlWindow. > Moreover, i have try to download What are you using to compile your code? Does this code compile and run:> 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... ---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 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/ > 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... |
|||||||||||||||||||||||