Report abuse. Details required :. Cancel Submit. Frederik Long. How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site. In reply to Frederik Long's post on August 22, In reply to gintarasbidva's post on August 22, That made my solution at least call Project 2 from Project 1. Any idea what is wrong? I tried to figure it out by your document but….
This is the code in the second project. The changes I made in the original version. I use a third project just for testing more than two in my solution just holding my common variables.
The class Form 1 is changed to Public to make it possible to set up my call at all. Imports ProcjectCommon. Public Class Form1. Private projectcommon As Object. MsgBox "yes". Print sender. Print e. Print CommonVariabels. End Sub. MsgBox "no". Exit Sub. End Class. Hi Janne, First, you need to add a reference to another project on one project. And here are some related threads you can refer to. Thanks, Daniel, for trying to help me to make it work.
Instead I have reversed the communication and begin with setting up the Forms program and make it call my second project. I had already made change like you suggested and my test shows that the call have come through and the response also works.
Cancel Submit. Vijay B. Hi, Thanks for posting in Microsoft community. From the issue description, you are getting System. FileNotFoundException error.
I will be happy to assist you. Did you make any changes to the computer prior to the issue? Under optimal circumstances, the framework should throw a System.
UnauthorizedAccessException when this happens. But I have seen the issue in the past when hosting websites on IIS. Make sure that the ASP. Also make sure to read the other posts in this series: Debugging common. NET exception. Guest posts.
This blog post is brought to you by elmah. NET and JavaScript applications. Stop relying on your users to notify you when something is wrong or dig through hundreds of megabytes of log files spread across servers. With elmah. See how we can help you monitor your website for crashes Monitor your website. Reduce bugs with elmah. Reduce Errors Now no credit card required.
0コメント