Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 12th, 2003, 03:32 PM
Registered User
Join Date: Sep 2003
Location: Jonesboro, Arkansas, USA.
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

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.


When there is a bridge...there is a way !
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 BOOK: Professional C#, 2nd and 3rd Editions 0 September 12th, 2003 03:31 PM

All times are GMT -4. The time now is 07:46 AM.

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