How to get an object?

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

  1. #1

    Default How to get an object?

    Hello,

    I'd like to get objects of particular type from AppDomain. Is this possible?
    If is this possible, how can I do it?

    Thanks in advance,

    Woland


    Woland Guest

  2. Similar Questions and Discussions

    1. Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
      I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control...
    2. webservice.htc and custom object array. only first object is deserialized in the result.value
      Hello I've been using webservice.htc for 6 months or so with great results. recently i came into the following problem that I am not sure how to...
    3. Strange error from: Dim myState As Object() = CType(savedState, Object())
      Every book and every website I've seen that talks about how to save state for child controls in a composite webcontrol says to do something like...
    4. [WebMethod] System.NullReferenceException: Object reference not set to an instance of an object.
      Um, this isn't going to work, generally. Web services, as any web app (especially on Windows server 2003) are heavily sandboxed. The method you...
    5. Cannot serialize object of type System.Object[,]. Multidimensional arrays are not supported
      Hi, I get this on server when trying to retun a 2 dim array. I apprecaite that they are not supported as per...
  3. #2

    Default Re: How to get an object?

    Your question doesn't make sense as you stated it. Can you rephrase?

    --
    HTH,

    Kevin Spencer
    ..Net Developer
    Microsoft MVP
    [url]http://www.takempis.com[/url]
    Big things are made up
    of lots of little things

    "Woland" <lsieczkowski@jmk.pl> wrote in message
    news:ez3cvKvRDHA.3796@tk2msftngp13.phx.gbl...
    > Hello,
    >
    > I'd like to get objects of particular type from AppDomain. Is this
    possible?
    > If is this possible, how can I do it?
    >
    > Thanks in advance,
    >
    > Woland
    >
    >

    Kevin Spencer Guest

  4. #3

    Default Re: How to get an object?

    "Kevin Spencer" <kevinDIESPAMMERSDIE@takempis.com> wrote in message
    news:OXkqK0vRDHA.1304@TK2MSFTNGP11.phx.gbl...
    > Your question doesn't make sense as you stated it. Can you rephrase?
    >
    > --
    > HTH,
    >
    > Kevin Spencer
    > .Net Developer
    > Microsoft MVP
    > [url]http://www.takempis.com[/url]
    > Big things are made up
    > of lots of little things
    >
    > "Woland" <lsieczkowski@jmk.pl> wrote in message
    > news:ez3cvKvRDHA.3796@tk2msftngp13.phx.gbl...
    > > Hello,
    > >
    > > I'd like to get objects of particular type from AppDomain. Is this
    > possible?
    > > If is this possible, how can I do it?
    > >
    > > Thanks in advance,
    > >
    > > Woland
    > >
    > >
    >
    >
    I'm accessing some AppDomain. I need to get a reference to object existing
    in that AppDomain. I know the type of that object, and I know that there is
    only one object of that type in AppDomain. I think that it's better to get
    that object by reference because it can be quite big object.

    Woland


    Woland Guest

  5. #4

    Default Re: How to get an object?

    I'm still lost. An AppDomain is an isolated environment where applications
    execute. If you're attempting to access an object in an AppDomain other than
    the current one, you're most probably SOL.

    --
    HTH,

    Kevin Spencer
    ..Net Developer
    Microsoft MVP
    [url]http://www.takempis.com[/url]
    Big things are made up
    of lots of little things

    "Woland" <lsieczkowski@jmk.pl> wrote in message
    news:#xsFJz3RDHA.2432@TK2MSFTNGP10.phx.gbl...
    > "Kevin Spencer" <kevinDIESPAMMERSDIE@takempis.com> wrote in message
    > news:OXkqK0vRDHA.1304@TK2MSFTNGP11.phx.gbl...
    > > Your question doesn't make sense as you stated it. Can you rephrase?
    > >
    > > --
    > > HTH,
    > >
    > > Kevin Spencer
    > > .Net Developer
    > > Microsoft MVP
    > > [url]http://www.takempis.com[/url]
    > > Big things are made up
    > > of lots of little things
    > >
    > > "Woland" <lsieczkowski@jmk.pl> wrote in message
    > > news:ez3cvKvRDHA.3796@tk2msftngp13.phx.gbl...
    > > > Hello,
    > > >
    > > > I'd like to get objects of particular type from AppDomain. Is this
    > > possible?
    > > > If is this possible, how can I do it?
    > > >
    > > > Thanks in advance,
    > > >
    > > > Woland
    > > >
    > > >
    > >
    > >
    >
    > I'm accessing some AppDomain. I need to get a reference to object existing
    > in that AppDomain. I know the type of that object, and I know that there
    is
    > only one object of that type in AppDomain. I think that it's better to get
    > that object by reference because it can be quite big object.
    >
    > Woland
    >
    >

    Kevin Spencer Guest

  6. #5

    Default Re: How to get an object?

    "Kevin Spencer" <kevinDIESPAMMERSDIE@takempis.com> wrote in message
    news:exbXEkISDHA.2432@TK2MSFTNGP10.phx.gbl...
    > I'm still lost. An AppDomain is an isolated environment where applications
    > execute. If you're attempting to access an object in an AppDomain other
    than
    > the current one, you're most probably SOL.
    >
    > --
    > HTH,
    >
    > Kevin Spencer
    > .Net Developer
    > Microsoft MVP
    > [url]http://www.takempis.com[/url]
    > Big things are made up
    > of lots of little things

    SOL? What is it?

    Woland


    Woland Guest

  7. #6

    Default Re: How to get an object?

    S.O.L. is an acronym for "s**t out of luck."

    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "Woland" <lsieczkowski@jmk.pl> wrote in message
    news:uE8O9JfSDHA.2248@TK2MSFTNGP11.phx.gbl...
    > "Kevin Spencer" <kevinDIESPAMMERSDIE@takempis.com> wrote in message
    > news:exbXEkISDHA.2432@TK2MSFTNGP10.phx.gbl...
    > > I'm still lost. An AppDomain is an isolated environment where
    applications
    > > execute. If you're attempting to access an object in an AppDomain other
    > than
    > > the current one, you're most probably SOL.
    > >
    > > --
    > > HTH,
    > >
    > > Kevin Spencer
    > > .Net Developer
    > > Microsoft MVP
    > > [url]http://www.takempis.com[/url]
    > > Big things are made up
    > > of lots of little things
    >
    >
    > SOL? What is it?
    >
    > Woland
    >
    >

    Kevin Spencer 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