Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. Require the client to generate a file checksum, which upon verification on the server, the file is deleted.
  2. As far as I know, RSA Ace exposes a C API. It should be a simple matter of using platform invoke (p/invoke for short) from .NET to call the necessary functions. Your best bet would be to create an authentication library which wraps the API and which can be called from the application itself.
  3. What exactly didn't work? Was an exception thrown? Did the lights not behave "correctly"?
  4. They went from drag-and-drop Visual Basic 6 forms to drag-and-drop Windows Forms. What in all God's creation is so difficult about that?
  5. You guys have absolutely no creativity. HUSKY Easy Air To Go 1.75 Gal, 135 PSI Mobile Compressor With Deflation Kit PentiumGuy: Remove the processor/heatsink, clean the areas where the processor and heatsink meet, drop a small bead of Artic Silver Heatsink Compound on the top of the processor, spread it around evenly but not to the edge and then replace the processor/heatsink. Also, fans are useless if not configured correctly. Make sure there's a flow from one side of the case to the other (usually front to back). Keep the fans relatively in line, and ensure that the processor/heatsink has one or more fans dedicated to it. This usually creates a computer that sounds like a 747, but mine has been running at 40-degrees Celcius for close to a year now with these simple steps. If the sound is a problem, jam the damn thing in the closet and get a KVM extender. That's my feeling on the matter.
  6. Using PayPal as a payment processor is a trivial task. It's possible to have it up and running in under ten minutes. Realistically, adding in PayPal payment processing should take no more than one or two hours.
  7. If we were to create a new forum for it, it would most likely be called "Recycle Bin".
  8. Assuming that by "local IP" you mean the IP address assigned to the computer by NAT or the one specified manually in the TCP/IP configuration dialog, and by "static IP" you mean the IP address of the gateway (router), you can't retrieve the "static IP" without issuing a network request, nor should you have to. Most routers allow for port forwarding, which will easily deal with issues such as this.
  9. ProcessRequest is passed the HttpContext object for the current request. This is the same as using System.Web.HttpContext.Current. Pages also expose the context through the Context property. All three of these are the same exact object instance.
  10. You just need to create a ".manifest" file. http://www.codeproject.com/csharp/XPStyleUI.asp
  11. Yes. You configure the ACLs from the "Security" tab in the "Properties" dialog.
  12. SET NOEXEC ON (Courtesy of Garrett Sever)
  13. The solution kahlua001 mentioned is indeed the best method in most situations.
  14. You don't "pass" credentials to the CreateFile() or Write() methods. The credentials used will be the ones under which the thread is running. If you need for the code to access the files and directories in a specific path, you will need to configure file system ACLs to allow the user account under which the process (or thread) is running to access them. In most cases this involves adding the user account you're using, or adding the "ASPNET" account for Windows XP or Windows 2000 or the "Network Service" account for Windows Server 2003 to allow ASP.NET applications to access the files/directories.
  15. Search for the term "remote scripting" or "script callbacks" on your favorite search engine. I could describe it here, but there are plenty of decent articles written about it that probably do a better job describing it than I would.
  16. No, not by any practical means. Why would you need to do this?
  17. I almost attempted this once, but then I realized there are a million better things to be doing. ;)
  18. While I know little about the ActiveX WebBrowser control due to lack of ever using it, I'll pose this question nonetheless: have you already configured the parent window to use the Windows XP visual styles?
  19. The .NET Compact Framework, is for the most part, a subset of the .NET Framework itself. Most of the discussions that can be generated about it can easily fit in one of the pre-existing forums. If you can think of several examples that counter this argument, we might reconsider (although I find the likeliness of that happening rather slim).
  20. No. The offset of the time zone is the difference. Daylight saving time is an additional calculation that needs to be made.
  21. You'll need to add a function to the application's presentation tier (or equivalent) which is handed a date/time and a user's locale, and returns the adjusted date/time. Your application will need to store two (2) pieces of information for this to work: the time zone offset (runs from around -11 to +14 hours) and whether or not the user wishes to enable daylight saving time (DST). For most cases it is sufficient to only implement DST for the North American time zones.
  22. If you're using ASP.NET to manage user roles, you'll need to look at using the "location" configuration setting. Configuration <location> Settings
  23. You'd have to modify the stored procedure with conditional statements. There's no direct way to filter a query result set.
  24. I ran into the problem after one of my deployed applications began to "mysteriously" have UI problems. The ComboBox on the main window of the application was visible and the drop down still worked, but none of the text was being drawn on the items. I asked the network administrator what had recently changed, and McAfee VirusScan 8.0 was determined to be the problem.
  25. Are you running McAfee VirusScan 8.0 by any chance? The new buffer overflow "protection" they added to it interferes with .NET applications.
×
×
  • Create New...