473,395 Members | 1,675 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,395 software developers and data experts.

Mixing VB and C# in one web solution - continued

Hi all,

I posted the question a few days ago of including a c# web page in a web
solution that already contained VB pages. Thanks for your responses.

I suspected I had to go down the separate project route but thought there
may be another solution to my problem.

The reason for me wanting to do this is that a lot of the vb web pages have
already been created and I can use them and at the same time don't have the
time to re-code those web pages at present.

Now I created a separate project and added it to the solution but the
problem I'm having here is one of common folders. I have one folder in the
"vb" side which contains all the images I use. How do reference the same
folder from within the "c#" side of the solution?

Regards
John.
Nov 16 '05 #1
2 1569
A better approach is simply to convert the page code from vb to C# using
Kamal Patel's convertor tool which is free for use on the web. It amounts to
a cut and paste job and then you are on your way.

a.. www.kamalpatel.net/ConvertCSharp2VB.aspx

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"John" <a@b.com> wrote in message
news:eb****************@TK2MSFTNGP09.phx.gbl...
Hi all,

I posted the question a few days ago of including a c# web page in a web
solution that already contained VB pages. Thanks for your responses.

I suspected I had to go down the separate project route but thought there
may be another solution to my problem.

The reason for me wanting to do this is that a lot of the vb web pages
have already been created and I can use them and at the same time don't
have the time to re-code those web pages at present.

Now I created a separate project and added it to the solution but the
problem I'm having here is one of common folders. I have one folder in the
"vb" side which contains all the images I use. How do reference the same
folder from within the "c#" side of the solution?

Regards
John.

Nov 16 '05 #2
We offer a fully supported Demo Edition of our Instant C# VB.NET to C#
converter. By all means, compare Kamal's and our's side-by-side and draw your
own conclusions.

David Anton
Tangible Software Solutions Inc.
Home of the Instant C# VB.NET to C# converter and the Instant VB C# to
VB.NET converter

"Alvin Bruney [Microsoft MVP]" wrote:
A better approach is simply to convert the page code from vb to C# using
Kamal Patel's convertor tool which is free for use on the web. It amounts to
a cut and paste job and then you are on your way.

a.. www.kamalpatel.net/ConvertCSharp2VB.aspx

--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
--------------------------------------------------
"John" <a@b.com> wrote in message
news:eb****************@TK2MSFTNGP09.phx.gbl...
Hi all,

I posted the question a few days ago of including a c# web page in a web
solution that already contained VB pages. Thanks for your responses.

I suspected I had to go down the separate project route but thought there
may be another solution to my problem.

The reason for me wanting to do this is that a lot of the vb web pages
have already been created and I can use them and at the same time don't
have the time to re-code those web pages at present.

Now I created a separate project and added it to the solution but the
problem I'm having here is one of common folders. I have one folder in the
"vb" side which contains all the images I use. How do reference the same
folder from within the "c#" side of the solution?

Regards
John.


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Marc Cromme | last post by:
I would like to ask a question about (good ?) style and possibilities in mixing C FILE* and C++ file streams. The background is that I want to use the C libpng library from within C++, but I...
4
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> ...
1
by: Brett Romero | last post by:
I'm slowly making the move to 2.0. I have a solution in 1.1 with two projects - EXE and DLL. I'd like to upgrade the EXE (user interface of this solution) to 2.0 and leave the DLL at 1.1 for the...
1
by: Brian Begy | last post by:
Anyone seen this? "Type mismatch could be due to the mixing of a file reference with a project reference " We have solution we are trying to upgrade to VS 2005. We have about 10 projects in...
0
by: Rob R. Ainscough | last post by:
I'm getting a bizarre error in the IDE Error List: ****** The Error message ******* Value of type 'MyDLL.Customer' cannot be converted to 'MyDLL.Customer'. Type mismatch could be due to the...
28
by: ziman137 | last post by:
Hello all, I have a question and am seeking for some advice. I am currently working to implement an algorithmic library. Because the performance is the most important factor in later...
3
by: jason | last post by:
I've been working with C# for over a year now without touching vb.net code. I had a few light years of vb.net before that. No real vb6 or windows form experience. Suddenly, I have an assignment...
3
by: rewtedesco | last post by:
I bet that others came across this problem and that there is a very good general solution, however I have not been able to get this done. In short: How to replace std::cout by something that...
1
by: Sachin Garg | last post by:
I have a program which opens a fstream in binary input+output mode, creating the file if it doesn't exists. But writing doesn't works after reading, it must be something obvious that I am not aware...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.