other problem!

From: rom (meir_c_at_ifat.com)
Date: 11/09/04


Date: Tue, 9 Nov 2004 03:37:12 -0800

I read on the web that the problem might be that the name
of the function is already taken by another namespace so I
changed it and now it's ok. Not I get an error that a
function I'm using was not declared. the problem is that
it is declared, it is public, and I tried several names...

Thanks!

>-----Original Message-----
>I have the following like in an asp.net application in
the
>vb.net codebehind page:
>
>Compiler Error Message: BC30390: 'Care.Search.Private Sub
>saveFatherGroup_ServerClick(sender As Object, e As
>System.EventArgs)' is not accessible in this context
>because it is 'Private'.
>
>The problem is that the sub is PUBLIC! here it is as I
>copied it from the vb.net page:
>Public Sub saveFatherGroup_ServerClick(ByVal sender As
>System.Object, ByVal e As System.EventArgs)
>
>Any ideas???
>.
>



Relevant Pages

  • Cant see namespace
    ... I am using vb.net VS 2003 and can't seem to see my namespace. ... Private _first As Object ... Private nullFirst As Boolean = False ... Public Sub New ...
    (microsoft.public.dotnet.languages.vb)
  • Re: VERY IMPORTANT: Sharing
    ... Public Sub New ... event in browser 1 you set shared variable stores to "Hello World" then ... > End Namespace ... strReportName set in browser 1. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Constants cant be defined in a namespace. WTH?
    ... constants in the namespace level. ... just refer to any Public member of that Module from anywhere in your ... Public Sub MySub() ... contain the CONST declarations. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: sending Mail in a Service
    ... You'll have to add a reference to System.Web.dll to access the namespace. ... > Public Sub SendMail(ByVal strTo As String, ByVal strSubject As String, ...
    (microsoft.public.dotnet.general)
  • Re: sending Mail in a Service
    ... You'll have to add a reference to System.Web.dll to access the namespace. ... > Public Sub SendMail(ByVal strTo As String, ByVal strSubject As String, ...
    (microsoft.public.dotnet.languages.vb)

Loading