By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,222 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

Visual Studio 2003 losing ability to add web usercontrol

P: n/a
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
tr*******@NOSPAMhotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
"Brett" <tr*******@NOSPAMhotmail.com> schreef in bericht
news:ux**************@TK2MSFTNGP14.phx.gbl...
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
tr*******@NOSPAMhotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #2

P: n/a
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
tr*******@NOSPAMhotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

P: n/a
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

"Brett" <tr*******@NOSPAMhotmail.com>
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
tr*******@NOSPAMhotmail.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.