Adding Different Classes type in a single project
-
I am trying to add a vb class in a project that is written in C# but i do not know how and there is no toturial how to do that help please.
You can add the vb class in a project that is written in C# by converting the class file int a dll file . You can add tht reference to the project..! Refer the link..! http://www.c-sharpcorner.com/uploadfile/mahesh/dll12222005064058am/dll.aspx[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
You can add the vb class in a project that is written in C# by converting the class file int a dll file . You can add tht reference to the project..! Refer the link..! http://www.c-sharpcorner.com/uploadfile/mahesh/dll12222005064058am/dll.aspx[^]
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
you mean i do not add the file directly? I have to add the dll file of the vb class to the project??
-
I am trying to add a vb class in a project that is written in C# but i do not know how and there is no toturial how to do that help please.
You can add VB class file inside App_Code Folder with in a new folder like, App_Code > VB Class > MyVBFile.vb and create another folder ( like :CSharpClass ) where you can put all of C# class file Now, open Web.config file and do the following entry, You may have a quick look into this article,
-
Yes..!thts a good practice
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
Creating DLL for each file is not a good practice. ;P . If there are multiple cs and that can be compile into a single dll. For single code file we can easily put into App_code folder with some Config file change. ;)
-
Creating DLL for each file is not a good practice. ;P . If there are multiple cs and that can be compile into a single dll. For single code file we can easily put into App_code folder with some Config file change. ;)
-
Abhijit Jana wrote:
Creating DLL for each file is not a good practice
I never mention tht for each file..! ;P Did I?
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
Don't Misunderstood me. :( As He was asking for the single file that's why I told. :-D
-
Don't Misunderstood me. :( As He was asking for the single file that's why I told. :-D
-
LOL..!Just trying to chatting with u after a long time..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
send me ur gmail id :mca_abhijit@yahoo.co.in or let me know your skype id :)