Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. You should provide documentation both inside (for Intellisense and the object browser) and externally (in a compiled help format, such as HTML Help). In addition, provide sample applications that the developers can look at. Most importantly, make sure that your assembly fails gracefully if the key isn't found. Catch the error, and rethrow it with a decent description and a link to more information.
  2. It's possible, yes. http://www.scrollingdatagrid.com/
  3. Dim path as String = Request.Path
  4. We're happy to announce another forum for your posting pleasure: Regular Expressions Please use this forums if you have a question relating to the usage of Regular Expressions in the .NET languages.
  5. Or just apply the following attributes to your code: <assembly:AssemblyProduct("")> <assembly:AssemblyTitle(")> <assembly:AssemblyCompany("")> <assembly:AssemblyVersion("1.0.0.0")> <assembly:AssemblyFileVersion("1.0.0.0")> <assembly:AssemblyCopyright("Copyright (C) 2004")>
  6. Yes, you would.
  7. Different browsers support different things. Consider yourself lucky that these are your only problems. The following works just fine in Mozilla: <html> <head> <title>Mozilla Test</title> </head> <body> <form> <p><input type="button" value="Mozilla Test" style="color: white; background-color: blue;" /></p> </form> </body> </html>
  8. "'@" will only work in Visual Studio .NET 2005 (Whidbey). Current versions of Visual Studio .NET won't upchuck if you use that syntax, however the comments will not be recognized as documentation, and therefore won't show up in Intellisenseless.
  9. How then would developers embed movies into their applications? How would developers embed Web pages that embed media? I think this is where people miss the point. Microsoft can remove everything down to kernel32.dll and explorer.exe, and in the process generate one of the worst user experiences since DOS.
  10. If you'd like proof...
  11. If by "ASP.NET" you mean "IIS" then the IIS Resource Kit is what you're looking for. The kit contains a tool called Log Parser, which you will find most helpful.
  12. I challenge any of you to create a seamless and smooth user experience without relying on shared components. It's one thing to be righteous and state these dependencies are monopolistic, but another to come up with a decent solution. Until someone does, criticizing Microsoft for this practice is at best shortsighted.
  13. There's no myth. Numerous programs (including MSN Messenger) add unreadable Unicode characters to text to mark it up. Once copied the text isn't readable by programs that don't understand the markup. Your best bet, as Nerseus stated, is to copy the text into Notepad. Alternatively, you can simply retype the text in question.
  14. Configure IIS such that the application's directory is the root Web site.
  15. You can use either the C# compiler (csc.exe) or the Visual Basic .NET compiler (vbc.exe) without having Visual Studio .NET installed. The two compilers, along with numerous other tools, are available in the .NET Framework SDK.
  16. The method gets the equivalent unmanaged size of any CLR object (useful for platform invocation). It doesn't (and can't) get the size of an unmanaged object. This is the closest you're going to get to what you want.
  17. [msdn]System.Runtime.InteropServices.Marshal[/msdn].SizeOf()
  18. You do realize sessions use cookies right?
  19. There isn't a "correct" method. There's no way for an OS to determine conditions beyond the NIC or modem. Try connecting to a resource. If the connection completes you're connected. If it doesn't... well... there isn't a usable connection.
  20. If by "clients" you mean "nodes on the network" then you're going to want to manage them with a package such as Microsoft's Systems Management Server (SMS).
  21. Set the element's text-align style attribute to a value of "right" or set the dir (direction) attribute to "rtl" (right-to-left). The former is preferred.
  22. Most would argue that enumerations are nothing more than syntactical sugar for developers. They do serve a purpose however. If the numeric value of a function's argument (or arguments) changes such that it breaks existing code you have a huge manageability problem. However if the developer isn't forced to input numeric values in the first place, and uses enumerations instead, there's no need to sift through thousands of lines of code making updates. Additionally, enumerations tend to be self-documenting: the names of the elements describe the item they reference. This is different than numeric values, which have no descriptive characteristics.
  23. It's more common to set the impersonate attribute in web.config, not in machine.config. This has little bearing on your problem, however it's worth noting. Have you granted the ASPNET user account permissions in Microsoft SQL Server? How are your users authenticating (via Forms-based authentication or via NTLM using Windows credentials)? Which version of IIS are you using?
  24. XMLSpy is the best product available on the market for XML-based editing.
×
×
  • Create New...