Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Personal Information

  • Occupation
    Consultant
  • Visual Studio .NET Version
    SharpDevelop
  • .NET Preferred Language
    C#

Derek Stone's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Did you successfully remove any previous version of Visual Studio 2005 and .NET 2.0? http://lab.msdn.microsoft.com/vs2005/uninstall/
  2. To get this to run in Microsoft Visual Studio .NET 2003, the line "Wizard=VsWizard.VsWizardEngine" must be changed to "Wizard=VsWizard.VsWizardEngine.7.1" in the project template files.
  3. There are numerous things wrong with this block of code: The application is not layered correctly. Entity names should reflect the entity, nothing more (drop the "Data" off of "ProductData"; rename "Product" to "Products"). A glaring SQL injection vulnerability is present (as mentioned by PlausiblyDamp). No validation is done at the property accessor level. You could easily set "ProductPrice" to -5, which makes little to no sense. Property names on business objects shouldn't include the name of the business object (change "ProductID" to "ID", etc.). Unnecessary unboxing is performed on the database fields. The collections are not strongly typed. The readers are never closed.
  4. Please don't hijack other people's threads. I've split your posts off into a new discussion.
  5. Bungpeng: The database fields should be defined as nvarchar and nchar. Anything stored into a String will be stored as Unicode. Therefore the only thing the application will need to do to support Unicode strings is to use the String type. It's really that simple. Do keep in mind that text direction is one of the big "gotchas" when coding globalized applications. While English might be read from left to right, Hebrew and many other languages read from right to left. Make sure to account for this in your user interface.
  6. If you had bothered to read the entire error you'd realize the problem. The Mabry component is attempting to show a window, which obviously doesn't even make sense for an ASP.NET application.
  7. [msdn]System.Convert[/msdn].ToBase64String()
  8. [msdn]System.Security.Cryptography.SHA512Managed[/msdn]
  9. They're the one control the Internet Explorer Team at Microsoft didn't reimplement. They're drawn as they're own window, "outside" of the viewport, meaning they're drawn independently of the Web page itself, and therefore not affected by z-ordering. [edit]You can view this for yourself using Spy++ or a similar application.[/edit]
  10. [api]FlashWindow[/api]
  11. Iterate over the Controls collection, checking the types returned.
  12. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_com_classes.asp
  13. You can't.
  14. You probably mean ".vbproj", not ".vdproj". That's a Visual Basic .NET project file. Try downloading Visual Basic 2005 Express.
  15. I'd stick with the Directory / File IO / Registry forum for now. While those topics seem interesting, I doubt we'll be dedicating an entire forum to them, especially since they do fit [loosely] into an existing forum.
×
×
  • Create New...