Search

You searched for the word(s): userid:714156

Matching Posts

  • Re: user entrys and array lists

    Use a generic list of string instead of an array list Also, a person could just use a string builder. Here is a quick example Hope this helps DK Private sb As System.Text.StringBuilder Private lst As New List( Of String ) Private Sub addbutton_Click( ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles addbutton.Click sb.Append( Me .YourTextBoxName.Text) ' or lst.Add( Me .YourTextBoxName.Text) End Sub Private Sub btnDisplayMessage_Click( ByVal sender As System.Object
    Posted to Visual Basic .NET (Forum) by DkUltra on 6/19/2009
  • Re: comparing value

    Use something like string l = "1,2,3,4,5" ; // this is from the label string c = "1,3,4,6" ; // for column var c2 = c.Split( ',' ); var c3 = c2.ToList(); var l2 = l.Split( ',' ); var l3 = l2.ToList(); List < string > matching = new List < string >(); foreach ( string item in c3) { if (l3.Contains(item)) { matching.Add(item); //or do your thing } } A person will likely have to use at least one loop. Hope this helps DK
    Posted to C# (Forum) by DkUltra on 6/10/2009
  • Re: Compile Time Error

    Go Check out the project properties page right click the solution and fix. is the project for asp.net if so search for the line and delete from page
    Posted to Visual Basic .NET (Forum) by DkUltra on 5/27/2009
  • Re: Global Control Event Handler

    needs to be something like adhandler OnItemUpdated addressof LSVItemUpdated hope this helps DK
    Posted to Visual Basic .NET (Forum) by DkUltra on 4/21/2009
  • Re: Shopping Cart

    Dim NewItem As New CartItem() will call public sub new( ByVal rec_no As Integer, ByVal prod_desc As String, ByVal price As Decimal, ByVal Quantity As Integer, ByVal itemprice As Decimal ) the call is erroring because the constructor(first function called in creation) denoted by public sub new(....) is expecting arguments. but adding another public sub new() <- without parameters would solve your issue Hope this helps DK
    Posted to Visual Basic .NET (Forum) by DkUltra on 4/21/2009
  • Re: loading a class

    Yep!!
    Posted to C# (Forum) by DkUltra on 4/21/2009
  • Re: loading a class

    In that case the function will be run while loading the class. Also, a person can name the function anything. [setup] AnyName { } Hope this helps DK
    Posted to C# (Forum) by DkUltra on 4/20/2009
  • Re: loading a class

    What is the context of your question ? is [setup] part of a Test Driven Development framework ? In that case depending on the framework i would change my answer to that is possible under that scenario. DK
    Posted to C# (Forum) by DkUltra on 4/20/2009
  • Re: loading a class

    No, they will not unless a person calls them in the constructor hope this helps DK
    Posted to C# (Forum) by DkUltra on 4/20/2009
  • Re: how to implement ruler bar in vb.net

    How about something like http://www.codeproject.com/KB/miscctrl/rulerctrl.aspx Hope this helps DK
    Posted to Visual Basic .NET (Forum) by DkUltra on 4/17/2009
Page 1 of 52 (516 items) 1 2 3 4 5 Next > ... Last ยป