473,324 Members | 2,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Creation of subprojects

Hi,
Suppose i have two different applications.one is in C#.net and another is in VB.net
How i will combine these two applications.Please reply.
Nov 17 '08 #1
5 1062
nukefusion
221 Expert 100+
You can combine projects written in any of the different .NET languages into one solution by doing the following.
Right-click the solution in the solution explorer and goto "Add", then choose either new or existing project. In the case of "existing project" you will have to browse on disk to the location of the solution file for the existing project. Once you've done this the project will show up in the list.

You will then also be able to call code in your C# project using VB syntax from the VB project and vice-versa.
Nov 17 '08 #2
You can combine projects written in any of the different .NET languages into one solution by doing the following.
Right-click the solution in the solution explorer and goto "Add", then choose either new or existing project. In the case of "existing project" you will have to browse on disk to the location of the solution file for the existing project. Once you've done this the project will show up in the list.

You will then also be able to call code in your C# project using VB syntax from the VB project and vice-versa.
Hi,
Thanks for reply, Suppose i have one webapplication named employee(C#) and another one named student(Vb).I give the start up project as student and if i want to access the forms of the employee webapplication it is possible only by giving link in the student webapplication am i right. Is there any other way.
Pls helpme
Nov 18 '08 #3
nukefusion
221 Expert 100+
I don't have much experience of combining web apps. I guess one way you might be able to acheive what you want, would be to provide a link in the form of a url to the pages in the other web app. You could then pass information in using the querystring or something like that.

I don't know from experience whether it's possible in a web app scenario, but maybe you could split out the logic/forms you need to reuse into a seperate class library and reference it from the other project that way.

Certainly it is good practice to seperate code that you would like to reuse into a seperate class library and in your situation that is probably what I would try to do.
Nov 18 '08 #4
Plater
7,872 Expert 4TB
if i want to access the forms of the employee webapplication it is possible only by giving link in the student webapplication am i right.
How else would you do it?
Even if they were the SAME project, you would still refer to other pages with links
Nov 18 '08 #5
hbatra
1
Suppose I have two different applications. One is in C#.net and the other is in VB.net. How do I combine these two applications?
If you mean combine them at design-time, your question has already been answered - Create a solution and either add existing projects to the solution, or create new projects and select the appropriate .NET language for the new projects.

If you want to combine them at run-time, there are far too many ways to enumerate - however the most common ways are to place both assemblies (.dlls, .exes) in the same folder, or place the independent assemblies in a child bin folder, or install the independent assemblies in the GAC (do read up on the pre-requisites and implications of doing this though).

If they are separate web applications, do read up on Response.Redirect & Server.Transfer to see if those can be of help.

As it says somewhere else, the more information you provide (but be concise please) in your question, the easier it is to give you a relevant response.
Nov 19 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: [ EuGeNe ] | last post by:
Hi all, I would like to write a script that downloads one file from a ftp server if the file creation date satisfy a condition. I can't figure out how to find from a ftp server what is the...
3
by: SK | last post by:
I have a file. i get the creation time using File.GetCreationTime. then i go and delete that file. and then create it again and print the File.GetCreationTime. It is giving me the old creation...
6
by: | last post by:
I have a class with overloading operator new. (Because, if an identical object exists, return a pointer to existed object instead of a new pointer) It has no sense (it is dangerous) to allocate an...
2
by: David Fickbohm | last post by:
People, I am trying to determine the creation date of files in a folder. I am using the following code to find the folder and confirm that files exist in the folder. If someone could give me an...
5
by: Tompa | last post by:
Hi, I would like to create images on the fly as a response to an http request. I can do this with PIL like this (file create_gif.py): from PIL import Image, ImageDraw print 'Status: 200 OK'...
1
by: chettiar | last post by:
Hi, I am dropping an index and recreating it to lower the high water mark. The index creation is taking a lot of time. I am stuck as to why it does so. Is there any way that I can find out why...
3
by: Steven Blair | last post by:
Hi, I have a trace log file for a system I am writing. If the creation date is older than 14 days, I have to rename that file (File.Move). The next time a trace message is required a new file is...
8
by: Anthony Munter | last post by:
I have a web application with impersonate=”true” in Web.config and on my own logon page I allow the user to either - specify a userid/password for the app to impersonate when calling legacy...
3
by: Nick Dreyer | last post by:
I was quite surprised to notice that Sub New() gets called twice, once at declaration time and once at creation time. I can't figure out why it would be called at declaration if there is no class...
2
by: deegeorge | last post by:
Hi, What is the advantage of creating subprojects. and also how will be the performance of that type of projects. Please help
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.