IE cache and windows control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • VincentWong

    #1

    IE cache and windows control

    hi everyone

    I have a windows control hosted in the IE and this control will call
    some web services. I would like to ask whehter the files or the result of
    the web service (xml file) are stored in the IE cache, thanks.

    vincent


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: IE cache and windows control

    Vincent,

    In order to do this, you are going to have call the WinInet cache
    functions through the P/Invoke layer. This is going to be difficult,
    because you probably don't have permissions by default to access unmanaged
    code. There might also be a way through COM interop, by querying the host,
    but I am not sure.

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "VincentWon g" <vincent@no_ema il.com> wrote in message
    news:%23IJ1myLu DHA.2712@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > hi everyone
    >
    > I have a windows control hosted in the IE and this control will call
    > some web services. I would like to ask whehter the files or the result of
    > the web service (xml file) are stored in the IE cache, thanks.
    >
    > vincent
    >
    >[/color]


    Comment

    • VincentWong

      #3
      Re: IE cache and windows control

      Nicholas Paldino,

      Thanks for your reply. You help me alot:)

      Vincent

      "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c om> wrote in
      message news:e%23RVp2Nu DHA.1996@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > Vincent,
      >
      > In order to do this, you are going to have call the WinInet cache
      > functions through the P/Invoke layer. This is going to be difficult,
      > because you probably don't have permissions by default to access unmanaged
      > code. There might also be a way through COM interop, by querying the[/color]
      host,[color=blue]
      > but I am not sure.
      >
      > Hope this helps.
      >
      >
      > --
      > - Nicholas Paldino [.NET/C# MVP]
      > - mvp@spam.guard. caspershouse.co m
      >
      > "VincentWon g" <vincent@no_ema il.com> wrote in message
      > news:%23IJ1myLu DHA.2712@TK2MSF TNGP11.phx.gbl. ..[color=green]
      > > hi everyone
      > >
      > > I have a windows control hosted in the IE and this control will call
      > > some web services. I would like to ask whehter the files or the result[/color][/color]
      of[color=blue][color=green]
      > > the web service (xml file) are stored in the IE cache, thanks.
      > >
      > > vincent
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • VincentWong

        #4
        Re: IE cache and windows control

        Nicholas Paldino

        I would like to ask you a question again. Is it that although my control
        is hosted in IE, it does not use the IE cache? and would you mind explain it
        in a little bit detail?:)

        thanks

        Vincent
        "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c om> wrote in
        message news:e%23RVp2Nu DHA.1996@TK2MSF TNGP12.phx.gbl. ..[color=blue]
        > Vincent,
        >
        > In order to do this, you are going to have call the WinInet cache
        > functions through the P/Invoke layer. This is going to be difficult,
        > because you probably don't have permissions by default to access unmanaged
        > code. There might also be a way through COM interop, by querying the[/color]
        host,[color=blue]
        > but I am not sure.
        >
        > Hope this helps.
        >
        >
        > --
        > - Nicholas Paldino [.NET/C# MVP]
        > - mvp@spam.guard. caspershouse.co m
        >
        > "VincentWon g" <vincent@no_ema il.com> wrote in message
        > news:%23IJ1myLu DHA.2712@TK2MSF TNGP11.phx.gbl. ..[color=green]
        > > hi everyone
        > >
        > > I have a windows control hosted in the IE and this control will call
        > > some web services. I would like to ask whehter the files or the result[/color][/color]
        of[color=blue][color=green]
        > > the web service (xml file) are stored in the IE cache, thanks.
        > >
        > > vincent
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...