i mean that after closing the form where i have used string literal they dont realease memory they have used they are of age 40-45 and more. i think they should be removed as i close the form or the next gc call
bMILAN Cybage
Posts
-
dispose string literals -
dispose string literalsthen why the profiler is showing me it in memory
-
[Message Deleted][Message Deleted]
-
dispose string literalsi am doing memory profiling of my application it shows many string literals staying in memory after closing the forms where they were used. Can anyone plz suggest, what is alternative to string literals because it dont get disposed and increase memory on opening the forms. Thanks Milan:confused::confused:
-
VB.NET Dynamic WebServices URLfriend try this out there is a file reference.vb under the webreference > reference.map there you can give URL of the webservice dynamicaly Namespace Service1 Public Class Service Inherits System.Web.Services.Protocols.SoapHttpClientProtocol ' Public Sub New() MyBase.New() Me.Url = "http://" & functionThatReadURLFromTextFile() & "/WebServicesName/Service1.asmx" End Sub End Class End Namespace Milan:rose:
-
unmovable running form in vs2005WELCOME :)
-
dates in vb.net...in this way........... Private Sub LoadDates() Dim dt As New DataTable Dim dr As DataRow Dim lIntIndex As Integer Dim lIntDysInMonth As Integer Dim curDate As New Date(2007, 4, 1) lIntDysInMonth = Date.DaysInMonth(2007, 4) dt.Columns.Add("dates") For lIntIndex = 1 To lIntDysInMonth dr = dt.NewRow dr.Item(0) = curDate.ToShortDateString curDate = curDate.AddDays(1) dt.Rows.Add(dr) Next DataGrid1.DataSource = dt End Sub Milan :)
-
unmovable running form in vs2005it is FormBorderStyle property- check it out
-
dates in vb.net...if you want dates of a month in a column just for first date of month as dim date as new date(yyyy,mm,dd) i.e. dim ldtFirst as new date(2007,04,01) - for april and loop through the ldtFirst.DaysInMonth - gives total number of days in the current month, add the rows in the datagrid Milan:rose:
-
unmovable running form in vs2005give 'None' as its border style
-
Supress main report section with subreportDear friends, I am have five subreports in one crystal report made in visual studio 2003, some of the features provided by crystal report developer are not available in VS IDE:(. I want the sub report section of the main report supressed when subreport placed in the section doesn't have any records. Thanks n regards Milan
-
Observe, involve, innovatetry it...
-
How to get the row index of the Datagridview when mouse drag over it?Change the HoverEvent property of the grid to true and get the item index that will be row index for grid Private Sub NhsListViewGrid1_HoverEvent(ByVal source As Object, ByVal e As GlacialComponents.Controls.HoverEventArgs) Handles NhsListViewGrid1.HoverEvent MsgBox(e.ItemIndex()) End Sub milan
-
Convert string to date?? Help???first import System.Globalization namespace 'create an object of culture info Dim myCI As New CultureInfo("en-US", False) 'take culture info's clone Dim myCIclone As CultureInfo = CType(myCI.Clone(), CultureInfo) 'customise its date pattern myCIclone.DateTimeFormat.DateSeparator = "/" myCIclone.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy" 'parse date string with this pattern DateTimePicker1.Value = DateTime.Parse("13/07/2006", myCIclone.DateTimeFormat) and u have done !;) milan
-
anyone from ahmedabadhi u r local to ahmedabad ? in which company u r? I am working at digitizers corporation. milan
-
anyone from ahmedabad:-O milan
-
how to use intellisence for functionsi am creating comments for my functions and generate XML help file like this Public Class FUNCTIONS _ Public Shared Function readAll(ByVal pFirstName As String, ByVal pMiddleName As String, ByVal pLastName As String) As String End Function End Class and XML file generated for this functions is like this - - clb - - First name of person string Last name of person string n/a Function that read full name Returns Full Name of string datatype remark but when using that assenbly in my code, intellisence doesn't showup with any help Milan