Visual Studio 2003 losing ability to add web usercontrol

  • Thread starter Thread starter Brett
  • Start date Start date
B

Brett

For some reason in my project, I am unable to add a new web user control
in Visual Studio. Normally I would right somewhere in my web app and
"Add Web User Control", but when I do this it creates an ASPX page.

If I try to then "Add new item" the web user control is not specified in
the list.

It has worked fine in the past. Any ideas?

Cheers,
Brett Raven
(e-mail address removed)
 
Brett,

In this is the code for VBNet, we do not know what program language you use.

To make a little webbrowser,

Open a new windows application project

In the toolbox rightclick and select add/Remove items

In the customize toolbox select Com and in that Microsoft Webbrowser

When that is in the toolbox drag it to your form
Drag also a button to your form.

Then this code and you have a mini Webbrowser.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.AxWebBrowser1.Navigate2("www.google.com")
End Sub
///

Did you know that there are as well language newsgroups, by instance
microsoft.public.dotnet.languages.vb and csharp.

I hope this helps a little bit?

Cor
 
Hi Cor,
Thanks for the reply. However this is not about a coding issue (the
language is irrelevant). Its about Visual Studio .NET 2003. Thats why I
posted it here in microsoft.public.dotnet.general ...

Cheers,
Brett Raven
(e-mail address removed)
 
Brett,

With that newsgroup I just wanted to show you it is there, and in that
newsgroup which is more active you get probably quicker an answer on this
kind of question when your code is VBNet, I do not know how that is about
Csharp.

Although in my idea is the webbrowser in the language.vb group and this
newsgroup mostly answered by Charles Law or by me so there will not be much
difference. (But I think that for Charles it is the same as for me, the
language.vb group is our first newsgroup)

It was only a hint.

But did my sample fits your problem, what is in my opinion more important.

Cor
 
Back
Top