Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
|
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 12th, 2003, 03:31 PM
Registered User
 
Join Date: Sep 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to salmaan
Default How to call method written in VB.NET from C# proje

Hi,
I am using VS.NET 2003 and I am working on a report in Crystal. I am getting the the required info from another form's method which was written in VB.NET. I am not sure how I can call that method from C# !!!!

My co-worker has created the login screen and she has done her part in VB. I am trying to call a function in her peroject from my C# project. All of the reports are done in my C# project. We have combined the two and my project gets called by her project as we have created a solution and have added both projects to that solution. My C# project has an output type of class library.

I know that we can convert a project into a class library and then reference it in our project. But in this case I can't do that because the information I need is in the project that has an output type of windows app. I can't change it to a class library !!

I want to call a method contained in another project with an output type "windows application" that was written in VB.NET, and that project contains a reference to my project which has an output type of "class library".
I want to get some info from that parent project and pass some value from it to the C# project that I need to include in my report.

Please help me find a way to get access to another project's form's data without converting the project into a class library.


I hope this clarifies my question.

Anxiously waiting for a response.

Thanks

Salmaan
-----------------------
When there is a bridge...there is a way !





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call c#.net dll in vb 6.0 hkumar Beginning VB 6 3 August 21st, 2007 01:42 PM
call window dialog component with asp.net/vb.net s3ng ASP.NET 1.x and 2.0 Application Design 0 June 21st, 2005 04:54 AM
How to call a C# method from VB.Net? aliarifpk General .NET 1 February 26th, 2004 04:11 AM
How can I call a vb.net Exe from an asp.net page? jorevil Classic ASP Basics 0 October 1st, 2003 11:34 AM
How to call method written in VB.NET from C# proje salmaan Crystal Reports 0 September 12th, 2003 03:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.