Asp.net - Refreshing A Page Continuously Crashes IE?

Jun 10, 2009

I need to poll the server for updated contents. So I added a META REFRESH tag to the page. But it seems that META REFRESH has memory leak issues and it crashes IE.What is the best way to poll data from server continuously? My app is quite old (partly ASP and partly asp.net). I can't invest on technologies like HTTP Push...

View 2 Replies


ADVERTISEMENT

ASP Put Query Into Array And Go Through It Without Refreshing Page

Jun 13, 2012

How would I go about running a query in asp and storing it in an array. Then with the array go through each record without having to refresh the page every time.

For example
Sub loaddata()
Dim conn As New IfxConnection(connectionstring)
Dim results() As String
Dim i As Integer = 0
conn.ConnectionString = connectionstring
[Code] .....

The results are stored in results(i). Say I have a button that says next and everytime I want it to go to the next item in the results array. I don't want the page to refresh. How do I do that?

View 2 Replies

Dynamically Change A Value On A Asp.net Page Without Actually Refreshing It?

Apr 1, 2011

I have a label, let's call it LblA. I have a SqlDataSource, let's call it sds. Now, I have selected out and managed to get specific values using the select function. I want to set LblA's text to the value selected out of sds. I need this to occur every 5 (or as many as I specify really) seconds. I orignally used a timer object, however, for any of you who have used the timer object before, it likes to refresh the page, this makes it very hard to navigate off of the page; not only that, it's sloppy. Does anybody know a way to easilly update LblA's text from sds without refreshing the actual page.

I've read around and came to the conclusion that I need to use ajax, err... jQuery. However, I really don't know anything about the two except that they are both Javascript libraries? I need a simple way, you might even have to explain it to me like I'm an idiot.

View 1 Replies

Getting The Value Of A Row In A Gridview After Selecting Its Checkbox Using Javascript - Vb- To Avoid Refreshing The Page At Each Select?

Oct 28, 2011

I have aspx gridview with checkbox on evryrow, what is required is whenever we check any of the rows, a query should be launched to change the specific agent -each row consist of agentID, Pass, Status- to Paid Status. using javascriptWhat I need to know is how to loop to get the Checked row and get the ID of the row checked so that I can get THe ID of the Agent in thos row so that I can update its status.using javascriptI found something similar on stackflow:t GridView selected row DataKey in JavascriptBut it is not my case, what is needed is at the check of a checkbox a javascript function should launch through which I could update the selected row in grid view after having the index of this row and this all to avoid refreshing the page.

View 2 Replies

WebBrowser Control - Disable Refreshing In Such A Way That The Button Can Still Be Used For Stuff Like Flash On The Page Still?

Mar 13, 2012

1. Is there any way to disable refreshing in such a way that the button can still be used for stuff like flash on the page still? All my methods have blocked using the button in the flash which is loaded on the page....

2. Is there any way to get the new scrollbars of IE10 or metro style scrollbar or what not into the webbrowser like the desktop version of IE10 does in Windows 8 Consumer Preview?

3. Is there any way to allow the close window called from javascript to be detected & actually close the window in my program?

4. Is there any way to make it so when new window is called it will open a new window with my application in a new instance? stopping me now is it seems to want to open in the same window if I use the event NewWindow to cancel the event from happening but it gets script errors....is there any way to retrieve the link to what it needs to open so I can handle this properly? Or at least tell it what else to use? besides the default browser....I want it to open inside my own program & not IE.

View 8 Replies

How To Run A Program Continuously

Sep 28, 2009

How do I run a program continuously until the user decides to quit, VB 2005

View 6 Replies

Access MS Database On The Web Continuously?

Mar 30, 2009

I have a MS access database located on the web-host (ie:[URL]) in a sub-folder database (ie: databaseInfo.mdb), I have a VB.net program running all the time at a local PC with an Internet connecting. Can I read/write the databaseInfo.mdb continuously by using xml (or any thing else)? *) I did try to use with FTP command to upload/download files, but it is very slow & often lossing connection!

View 14 Replies

