fishyinmytank
New Member
I have started a project, with an imagebox who is updating each new frame. But my ASP.NET timer updates the whole page... This is the demo of my project, with the live view.. click on "Live beeld" : ApplicationThe application is not encrypted with password yet...\[code\]protected void tmrLive_Tick(object sender, EventArgs e){ if (Label1.Text != ""&& Label1.Text!="") { liveUriList.Items.Clear(); CloudBlobClient blobClient = new CloudBlobClient("http://ferryjongmans.blob.core.windows.net/", new StorageCredentialsSharedAccessSignature(signature.Text)); CloudBlobContainer container = blobClient.GetContainerReference(cameraList.Items[Convert.ToInt32(Label1.Text)].ToString()); CloudBlobDirectory direct = container.GetDirectoryReference(cameraList.Items[Convert.ToInt32(Label1.Text)].ToString()); BlobRequestOptions options = new BlobRequestOptions(); options.UseFlatBlobListing = true; options.BlobListingDetails = BlobListingDetails.Snapshots; foreach (var blobItem in direct.ListBlobs(options)) { string uri = blobItem.Uri.ToString(); Regex regex = new Regex(comboBox1.SelectedItem.ToString() + "/(.*).jpeg"); var v = regex.Match(blobItem.Uri.ToString()); string s = v.Groups[1].ToString(); pictureBox2.ImageUrl = uri + signature.Text; } }}\[/code\]I Hope someone can help me with building a nice timer who is not refreshing my whole page..