|
Hi Vurugonda,
"Creating multiple web application" means a lot to us.
It might be about ~
#1. creating virtual directory in IIS (web server).
for that one, you can check this code. IIS 6 - Virtual Directories Management with C#[^]
#2. creating .aspx and .cs file (plus, webconfig, .sln)
[WebSite1]
---web.config
---Default.aspx
---Default.aspx.cs
For that, you have to check manually all files to know how Visual Studio 2005 generate those files.
Generally, it's not necessary to create another web application in one web application because you can access through the base url.
for example, you have website1 (http://localhost/website) in your webserver. then, you create another folders called fdr1 and fdr2 in website1. so, you can access those folders like that http://localhost/website/fdr1 and http://localhost/website/fdr2.
Hope it helps..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
hi
thnx for reply
i mean creating a webapplication dynamically. like we create textbox dynamically like
dim t as new textbox
t.text="hello"
in the same way can i be able to create a webapplication dynamically.
thnx
ravi.
|
|
|
|
|
vurugonda wrote: is there any possibility to work with two different kind of applications in a single application".
No, you can't turn an asp.net application into part of a winforms app. You can copy code between applications, but there is no easy way to ensure this will work, for example, if both classes have a 'form1' class, you would probably want to rename one ( or both ) of them.
vurugonda wrote: this is very urgent
Of course it is
vurugonda wrote: if any one know plz reply me.
It would probably help if you explained your question better. Right now I don't know what you mean by 'different kind of applications'. The short answer is, the only way to make an app that does all the things two different apps do, is manually.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi
thx for ur reply
i am creating one web application and from this create another web application.
is there any possibility to create one web application in that create multiple web applications?
if we create , wht happens in server side.
thx
|
|
|
|
|
Just right click on the solution and ADD Existing project>browse the solution file that is .sln then add
then Build the solution again
Sarith...
|
|
|
|
|
Hi
I want to create dynamic multiple web application in a single web application
how to handle this
plz let me know
|
|
|
|
|
I have a double array. I need to add values at runtime.
For eg.
Dim dataX0() As Double = {20, 90, 40, 30, 12}
How can i add the values insted of giving like above. I need to add the values from database.
Thks
|
|
|
|
|
You can't add values to an array. An array can't be resized.
You can use ReDim , which will create a new array and copy the items from the original array.
If you don't know beforehand how many items you will be adding, a List(Of Double) would probably be a better alternative.
---
single minded; short sighted; long gone;
|
|
|
|
|
dim dataX0() As Double
For i As Integer = 0 To MyData.Count - 1
ReDim Preserve dataX0(i)
dataX0(i) = New Double
dataX0(i) = value from DB
Next
Sarith...
|
|
|
|
|
the value from DB in in string format...eg "10000,20000,30000,40000"
How can i cov=nvert and add in to double array
|
|
|
|
|
First u split the string with delimiter "," then u will get an array containd numbers with string format.. then convert that string to integer
using ctype
Sarith...
|
|
|
|
|
Hi.In my web application there is a option for 'News' this news i want to show in Tamil.suppose if we are using some Tamil fonts and inserting all the news in Tamil,how the user will get in Tamil without installing the fonts in their machine.
|
|
|
|
|
|
So I tried adding .htm, .html, and even .* to the mapping configuration in IIS to aspnet_isapi.dll and have a httpHandler to handle .htm and .html files like this:
<br />
<httphandlers><br />
<add type="Project.HttpHandlers.HtmExtensionHandler, Project.HttpHandlers" path="*.htm, *.html" verb="*"><br />
</add><br />
</httphandlers><br />
But when I type in something.html I get a 404 page from IIS (not .net), when I attach the debugger to the asp.net worker process it never goes into the http handler.
Is there some reason why IIS won't give these requests to .net? I have also tried with my own made up extensions, but nothing. If I put a blank index.htm file in place and request index.htm then it goes through the handler as expected.
I've also tried using an HttpModule to set up an event handler on BeginRequest to rewrite the path, but the HttpModule also never gets called if there is no place holder file. Last modified: 16mins after originally posted --
|
|
|
|
|
Use the "Ignore HTML" option when you are posting markup code in the forum.
---
single minded; short sighted; long gone;
|
|
|
|
|
That's better. Now I can see what the error is.
You can't specify more than one path in the path property. You have to add two keys in the httpHandlers tag, one for "*.htm" and one for "*.html" .
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi ,
i dont know what happen to my IDE suddenly i am not getting the error indication lines in my IDE how to activate this propete
Thanks in advance,
Jay.
|
|
|
|
|
Hi,
I have converted the wizard to Templates containing StartNavigationTemplate, stepNavigationTemplate, FinishNavigationTemplate. And put some buttons in each template. How to write events for those buttons like click events which are in navigation templates.
Thanks
|
|
|
|
|
hi guys,
I have web application project that list applications and the user should be able to click on one application
to lunch it.
the problem is IE and firefox will show message says (open , save , cancle) and the user must choose one of the option. I want to force the browser to lunch the application with out asking this question yo the user.
I am using asp.net 2.0.
thanks in advance ....
|
|
|
|
|
You can't do that.
It might be possible to change the mappings in the browser, so that it starts a program without asking. But then you would have a browser with a huge security hole right through it, which makes it practically unusable for browsing the web.
---
single minded; short sighted; long gone;
|
|
|
|
|
I heard that it is possible to configure the MIME setting to do this????
|
|
|
|
|
Yes, that was what I was talking about. Making the browser run executables without warning makes it unfit to browse the web.
---
single minded; short sighted; long gone;
|
|
|
|
|
Guffa,
can you explain how can I configure MIME to solve my problem (I dont care about browser scurity).
yours,,
aziz
|
|
|
|
|
Hi,
How can I have user control to populate a list with different values when its property value changes at run time?
e.g I have Radio buttons :- Animals, birds, Mammles etc. outside the user control.
Based on radio button selected user control should populate values. I have created a property for user control to pass chosen radio option.
Thanks
|
|
|
|
|
Hi,
I have the wizard control. O n each Wizard step I have put some code next I converted that wizard to templates like the below:
<stepnavigationtemplate>
<asp:button id="StepPreviousButton" runat="server" causesvalidation="False" commandname="MovePrevious" text="< Back">
<asp:button id="StepNextButton" runat="server" commandname="MoveNext" text="Next Step >">
Now I want to write separate code for each button click. For example I want to handle the StepPreviousButton click event. Where to handle that event.
In Wizard_ActiveStepChanged(..){
Here How we check which button is clicked.
Thanks
-- modified at 13:49 Thursday 9th August, 2007
|
|
|
|