Continuously Add If Statement Contents Together?

Feb 4, 2012

The basicServiceFee allows for 10 free connections at $80

Anytime the connections are > 10 each addition connection is $4 plus the basic

How can I add the $4 charge and keep adding it when each number from the connectionsListBox is selected.

My code adds the first $4 charge and then stops after 11 on the connectionsListBox. How do I get 12 to be another $4 and 13 to be another $4

Here is my code:

Private Function businessTotalCharges(ByVal processingFee As Double, ByVal basicServiceFee As Double,
ByVal premiumChannelFee As Double, ByVal connections As Double) As Double

[Code]....

View 2 Replies

Example Of Continuously Scrolling Form?

Jan 16, 2010

I'm looking for an example in VB.NET of a continuously scrolling form. This would be similar to a continuous form in Access but with a major difference in that when you scroll it the whole thing moves up or down instead of the data jumping up or down to the next section. If you are not familiar with Acces, this would be a form that lists data down the form in sections, one per record, in other words, like a bunch of forms strung one after the other. When you scroll down, the record at the top gradually disappears and is replaced with a new one at the bottom.

This needs to be a form with controls, not a datagridview.Right now, I'm trying to find an example of this. I tried searching for one and couldn't find one. Does anyone know of an example of a continuoulsy scrolling multi-record form where the whole form moves in VB.NET?

View 5 Replies

How To Continuously Display Time

Jun 28, 2011

i need a program that when I press a button on the form, it will display the system time continuously in a text box. I know i need a loop to do this but what I have keeps freezing my program. Heres what I have:

Sub getTime()
Dim currentTime As System.DateTime = System.DateTime.Now
Dim x As Integer = 1

[code]....

View 3 Replies

Continuously Write Numbers From 1 To 10000?

Feb 18, 2011

Basically wat i'm trying to do is continuously write numbers from 1 to 10000 using 1 thread & stop this using another thread. But it doesn't seem to happen.

I have pasted the code for your reference.

Imports System.Threading.Thread
Imports System.Threading
Public Class Form1

[Code].....

View 3 Replies

Get ListView Selected Item Continuously

Aug 10, 2011

I have a listView and it has data such as [code]First i i select ABC, then it works again if i select i get error ListView.SelectedItems(0).text using this i am extracting the value.any idea how to get selected item.

View 4 Replies

How To Make Subroutine To Run Continuously In VB 2008

Sep 9, 2009

I need to make a subroutine run continuously in VB 2008. Can I make a button permanently on? If this is possible, how can I do this? I can put all of the subroutines I want run inside the button click class.

View 9 Replies

Move Text In TextBox Continuously?

Nov 8, 2010

I want to make my text in the TextBox move continuously.

View 8 Replies

Calculation Time - How To Continuously Update The Text Box

Sep 14, 2010

I need to be able to display 60 * x. X is going to be the time between hitting a Stat button and a Stop button in seconds. I need this to be shown until it is stopped. So i was thinking something like txtBox1.text = 60*time, but I do not know if that is correct and I do not know how to get that time. Also I am not sure how to continuously update the text box.

View 6 Replies

How To Make A Textbox To Show Numbers (eg 1 To 20) Continuously

Oct 7, 2009

I want to know the codes to show numbers one by one continuously from 1 to 20 on clicking a button, and it should keep on doing it till a Button is clicked.I know how to get a Random number to for it but I don't know how to do for numbers in normal order .

View 11 Replies

Read All Existing Text File Continuously?

Jan 18, 2012

how to read multiple text files in a folder continuously..

example:..

In a folder i have a few of text files such as

sensor.20120101.txt
sensor.20120102.txt
sensor.20120103.txt
sensor.2012010.......txt

..So how to write vb coding to read all text file continuously...how to declare

View 4 Replies

C# - How To Work Continuously On Other Pages While Executing Stored Proc In Asp.net

Jul 28, 2010

I have a stored procedure that I need to execute from asp.net button , It takes more than 30 mins to execute.

So here I need to show a message like "In Process" while execution and disable couple of links..Once the execution is done I need to show "Last processed data and time" and enable the disabled links.

