how to create webapplication at runtime in VS2005

Hi friends,

I have a problem. we are developing designer using Windows application.from this application through coding i open a new instance of IDE by using EnvDTE Object.Now I want to add a new website project to that new instance IDE.

When excuting my Windows application at runtime one new webapplication should create and one usercontrol form to be added to that project.

Pls give me suggestions how to achieve this problem.

I am using VS2005

the existing code for creating new instance is as follows

Dim objwin As EnvDTE.DTE =

CType(Microsoft.VisualBasic.Interaction.CreateObject("VisualStudio.DTE"), EnvDTE.DTE)

objwin.ActiveWindow.Activate()
objwin.ExecuteCommand("View.SolutionExplorer")
objwin.ExecuteCommand("View.ToolBox")

Regards,

Ramesh

[887 byte] By [ryams.swan] at [2007-12-24]
# 1
Why not use a webbrowser control in your winapp?
DMan1 at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2

There should be some information at http://msdn2.microsoft.com/en-us/library/y849h0w1.aspx that may be useful. In addition, since you want to play with web sites, http://msdn2.microsoft.com/en-us/library/ms404606.aspx probably will help you out...

Best regards,
Johan Stenberg

MSJohanStenberg at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic IDE...