Solved

Combining C# with VB.Net

Posted on 2003-10-30
2
164 Views
Last Modified: 2010-04-16
Hi,
I am doing a simple client server application using C# and VB.  I had both client and server working in c#. Then I tried to convert the server into VB.Net and run it that way.  When I try to run the Client and connect to the Server (type in the IPAddress of the Server) it tells me 'the connection has been actively refused'.  Is there something I need to do to make the two work together?

Thanks
0
Comment
Question by:highlighter
  • 2
2 Comments
 
LVL 20

Expert Comment

by:TheAvenger
ID: 9656028
No, both languages use exactly the same libraries so there is no difference between them. You should search the problem somewhere else, not in the translation from C# to VB.
0
 
LVL 20

Accepted Solution

by:
TheAvenger earned 125 total points
ID: 9656286
By the way, I get this error when my host is not running and I try to connect to it with my client. Do you have the host running? Are the IP and port settings correct on both sides?
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now