So in "In Process" stage we have to allow user to access other pages in the site.

View 2 Replies

Forms :: Serial Port, Continuously Receiving Data?

May 11, 2011

I have serial port object which continuously receiving data from weighing device, which sends data in 0001450= format (8 Bytes). I read about datareceived event, and implement that, but i must use Thred.Sleep to get all data and read with serial.ReadExisting. Does the ReadBytesTreshold=8 raised DataReceived event after 8 bytes of data??

Is there any way to cancel, abort, stop DataReceived event?

View 4 Replies

Make A Text To Move On A Straight Line Continuously?

May 29, 2012

I use this cod but it not moving the text contnusly Private sub Timer1............ Label1.text = " " & Label1.text

View 1 Replies

OnMouseMove Not Being Continuously Invoked On Custom User Control?

Feb 8, 2011

http:[url].... contains a Visual Studio 2010 Solution with a Form and a User Control.

Question. Why isn't OnMouseMove (at top below Constructor) being called with every movement of the mouse across the UserControl's grid?My intention is to have a reticle (crosshairs) replace (override) the existing mouse cursor and show a reticle with x and y coordinates?I have another form upon which a User Control with similar functionality is working perfectly.

View 3 Replies

Read Numeric Data Continuously Appeared On The Screen?

Jul 7, 2011

I want to read numeric data continuously appeared on the screen.

View 4 Replies

Update A Graph Continuously But Not Causing The Form To Flash?

Sep 15, 2009

I am doing some graphics work like Paint event, but I found a problem that the form will flash again and again whenever I call the method IRefresh() or Invalidate(). What can I do if I want to update a graph continuously but not causing the form to flash?

View 1 Replies

VS 2010 Continuously Save TextBoxes To A Text File

May 6, 2011

I have a form with 2 TextBoxes that I want to be able to save to a text document like C:Data.txt. When I save to the text document I want it to continuously save. For example it when you open the text file it should look something like this:

TextBox1
TextBox2
------------
TextBox1
TextBox2

Is it possible to do something like that? A separator is not necessary, would be nice to distinguish different saves.

View 5 Replies

Way To Make Both Threads Continuously Fire Its Elapsed Event?

Feb 2, 2010

I'm using 2 System.Timers, which spawns a worker process during its elapsed event. If 1 of the events is busy doing something, the other thread elapsed event doesnt fire until the 1st thread has completed.Is there any way I can make both threads continuously fire its elapsed event??

View 3 Replies

Continuously Receiving Data From Serial Port And Display In Textbox

Apr 28, 2012

I ve been reading forums all over the net for 2 weeks and I failed to find solution for my problem. here is my problem;

I am able to receive data from serial port in to richtextbox and its working fine .. what i wanna do is dislay data in textbox by spliting string[code]...

View 5 Replies

Create A Software Where Video Files Play Continuously Using A Timeline?

Sep 5, 2011

I am trying to create a software where video files play continuously using a timeline like Windows Movie maker or Pinacle Studio. So i have no idea how to maintain the time line. Will i use Timer Control for that or any other methods are available.

View 6 Replies

Tab Page 1 To Tab Page 2 (textbox1 Input From Tab Page 1 To Textbox2 In Tab Page 2)?

Jun 12, 2011

I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.

View 3 Replies

Handles MyBase.KeyDown - Prevent A Picturebox From Continuously Moving If The Key Is HELD DOWN

Sep 2, 2011

I have a picturebox set to move when the arrow keys are pressed. How do I prevent it from continously moving if the arrow key is HELD DOWN. I want to make it so the user has to press the key each time manually to move the picturebox.

View 14 Replies

Make A Program That Will (by Timeing) Click Continuously Until Press Stop Button Or A Key Like F12

Jan 19, 2010

I want to make a program that will (by timeing) click continuously until I press the stop button or a key like f12. The only problem is I have no idea and got only how to click from other posts of same concept. This is what I have.[code]Now I want a timer to help it click every 1 2 or 3 seconds, whatever it may be in the text box.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved