View Complete Post
I am using this tag to hepl with my database calls <meta http-equiv="cache-control" content="no-cache" /> however I would like to override this meta tag for one large image using asp.net. Can someone help me out? THANKS!
I am using a small 30gb SSD and i searched the net for guides on how to slim down my windows installtion and one of them suggested i delete my native image caches in the C:\Windows\Assembly folder
As i test i deleted NativeImages_v2.0.50727_32 and NativeImages_v2.0.50727_64 using the ngen.exe delete * command
I got around 800mb of space back
My system seems fine so far all my apps work and i cant really notice any slow down but then again im using an ssd so probably wouldn't notice one anyway
but say i wanted to restore the native image cache what command can i use
This code clears application cache on my local machine very well.
Dim keys As New ArrayList ' retrieve application Cache enumerator Dim enumerator As IDictionaryEnumerator = X.Cache.GetEnumerator() ' copy all keys that currently exist in Cache While enumerator.MoveNext() keys.Add(enumerator.Key.ToString()) End While ' delete every key from cache For i As Integer = 0 To keys.Count - 1 X.Cache.Remove(keys(i).ToString) Next keys.Clear() keys = Nothin
i need a gallary like following link.
actually,i bound multiple image in a gridview using handler(.ashx).
for example,in one dep_id(1),there are 6 image and i need to slideing one by one.
could some one help me,how i can do like this?
i think is it easy in jquery.
please someone help me.
i am binding images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly
for example pls go through my code below:
<div class="slideshow"> <img src="images/30_dummy.jpg" width="200" height="200" /> <img src="images/aquarius.gif" width="200" height="200" /> <img src="images/star.gif" width="200" height="200" /> <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" /> </div>
I above code works perfectly and the slide show e
My database has a products table that has images stored in a varbinary(MAX) column.
I'm trying to display product information in a repeater and trying to display the images as well by using a GenericHandler class but I can't get the image to show up in my page.
Here is my Handler.ashx class:
Public Class Handler
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
'== Set up the response settings
context.Response.ContentType = "image/gif"
context.Response.BufferOutput = False
Dim id As Integer = -1
Dim stream As Stream = Nothing
If Not String.IsNullOrEmpty(context.Request.QueryString("id")) Then
id = context.Request.QueryString("id")
stream = GetImage(id)
Const buffersize As Integer = 1024 * 16
Dim buffer(buffersize) As Byte
'byte buffer = new byte[buffersize];
Dim count As Integer = stream.Read(buffer, 0, buffersize)
While count > 0
context.Response.OutputStream.Write(buffer, 0, count)
count = stream.Read(buffer, 0, buffersize)
I want to use an image inside a Custom Web server control !
Do I need to use Web.resources ? if so , how to do ?
hey guy, i need help in a very troubling matter. I want to make a textbox with a specific style, within this style a set of images as background parts, how can i attach these images to the custom control as whenever i take the .dll file and add it to the toolbar the images do not appear. So i tried to make them as resource files and their property as embedded in .resx file, so how to make the css style background image url to be linked to any of those image.
thanks in advance
Can someone help me on How to insert Image (jpeg) into MS Word Programmatically using VB.NET..not C#.NET???
I could hardly find any articles for the coding. Preferably using Bookmark...can i have the sample code.
I have a piece of code that writes string into an image and save it. It works on one of my site and but not the other. The image.save is not working. If this is a permission problem, which account should I change? I use win server 2003 and IIS 6, and have given ASPNET, NETWORK SERVICE, and anonymous user write access.