Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default private/public sub?

    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???
    rom Guest

  2. Similar Questions and Discussions

    1. Sharing Constants in Multiple Applications - Public vs.Private
      I use private and public constants throughout my application to store hardcoded WSDL URLs and WebService methods. Many of these are the same in...
    2. #40372 [NEW]: Unlogical behaviour with private/public properties and __get
      From: djungowski at chipxonio dot de Operating system: Ubuntu PHP version: 5.2.0 PHP Bug Type: Class/Object related Bug...
    3. Need the equivalent of CryptGenKey for PUBLIC/PRIVATE pairs
      I have found the GenerateKey method for SymmerticAlgorithm based CSP classes, but I can not find any way to create a public/private pair for use...
    4. Question about "Public Sub" vs "Private Sub" vs "Sub"
      In my INCLUDE.INC file I have noticed that I can create subs three ways... Public Sub Test1(x) response.write(x) End Sub Private Sub Test2(x)...
    5. Private Fotopages - private Web Galleries WANTED!
      Hello NG I am still seeking links to private (hobby / non professional/ amateur) fotopages in Australia -or any other Country to be used at...
  3. #2

    Default other problem!

    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???
    >.
    >
    rom Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139