hi

i will give you 2 answer. At least, one is an answer, the other is an
advice:

A)
you can copy the app by copy&paste in windows explorer.
then opening it in vs.net you will come accross a lot of errors in your task
list.
you can change the namespace of classes (although they will be under the
root namespace), but you can't change the namespace of the webform classes.
so a lot of the errors will occur because the names are ambigous. you can
change the class names by going to the code-behind file (somepage.aspx.vb)
and then change the class name. this way it should eventually work.

B)
the .NET enviroment was created in order to give programmers full OOP
(object oriented programming). This means that you can reuse already written
code, without having to copy/paste it. So you can create the chatroom
functionalities in a class once, and then reuse it throughout the intire
project, and even beyond.

because if i understand correctly you have created a chatroom in .NET and
have a site in which you recuire multiple chatrooms. So you want to
copy&paste it several times to use it. However, being in the same project,
you should look into OOP because copy&paste shouldn't be required in order
to run it everywhere on your site.
I've done the same with a forum.

regards

remie bolte




----- Original Message -----
From: "Staffan Carlsson" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 7:12 AM
Subject: Re: Copy .NET Web Application


> What i want to do is to run every instance as separate chatrooms with no
> connection in between, and rename each app in order to get separate
> namespaces for each app, the "copies" of the main app shall be separate
> instances and running on the same web-site.  Im running Visual Studio.
>
> TIA
>
> Staffy
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>



---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to