473,657 Members | 2,435 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Connect VB with C#, VB give instruction to a C# code ?

Hi,

I and a college are working on 2 projects, one in C# and one in Vb.NET,
and would like to connect the projects using VB.NET project as the main
GUI and let an search algorithm in C# do the heavy work.

We are both rather new .net programmers and would appreciate some
newbie help in letting VB code give instruction to C#.

We appreciate any constructed comments, direction, pitfalls.

Thank in advance,

Tomas : )

PS" we are not interested in a discussion on doing all programming in
one of the two languages or a discussion one versus the other"

Oct 9 '06 #1
3 1361
On 9 Oct 2006 03:22:05 -0700, to************* *@yahoo.com wrote:
>Hi,

I and a college are working on 2 projects, one in C# and one in Vb.NET,
and would like to connect the projects using VB.NET project as the main
GUI and let an search algorithm in C# do the heavy work.

We are both rather new .net programmers and would appreciate some
newbie help in letting VB code give instruction to C#.

We appreciate any constructed comments, direction, pitfalls.

Thank in advance,

Tomas : )

PS" we are not interested in a discussion on doing all programming in
one of the two languages or a discussion one versus the other"
Create your C# code as a Library (DLL) and call the DLL from the VB application.
No problem.
Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
Oct 9 '06 #2

Write a tiered application, and create the presentation layer in VB.NET.

See this blog for downloadable code of a Tiered setup.

http://sholliday.spaces.live.com/?_c...26ayear%3d2006
5/24/2006
Custom Objects/Collections and Tiered Development

<to************ **@yahoo.comwro te in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
Hi,

I and a college are working on 2 projects, one in C# and one in Vb.NET,
and would like to connect the projects using VB.NET project as the main
GUI and let an search algorithm in C# do the heavy work.

We are both rather new .net programmers and would appreciate some
newbie help in letting VB code give instruction to C#.

We appreciate any constructed comments, direction, pitfalls.

Thank in advance,

Tomas : )

PS" we are not interested in a discussion on doing all programming in
one of the two languages or a discussion one versus the other"

Oct 9 '06 #3
Thanks for your help guys, its very appreciated.

Tomas

sloan wrote:
Write a tiered application, and create the presentation layer in VB.NET.

See this blog for downloadable code of a Tiered setup.

http://sholliday.spaces.live.com/?_c...26ayear%3d2006
5/24/2006
Custom Objects/Collections and Tiered Development

<to************ **@yahoo.comwro te in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
Hi,

I and a college are working on 2 projects, one in C# and one in Vb.NET,
and would like to connect the projects using VB.NET project as the main
GUI and let an search algorithm in C# do the heavy work.

We are both rather new .net programmers and would appreciate some
newbie help in letting VB code give instruction to C#.

We appreciate any constructed comments, direction, pitfalls.

Thank in advance,

Tomas : )

PS" we are not interested in a discussion on doing all programming in
one of the two languages or a discussion one versus the other"
Oct 17 '06 #4

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

Similar topics

2
4498
by: pieter_hordijk | last post by:
Hi all, maybe this isn't a php question, but a MySQL question. If so I'm sorry for asking you guys to help me :) I know this question is asked often in NGs, but I couldn't find the answer that works for me. I've just installed my server with following:
4
2827
by: willjay | last post by:
Trying to connect with mysqlcc and i get the following message dialog. (Application popup: mysqlcc.exe - Application Error : The instruction at "0x39ee1141" referenced memory at "0x656e6e6f". The memory could not be "read". Click on OK to terminate the program Click on CANCEL to debug the program ) I am using windows 2000 Professional with SP4 and trying to connect to a ver 3.21 mysql server.
1
3227
by: lytung | last post by:
Hi All, I have been struggling with this problem for quite some time. Basically i have an asp page (on the ISP server) that I want to connect to a sql server on another machine (on my server) and I have been trying to figure out how to do this. I tried to connect using an ip address in the data source and it did not work. The asp.net code looks something like this:
5
6639
by: rAinDeEr | last post by:
Hi, Y'day one of my friend showed me how to connect to a Oracle database as SYSDBA, DBA etc I have DB2 UDB installed in Linux machine.Right now, I have a user WADI which has got some previliges on the tables. But I dont know how to connect as SYSDBA etc
14
7027
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that sql server resides on is not reachable. The error is different depending on the connection string that I use. If I use the following connection string: "server=192.1.1.1; Initial Catalog=master; uid=The_User; password=The_Password; Connect...
0
3253
by: tessenwein | last post by:
I have an browser based application written in Delphi 6 and a toll called Intraweb. Delphi/IntraWeb allows me to compile the application as either an standalone .exe or an ISAPI .dll. I compile it as a .dll to run it as an ISAPI application running under IIS 6.0 on a Windows 2003 server. The application connects to a MySql database and allows normal table functions (browse, read, update rows.) The application works fine when I compile and run...
0
1426
by: tessenwein | last post by:
I have an browser based application written in Delphi 6 and a toll called Intraweb. Delphi/IntraWeb allows me to compile the application as either an standalone .exe or an ISAPI .dll. I compile it as a .dll to run it as an ISAPI application running under IIS 6.0 on a Windows 2003 server. The application connects to a MySql database and allows normal table functions (browse, read, update rows.) The application works fine when I compile and run it...
11
10312
by: Mikael Arhelger | last post by:
Hello, This has been posted a few times but still I could not find a way to connect to our database. We run DB2 Express on WIN2K server with XP clients. I can ping inside network and to the Internet from the server, so TCP/IP is ok. The DB2COMM=TCPIP is set also. Have been scratching my head for days now. Here some additional data (we are running SAP Business One):
14
11643
by: Khan | last post by:
Hello, I want to connect my intranet server (with php/apache) to the other informix database server, But I didnt it. I dont know how i can do it? Can i use php_informix extensions for example ifx_connect(); I was read this article: http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606bombardier/index.html and doing step one step but i was not success.
0
8395
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8826
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6166
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.