Jump to content
Xtreme .Net Talk

Derek Stone

*Gurus*
  • Posts

    1910
  • Joined

  • Last visited

Everything posted by Derek Stone

  1. The shortcut is installed when IIS is. Try running this (Start -> Run): %SystemRoot%\System32\Inetsrv\iis.msc
  2. Use Server.Transfer(). I don't believe the client will be sent anything other than headers using Response.Redirect() if ASP.NET buffering is enabled, but to be on the safe side use Server.Transfer(), which stops execution of the page altogether. I'll do some tests to see if data is sent when Response.Redirect() is used.[edit]The more that I think about it, Response.Redirect() should be sending a 304 response code. 304's redirect the browser to a different page. Say for instance if the page location has changed.[/edit]
  3. Please post socket questions in the Network forum. Thank you.
  4. Use the LoadFrom method of the System.Reflection.Assembly class. With this you can download the class library that contains your main application logic. The whole process is amazingly simple, and gives a hint to what the next generation of web browsing should be like.
  5. The TextBox class has a TextChanged event. Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged If TextBox1.Text.Length > 0 Then 'Enable controls End If End Sub
  6. So what exactly do you need help with? Checking the database to see if a field has characters in it, or checking the TextBox to see if it has characters in it?
  7. It's about time you dump Visual Basic .NET's compatibility namespace. Learn how to rid yourself of the dependency and speed up your file I/O in the process. http://www.elitevb.com/content/01,0072,01/01.aspx
  8. Visual Basic .NET Standard Edition doesn't come with very many project types, so I decided to add a few more using the VS.NET project scripting system. The .zip file below explains how to install the necessary files. They'll add "Class Library" and "Windows Control Library" to your list of available project types. Note: Files will need to be modified for non-English (1033) installations. newprojects.zip
  9. I created this example to spark curiosity among our forum browsers. This example was created using Notepad and the .NET SDK, both free. Microsoft's .NET is going to be a large part of software industry soon, and it's always good to get a headstart. Hopefully this will help some people out. The .NET SDK can be found here: http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml helloworld.zip
  10. This example displays the ICMP statistics, which are retrieved using the IP Helper API functions. This code is for VB.NET, however a similar, if not almost identical example for VB6 can be found here: [api]GetIcmpStatistics[/api].icmpstatistics.zip
  11. Try to avoid the Standard editions at all costs, however if you simply can't afford the more expensive editions and still want to create Class Libraries (DLLs) and User Controls take a look in the Code Library. I posted a zip archive that overcomes that boundary.
  12. The point is you can't do this with the current technologies. In .NET you can create a stub-application that loads the rest of itself from a network location, however you still need the user to launch the stub executable. That's the closest you're going to get.
  13. I don't believe onClick (and all events for that matter) excepts anything other than the sub's name, nor do you need it to, since you already know what panel you're going to hide.
  14. You'd have to have the user download and execute it.
  15. In the future try not to use FileOpen. Read more here.
  16. sSQL = "INSERT INTO myTable (FROM_NAME) VALUES('" & txtFromName.Text & "');"
  17. I think the System.Net namespace would actually provide you with an easier implementation. All you have to do is establish a connection using the Sockets class and send a simple "play" message. If you need help using this namespace please post here.
  18. The privacy policy needs to be updated to reference this site.
  19. Yeah. If it's not too much trouble. Granted, this can of course be put on the back burner. Nothing that important.
  20. I don't see any "What's This?" help button installed anywhere in the main application windows of the Microsoft Office applications. As I said, you need to place this feature in the Help menu, as Office has done. So I'm either blind, choosing not to see them or correct.
  21. I believe you can also use the ALL keyword if you're looking to select data from every table. Of course this doesn't return table names, and may not be what you're looking for.
  22. Have you thought about using scrollbars or splitting up the form into different tabs? Or is that not feasible for your project?
  23. Dialogs often require "What's This?" help since their numerous options can be confusing to a user. Main application windows should look clean and option free for the most part. In other words the user shouldn't have to hit a button to figure out what something does. If they need to they obviously haven't used Windows for that long, and simply haven't gotten used to the common interface elements.
  24. Try to open it using FileStream in a Try/Catch error block. If an exception is thrown you know the file is open (or non-existant).
  25. "What's This?" help is meant for dialogs, which shouldn't have minimize or maximize buttons. Your main application window shouldn't require "What's This?" help. Instead a "Help > Contents" menu should be available to the user.
×
×
  • Create New...