Results 1 to 4 of 4

Thread: Intersting bit of code.

  1. #1

    Thread Starter
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Intersting bit of code.

    Say you want to check if a user that is about to download your .NET app and you want to warn them that they don't have the .NET framework. If the user is using IE6 or better:

    Request.Browser.ClrVersion

    on an asp.net page will return the CLR version they have isntalled.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    That would be a great way to inform the user they need to go update their windows before using your application. Thanks a lot, I will be incorporating that into my site when I get a .Net host.

    Speaking of which, anyone have a .Net hosting service recommendation (preferably under 15 US dollars a month)?

  3. #3
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by hellswraith
    That would be a great way to inform the user they need to go update their windows before using your application. Thanks a lot, I will be incorporating that into my site when I get a .Net host.

    Speaking of which, anyone have a .Net hosting service recommendation (preferably under 15 US dollars a month)?
    I dont think there is a way to do this for windows apps though, right? ( I mean to write a program in .NET that could tell you if .NET is installed or not )
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  4. #4
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    I don't think that would be possible because for a .Net app to run, it would need the framework.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width