Thanks for your reply! I tried to add the two projects into one single
solution, but this gives lots of "Dependency errors"... Both are totally
different projects. I could make that reference, but none of the projects
Can you please tell me how I can make a DLL of a UserControl? How can this
"Rory" <roryvivid-design.com.au> schreef in bericht
news:04f001c354db$db02ca30$a101280aphx.gbl...> You need to create a refrence to the usercontrol project
> (assuming you created this in vs.net) in your current
> projects refrences. Alternatively, you could compile your
> user control into a dll (ie composite control).
>> labels,> >-----Original Message-----
> >Hi all,
> >- Visual Studio 2002
> >- ASP.NET web project
> >- VB.NET
> >I created some webforms with many controls (buttons,> function in an> >usercontrols,...) on it.
> >Every form has in its' load-event a functioncall to a> form.> >external DLL.
> >The argument of that function is the "Me", the active> ByVal e As> >-------------
> >Private Sub Page_Load(ByVal sender As System.Object,> to modify the> >System.EventArgs) Handles MyBase.Load
> > 'Put user code to initialize the page here
> > performExternalFunctionInDLL(Me)
> >End Sub
> >In that function (DLL build in another solution), I need> radiobuttom,> >properties of each control (fe. the colors or size).
> >This works for every standard control (button, label,> every control on the> >hyperlinkcontrol,...) with a simple loop that checks> will be converted to> >form and converts it to the TypeOf.
> >Fe. when found "textBox1", TypeOf "TextBox", "textBox1"> textbox.> >"TextBox". Then I can modify the properties of that> (properties I created> >Now I need to modify some properties of my userControl> want to convert it,> >my own). It is possible to find that control, but when I> or something.> >I can't convert to "myUserControl", so I need a reference> codebehind-file) files,> >"myUserControl" has only it's .ascx and .vb (using a> use, import or> >but I can't import that into my external DLL. How can I> >define "myUserControl" in my external project?
> >Anyone a suitable solution or suggestion for this problem?
> >Thanks in advance!