|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Error on BuildI have a .NET remoting chat program that works great in a stand-alone
application. When I port it into my new application I get the following build error: Error 1 Method 'Public Sub SubmissionCallback(sender As Object, submitArgs As EZRemote_VER3.SubmitEventArgs)' does not have the same signature as delegate 'Delegate Sub SubmissionEventHandler(sender As Object, submitArgs As ChatCoordinator.SubmitEventArgs)'. G:\Projects\EZRemote_VER3\EZRemote_VER3\ChatClient.vb 24 53 EZRemote_VER3 I've looked at the code in the first project and it's Idential, other than I had to make a Global Declaration on the ChatCoordinator Class (dll) Any and all help would be greatly appreciated. Michael eSolTec wrote:
Show quoteHide quote >I have a .NET remoting chat program that works great in a stand-alone The error message is telling you what is wrong!>application. When I port it into my new application I get the following build >error: > >Error 1 Method 'Public Sub SubmissionCallback(sender As Object, submitArgs >As EZRemote_VER3.SubmitEventArgs)' does not have the same signature as >delegate 'Delegate Sub SubmissionEventHandler(sender As Object, submitArgs As >ChatCoordinator.SubmitEventArgs)'. G:\Projects\EZRemote_VER3\EZRemote_VER3\ChatClient.vb 24 53 EZRemote_VER3 > >I've looked at the code in the first project and it's Idential, other than I >had to make a Global Declaration on the ChatCoordinator Class (dll) > >Any and all help would be greatly appreciated. > >Michael > > Sub SubmissionCallback(sender As Object, submitArgs As EZRemote_VER3.SubmitEventArgs) does not equal Sub SubmissionEventHandler(sender As Object, submitArgs As ChatCoordinator.SubmitEventArgs) Whatever this EZRemote_VER3 is, it is not a ChatCoordinator. Delegates have to match precisely in the signature. Tom
Possible to set/reference a property 'dynamically'?
How to run scheduler for more than one time in a day Help with deleting a Row in a database Parse String in Quotes as without Quotes Update ODBC DSN Properties in VB.NET Code? Datagrid - recognizing changes made Download a file from a secured Https Server textbox currency free tutorials Localization VS 2005 - VB.net |
|||||||||||||||||||||||