Computing.Net > Forums > Programming > call method written in VB.NET from

call method written in VB.NET from

Reply to Message Icon

Original Message
Name: salmaan
Date: September 12, 2003 at 13:50:14 Pacific
Subject: call method written in VB.NET from
OS: XP-Pro2003
CPU/Ram: 1gig
Comment:

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


Report Offensive Message For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: call method written in VB.NET from 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software