Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by hotwu

  1. hotwu

    asp.net system.web.mail question

    ugh, not the answer i wanted, but it is an answer nonetheless. i appreciate your help. joel konecny global110.com
  2. hotwu

    SqlCommand "INSERT INTO" Duplicate Primary Key... Exception Thrown?

    if an error occurs in sql, it will be raised to your application. my advice to you is to let a single stored proc handle the verification, you may find that letting the database handle the error may be less efficient then letting the database verify a good value before hand. i think there are...
  3. hotwu

    SqlCommand "INSERT INTO" Duplicate Primary Key... Exception Thrown?

    i think the best way, and one of the fewest methods used by programmers these days is to let the database handle database activity. pass your information into a stored proc and have the stored proc determine whether it is a viable option or not... have the stored proc return a value to your...
  4. hotwu

    Question on SMTP mail.

    this is just a guess, but perhaps your local computer has already registered default smtp servers to use with current e-mail applications. the .net framework may be able to detect these currently installed smtp services... or perhaps it is detecting ms smtp service running on your computer (if...
  5. hotwu

    Question on SMTP mail.

    you can specify your smtp server using the smtp class property (before you send the mail obviously): System.Web.Mail.SmtpMail.SmtpServer = "smtp.yourserver.com" you should specify the server you are using before you send mail. i do not know how it would automatically resolve your...
  6. hotwu

    How to deploy .Net Application.

    hmmm, that is definitely a security issue... you should be able to do this as well: http://localhost:1234/intranet/intramain.aspx localhost should not prompt you for authentication ~ what operating system are you using? joel konecny global110.com
  7. hotwu

    How to deploy .Net Application.

    if you do change your port# and you are behind a firewall, remember to allow the new port access. joel konecny global110.com
  8. hotwu

    How to deploy .Net Application.

    a lot of times if you are hosting your webserver on a broadband connection, these isps will block you from hosting on the regular port 80. you can get around this a lot of times by changing the port number of your web server to something else (1234 for example) and then passing your link around...
  9. hotwu

    asp.net system.web.mail question

    i am attempting to send an e-mail using .net, but the mail server i am sending through requires server authentication. this is a problem as i do not see a way to authenticate using my username / password. any help would be appreciated. joel konecny global110.com
  10. hotwu

    Tips on creating client/server application

    i think for an internal project i would also utilize remoting. i have had discussions with various developers concerning web services on the same topic. is it a web services job to send notifications to the client concerning updates (if necessary) or should the service remain passive. i think in...
  11. hotwu

    why use interfaces?

    however, last post ;), i do believe that interfaces are not required to perform polymorphism. you could perform polymorphism from class inheritance if the class allows.
  12. hotwu

    why use interfaces?

    hmmm, as i was reading my own reply i began to realize that a method defined by an interface acts the same way as a ovverridable method of a class, except you really do not have an option to override or not. this is, from my understand, exactly what polymorphism is.
  13. hotwu

    why use interfaces?

    as i understand it an interface is not an object, it is a contract. i can see how different objects can be created utilizing the same interface, but i do not see how polymorphism applies to this. isn't polymorphism an instance where a class is derived from a base class and then overrides...

Part and Inventory Search

Back
Top