Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. You or your host has FrontPage extensions turned on. Turn them off and then delete all folders prefixed with "_vti_".
  2. Try passing the previous page the user viewed to the current page via it's query string or through a post back. Reimplementing a back button otherwise is simply poor practice.
  3. C# programmers earn more than VB.NET programmers. The reasons why are clear, but rather uneducated in many cases and very frustrating to those programmers who write excellently in VB.NET.
  4. Use [msdn=System.Web.HttpRequest]Request.ApplicationPath[/msdn] or [msdn=System.Web.HttpRequest]Request.PhysicalApplicationPath[/msdn].
  5. No. You'll need to either copy the control to the other site or reconfigure the second Web application to use a custom assembly probing path if both applications reside on the same server.
  6. Interchangeable data providers are often interfaced through a singleton implementation. This is one of the more common examples.
  7. Dim o As Object = cmd.ExecuteScalar() If Not o Is Nothing Then 'A value was returned Else 'No value was returned End If
  8. HttpContext.Current.Request
  9. Perhaps the correct edition should have made it into your hands the first go around? :)
  10. MSDE is the desktop version of SQL Server. It was built for applications like yours and is very easy to install alongside your software. You should look into using it over the other options you've outlined. If it turns out for some reason you can't or won't use MSDE I'd stick with Microsoft Access, since XML and text files just aren't scaleable.
  11. Does it really matter if the primary key value "goes to waste"? That's the question that needs to be asked. It's nice to see neatly incremented values, but in the real world things don't work that way. You should consider Robby's circumvention statement, above.
  12. No, you'll have to get the host to do it. If you could change the permissions yourself that wouldn't be very good security, now would it? :)
  13. Maybe its a classic case of you being uneducated... You can compile unmanaged applications (applications that don't utilize .NET) using C++ in Visual Studio .NET (those editions that support it).
  14. CurrentPrincipal is defined as IPrincipal, not GenericPrincipal as stated above. It can easily accept any class that implements IPrincipal.
  15. And in all seriousness the Google toolbar can be an excellent addition to Internet Explorer. I urge you to try it out.
  16. Do me a favor and try Mozilla and Opera for a week or more a piece. If you come out of it still liking Internet Explorer then more power to you. I'm not here to tell you which browser to use because that decision is up to you. However, I really don't appreciate people who come into a religious debate without a clue as to what they're fighting about. I've done it in the past, but I refuse to ever do it again. It's time people get educated.
  17. You should use SQL Server or MSDE (free), not Access, XML or a text file.
  18. Not to be argumentative, but am I the only one who fails to see the use of the Google toolbar? Mozilla and Opera already... ooo... that's right. I forgot about Internet Explorer users...
  19. My work includes upgrades to my company's accounting system, an upcoming government contract, The WhiteCrow Project, and of course EliteVB (yes, we do update it occasionally).
  20. The SelectedValue property was introduced in version 1.1 of the .NET Framework. Your servers are using two different versions.
  21. When the page is posted back to the server read the property of the DropDownList and use that to set the property of the secondary (DataGrid) control. If Page.IsPostBack Then Control2.Customer = DropDownList1.SelectedItem.Text End If
  22. Interprocess communications are widely done using sockets, and that's most likely your best bet. I'd also use a [msdn=System.Threading.Mutex]mutex[/msdn] for the detection of the receiving application. That'll save you a bit of code.
  23. The TextBox class has Multiline and AcceptsReturn properties. AcceptsReturn doesn't magically disappear when Multiline is set to false. I could go on with further examples. You have the option of ignoring properties, which is one thing, but hiding or disabling them is an entirely different practice which no one should partake in. Designer or no designer.
  24. x.ControlToValidate = "txtCompAddrs"
  25. You'll need to define a property that can get/set the value(s).
×
×
  • Create New...