Hi guys,
I have a memory problem in my vb.net application. It's actually a point of sales system, which must be keep running the whole day.
The problem is: application is not releasing any memory that it allocates for any resources.
When my application starts it loads a form say frmLogin, at this time the memory used by my application is for example 67K.
Now when user enters his credentials an MDI form is loaded, causing...
User Profile
Collapse
-
.net not releasing memory
-
Session lost after Server.Transfer
My code is:
Code:if (ctx.Request.RawUrl.Contains("/Category/")) { string[] strArray = ctx.Request.RawUrl.Split(new string[] { "/" } , StringSplitOptions.RemoveEmptyEntries); string strCategoryName = strArray[strArray.Length - 1].Replace("_", " "); DALTableAdapters.categoryTableAdapter catAdapter = new DALTableAdapters.categoryTableAdapter();
-
Begin<Web Method Name> is not available
I am exposing my Biztalk orchestration as a web service and want to consume this web service asyncly, but when i added web reference in my visual studio project it isn't displying Begin<Web Method Name> and End<Web Method Name> function? -
If you are using .net 2.0 you can use the OnClientClick property to show javascript alert. In this case javascript function will always call first.
Code:<asp:Button ID="btnShow" runat="server" OnClientClick="javascript:alert('Message to display');" />
-
-
Do you want to call the timer event function on a mouse click or do you want to register an event handler (assign a function to timer) to the timer within a mouse click event handler?
You can call the timer event function within a mouse click event, like this:
Code:private void button1_Click(object sender, EventArgs e) { t_Elapsed(sender, e); }
Leave a comment:
-
Try
document.getEle mentById('<%=lb lcnt.ClientID%> ').innerHTML
instead...Leave a comment:
-
Static function can access static variables and variables that are local to that function but static function can not access "member" variables. The reason is Static method can be called without instatiating a class object. e.g.
Code:class Program { private int _iNumber; static int _iStaticNumber; static void Func() { _iStaticNumber
Leave a comment:
-
There isn't any problem with the HTML you pasted above, working fine and displaying the values of label controls on Mozilla FireFox and IE. Check your code which is setting the Text property of lblcnt...Leave a comment:
-
There are two ways of doing this:
1. Using HyperLinkColumn colum, e.g:
Code:<asp:DataGrid ID="dg" runat="server"> <Columns> <asp:HyperLinkColumn DataNavigateUrlFormatString="~/more.aspx?id={0}" DataNavigateUrlField="id" DataTextField="name" /> </Columns> </asp:DataGrid>
Leave a comment:
-
You can do this with keyUp event handler and SuppressKeyPres s property of KeyEventArg like this:
Code:Private Sub TextBox1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown If e.KeyValue < 48 Or e.KeyValue > 57 Then e.SuppressKeyPress = True End If End Sub
Leave a comment:
-
Regarding your ToString() overriding question, try this:
Code:Console.WriteLine("Phew:{0}", mp.ToString());
Leave a comment:
-
Make sure that id exists in your query string i.e.
the url to this page should look some thing like this:
http://..../yourpage.aspx?id=someValue...Leave a comment:
-
Data access provider for oracle from MS and ODP.NET 9.xxx doesn't support CommandTimeOut property....Leave a comment:
-
Cancelling SQL Command forcibly / Command timeout
I have an Oracle stored procedure that takes approx 3 minutes to execute and I am using .net 2.0 data access provider for oracle. Now i want to cancel the execution of stored procedure from .net after few seconds, the code i wrote for this is:
Code://Start main function System.Data.OracleClient.OracleDataAdapter objAdapter; System.Data.OracleClient.OracleConnection con; System.Threading.Timer
-
This service is dealing with large amount of data.
We have an alternative to soap, i.e. TCP and it takes arround 50 minutes to complete and give response....Leave a comment:
-
Web service returns internal server error after few minutes
I have a web service that normally takes 50 minutes to execute, howerver when it reaches to 20 minutes it gives HTTP 500 internal server error.
I tried every possible solution like
but not luck.
-Enabling the session state and increasing the session time out from IIS Application Configuration.
-Increased the request timeout from IIS asp.net configuration
-Disabling the 'Shutdown worker... -
client/server application
I don't know whether this is right forum to post this or not...
Basically i wanna make a client/server application where Server will be my desktop pc and client will be any mobile running Windows CE. I have done socket programming before in c# but not pretty sure about this kind of client/server application. So any one here can guide me in this? basically a starting point is needed.
Also i am confused about choosing... -
Application name which trying to access particular port
I have downloaded a simple port blocker written in vb.net which is working fine, now i want to extend it so that it will display a popup window whenever any application trying to access the particular port blocked by this program...
e.g. port 8080 is blocked, when some one try to make request on internet explorer http://testweb:8080/ then it will display a popup which say's IE is trying to access the internet.... Zone Alram is a good...
No activity results to display
Show More
Leave a comment: