Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Intergrating a VB application into a C# Kentico Project View modes: 
User avatar
Member
Member
bryson.justus-chickasaw - 10/16/2012 4:47:15 PM
   
Intergrating a VB application into a C# Kentico Project
We have a VB application that we would like to incorporate into our project or allow the VB project to utilize our Kentico masterpage.

Does Kentico have a way to create a VB master page or the ability to use the VB application in our C# project?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/17/2012 6:21:27 AM
   
RE:Intergrating a VB application into a C# Kentico Project
Hello,

Yes, I've already tried it and in the Kentico you can definitely combine the VB and C# files, but not VB and C# code in the same file.

I hope this explanation will help you.

Best regards,
Martin Danko

User avatar
Member
Member
bryson.justus-chickasaw - 10/17/2012 7:49:22 AM
   
RE:Intergrating a VB application into a C# Kentico Project
I am pretty new to Kentico and asp so lets see if I understand what you are saying.

If I have a C# ASPX master or portal page master there is a way to include VB pages inside these masters?

Is there any documentation on how to include this VB files?

Thanks for the quick response,

Bryson Justus

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/20/2012 2:28:51 PM
   
RE:Intergrating a VB application into a C# Kentico Project
Hi Bryson,

Yes, of course you can include VB pages into C# master page. I would recommend you to go through our Develeopers Guide, you can start with Creating ASPX master pages section. There is usually code example as in C# as in VB, so you can choose the right one for you in every part.

I hope this will help you!

Best regards,
Martin Danko

User avatar
Member
Member
bryson.justus-chickasaw - 9/11/2013 9:54:53 PM
   
RE:Intergrating a VB application into a C# Kentico Project
Sorry this comes a year later but I now have a years experience in Kentico so I better understand things. So what I would like to do is integrate a vb web application with my c# portal engine master page. Is it possible to just use the user control web part pointed at my vb web application to integrate it into my c# portal engine master?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/12/2013 1:40:59 AM
   
RE:Intergrating a VB application into a C# Kentico Project
If these files are outside the App_Code directory, yes. If the code files only contain one language per file, yes. i.e.: each code file must all be C# of VB.net not a combination of C# and VB.net in the same file.

What have you tried? Is it working or not?