Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. Not without overriding the DataGrid's render method. http://www.scrollingdatagrid.com/
  2. [msdn]System.IO.File[/msdn].Exists()
  3. You can't terminate instances of the service.exe process. You can stop the services that are hosted in it however. As for aspnet_wp.exe you can terminate that whenever the urge arises. It will be restarted automatically by IIS when needed.
  4. Use the StartsWith() method instead.
  5. Applications don't "run in the IDE" as they do in Visual Basic 6. They may have a debugger attached, as hinted by Tim above, but they are always compiled and run as a full-fledged process.
  6. An application's configuration is inherited from its parent with redefinitions in the application's configuration file (web.config) overriding those inherited from the parent. In your case you should have one login page, with one web.config file and location elements specifying who can access what. <configuration> <location path="Logon.aspx"> <system.web> <authorization> <allow users="?"/> </authorization> </system.web> </location> </configuration>
  7. Reflector Anakrino Resharper NAnt NUnit
  8. He's dealing with MySQL not Microsoft SQL Server, iebidan.
  9. Responding "not me" is of no help iebidan. Please refrain from doing so in the future.
  10. Looks like the first exploit generated from the source code has hit the shelves.
  11. The .NET framework runs just fine under Windows 98 and Windows ME. Of course classes that wrap subsystems only found in Windows NT (Windows NT, Windows 2000, Windows XP) will not be available under Windows 98 or Windows ME. Consult the .NET SDK for each class' compatibility.
  12. Just to expand you'd look for the WM_DEVICECHANGE message and filter for a "wParam" value that equates to DBT_DEVICEARRIVAL. LParam will be a pointer to a PDEV_BROADCAST_VOLUME if the device is of a media type (check for DBT_DEVTYP_VOLUME in the PDEV_BROADCAST_HDR structure).
  13. You can't remove an item while iterating through its collection.
  14. You'd have to detect the initial install using the RMS API provided by the Win32 device subsystem. You can then query the device using [api]DeviceIOControl[/api] to determine its purpose.
  15. There are several PDF converters/readers available online. One of those would be your best bet.
  16. As for your timers you should be keeping a reference to them throughout the lifetime of the application.
  17. If the threads should terminate along with the rest of the application, then set the Thread.IsBackground property as mentioned by Jorge above.
  18. If I said $15-$20 it wouldn't be much of a push towards excellence, now would it? :)
  19. It depends. If the code is running on a machine that has its timezone set to Eastern Standard Time the answer is rather simple, and you need only to call the [msdn]System.TimeZone[/msdn].ToLocalTime() method. If this is not the case, then you will have to perform the conversion manually.
  20. It is against United States copyright law to depict a character's voice without the express written consent of the media outlet, unless otherwise noted in their fair-use guidelines. In the case of Disney, such actions are strictly forbidden, and this thread will have to be closed.
  21. This has nothing to do with ASP.NET and everything to do with Explorer Bars. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/bands.asp
  22. You give me a vanilla install of Microsoft Windows Server 2003, Microsoft SQL Server, and a decent chunk of bandwidth (10 GB+/month) and I'll give you $10. Now that's a deal I'd go for.
  23. The controls in the BCL are fairly complete from my standpoint, although there is room for improvement. Can you give us an example of what you're looking for exactly?
  24. If you save the settings in a class instance you can easily serialize it to file (save and load).
×
×
  • Create New...