User Profile

Collapse

Profile Sidebar

Collapse
erlin
erlin
Last Activity: Oct 3 '07, 01:55 PM
Joined: Jul 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • erlin
    started a topic How to write Into a Config file through VB.Net?
    in .NET

    How to write Into a Config file through VB.Net?

    I'm taking values from that application configuration file, with the command -
    system.Configur ation.Configura tionSettings.Ap pSettings.Get(" name")
    -- similarly,, i want to update that config file...
    There is a function like this..
    system.Configur ation.Configura tionSettings.Ap pSettings.Set(" name",str)
    -- but when i'm using this, error is coming up.. like this cannot be editted..
    See more | Go to post

  • erlin
    replied to how do u find the path in .net application
    in .NET
    To get the current path in VB.Net... give Application.Sta rtupPath
    or..
    Enviroment.Curr entDirectory
    Try these
    See more | Go to post

    Leave a comment:


  • erlin
    replied to Need to format into a decimal
    in .NET
    Dim RatingSum As Integer = Ds.Tables(0).Ro ws(0)("RatingSu m").ToString ()
    Dim columncount As Integer = Ds.Tables(1).Ro ws(0)("columnco unt").ToString( )

    Dim Rating As Integer = RatingSum / columncount

    Return Rating
    -------
    Change the datatype of "Rating" from Integer to "Double"...

    Dim Rating as Double =RatingSum/Columncount
    See more | Go to post

    Leave a comment:


  • erlin
    replied to convert string into decimal
    in .NET
    The CInt function might help you.

    CInt("1")

    and many more conversions are available starting with C... (CDlb -- to convert to double, etc)
    See more | Go to post

    Leave a comment:


  • erlin
    started a topic Active Directory Searching thru vb.net
    in .NET

    Active Directory Searching thru vb.net

    How can i search and get ALL the email ids from active directory? I have list of 1350 users.. from which i'm able to retrieve only 1000 users...
    See more | Go to post
No activity results to display
Show More
Working...