how to get C# and code to work together

we have an application at work that uses code quite a bit...

however i only found one article regardnig implementing active directory authentication and authorization written in c#

i know its possible, how do i add in the C# code into my existing app?

4/7/2005 4:33:50 PM 3721 articles. 0 followers. Follow

3 Replies

Similar Articles

[PageSpeed] 19
Get it on Google Play
Get it on Apple App Store

You can compile the C# code into an assembly and add the dll to your bin directory of the VB project and add a reference to it.
Or you can just setup a C# project in your VB.NET solution, and set a project reference to it from your VB project.

Darrell Norton, MVP
Darrell Norton's Blog

Please mark this post as answered if it helped you!
4/7/2005 9:22:12 PM
Or you can translate the C# code into VB.Net.  There is very little difference between the two in my opinion. 
4/8/2005 2:06:26 AM
Here is very nice online translator which works in both ways. You will see the translation while you write.
Sonu Kapoor [MVP]
Feel free to ask me any .NET question | Ajax Data Controls Forum
4/8/2005 2:40:42 AM

Similar Artilces:

use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...

Sending SMS using or using or
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

Translate code to code
Hi I can usually do the translation myself, but this time I am a bit stumped  Let us consider to rewrite Urls (more than 16000 links) using a table. Save original url and rewritten url in a table. Now add a class file in App_Code folder. class UrlRewriteModule : IHttpModule{    public void Dispose()    {        // Nothing to dispose    }    public void Init(HttpApplication context)    {        context.BeginRequest += new EventHandler(context...

How to convert C#.Net code to VB.Net code ???...
HI, i was searching something new, then i suddenly find some tips to convert C#.Net code to VB.Net but i did not do well. i am puttint its url here plz tell me how to convert C#.Net code to VB.Net. Jasim...Please remember to click “Mark as Answer” on the post that helps youJasim AkhtarNew Delhi ( INDIA ) It would be better if you write the problem you having, while converting from C# to VB.NET. You cannot completely rely on online converters. ThanksMark post(s) as "Answer" that helped youElectronic ScrewWebsite||Bl...

Type.GetType does not work in VB.NET but works in C#. VB.NET gurus Please help
Friends,   I am an experienced C# programmer who is working on a VB.NET project now. I am writing different methods covering the following functionalities 1) Take a datareader as input and return an arraylist of class object2) Take an xmlnode (received from a webservice) as input and return an arraylist of class object. The methods are generic methods which take datareader/xmlnode as first parameter and classname (string) as the second parameter. This way it will work trivially. The schema of class object matches with the input (datareader or xmlnode)In C# I used to do th...

converting to from offered me some sample code when I signed up with them the only problem is the sample code is in but my page that they type all of their credit card into is <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage(""); } private String readHtmlPage(string url) { ...

How to migrate code from to
Hi all,If anybody knows information on migration of VB.Net application to i.e Any tools available, best practices, methodology for estimation. etc.   RegardsHelen    Hey, Take a look at this topic some of these sites can be of help to you.  Arnold you can do it by page by page just copy and paste ur page in the following link and convert ur to c# gotcha!!YasserSpica.www.spica.aewww.bncnetwork.netPlease remember to mark as answers i...

How to change code to C#.Net ?...
Hi, Earlier i had a class  that i got it from this Forum, it in and i am trying it to convert it in but i am unable to covert properly to work. the functionality of this class is to convert number value to words. i am putting both of code and please rectify it.Public Class NumberToWords Dim Character As String Public Function ConvertNumber(ByVal A As Double) As String On Error Resume Next Dim MM Dim IM ConvertNumber = "" MM = Microsoft.VisualBasic.Len(A) IM = Microsoft.VisualBasic.Left(A, Mic...

Migrate code from to
Hello friends, I had created a web site using visual studio 2005. web site was created using the language vb i.e. Now as per the clint requirement I have to migrate all the code in C#. So the question is that is there any tool or any inbuild utility in Visual Stuidio so that we can migrate the site from to Or we have to do it mannually i.e. by changing each and every line of code mannually? Kindly suggest me. Thanks & Regards Girish NehteThanks & RegardsGirish NehteIf This post helps you to solve your problem please mark this as an answer. Hi, at the mome... vs vs
just out of curiousity which looks, acts most like java? i'm still learning trying to used to but it seems that it was easier to do some stuff with java. C# is Java++ in my opinion. If you have done C or Jave you will prefer C#.Mike Schellenberger - MCAD If you are looking for language similar to java go for J#. However most code samples you find on the net will be in VB.NET and C#....

vb .net or c# .net
I currently develop websites using php but have been requested to develop a site using The question I have is for someone who knows php would it be better to transition to or Thanks, Fr. Robert C# -> There is a converter that will transition about 60% or more of your PHP code to C#. Plus C# is closer to PHP than VB.NET.Jason N. GaylordASPInsider and Microsoft MVP

what lang does everyone prefer? Thanks, Peter Iuvara, MCP It's a very famous debatable question in forums! I would say if you are from Java/C/C++, then C# would be easy to use for you. If you are from ASP/VB, then VB.NET would be easy for you! As long as if you follow CLS, then what ever the language you use, it's going to be the same for CLR!Sreedharhttp://www.w3coder.orgweblog I would agree with that ... just curious as to what user's on this forum predominantly code in?Thanks, Peter Iuvara, MCP I came from no real programming background, started i...

VB.Net To C#.Net
Hello... Since Last from 1 year i had develope web application in using now i want to transfer from to so what should i do to transform to c# language any link or book related to me through i can easily understand and coding using c# in a short time... Thanks~ Mark As Answer If UseFull ~Kaushal. Hi, you can read the specifications of the language. You're already familiar with .NET and how to program in an OO manner thanks to your experience with The only thing you need to learn is the new syntax of C#. You can also convert parts of your v...

C# Visual Basic.NET JScript.NET what should I choose ?
I'm just a beginner with programing ASP.NET web sistes. Unfortunatelly I don't know any of the languages supported by ASP. (By the time I programmed in DELPHI and SQL) So I should start to learn one of the languages. Could somebody help me to choose the language I should use ? Which and why ? Thanks in advance, Gonzi Use C# or VB.NET, which ever you are comfortable with. Go here to see sample of both in use Ultimately, once you get more advanced, you'll really want to become comfortable with both languages. I ...

Web resources about - how to get C# and code to work together -

Report: Apple's Web TV Service is 'On Hold'
The idea of an Apple live TV service has long lingered on the horizon , a mythical cord-cutting utopia just out of reach. But according to a ...

'Star Wars: The Force Awakens' brings together 'family' of fans
LOS ANGELES — Don't call them Star Wars fans, call them a Star Wars family. Carrying light sabers, foldable chairs, tents and endless amounts ...

Google speculated to launch Android One 2.0 during Sundar Pichai's India visit
Google rumoured to be working on second version of Android One with more features and 4G facility.

L.A. and Chicago Are Up Next for Google Fiber
Just a day after AT&T announced that it’s bringing gigabit fiber internet to the L.A. metro area , Google has announced that it’s exploring L.A. ...

Quentin Tarantino Delivers Shrieking UFC-Style Intros for ‘Hateful Eight’ Cast at Hollywood Premiere
The December 2012 premiere for “Django Unchained” was canceled in the wake of the Newtown, Connecticut, but three years later not even the threat ...

TOM FRIEDMAN’S UTOPIA: Breathing the Air in Red China is Like Smoking 40 Cigarettes a Day
By Nick Sorrentino The free market is often blamed for pollution. The the unbridled greed of capitalists is the reason rivers flow red, forests ...

HTC’s Vive VR headset launch delayed until April 2016
HTC announced in a blog post that its Vive VR headset won’t see a commercial launch until April 2016. When the company first showed off the developer ...

20 times Kris Jenner was 'the cool mom' at the Victoria's Secret Fashion Show
It's no secret that Kris Jenner — who turned her entire family into a media franchise — is kind of a stage parent. So obviously, when her daughter ...

Oscar Pistorius Granted Bail Ahead of Sentencing
A lawyer for the Olympic athlete known as the Blade Runner said his client would appeal his murder conviction to South Africa’s highest court. ...

Undercover Greenpeace activists buy off corrupt academics in a climate change sting
The environmental activism group Greenpeace today disclosed that it led an undercover investigation to expose how easy it is for big oil, gas, ...

Resources last updated: 12/9/2015 7:51:58 AM