Search results for query: *

  • Users: enak
  • Order by date
  1. E

    Reading merged cells in excel 2003 and 2007

    I have a spreadsheet that I need to read a value from that is in merged cells AA1 to AC2. When I try to do this with the following code I get Nothing. Dim oSheet As Excel._Worksheet Dim oBook As Excel.Workbook oXL = New Excel.Application()...
  2. E

    Avoiding duplicate entries in SQL database

    Duh! Thanks for the help. Sometimes you can't see the trees for the forrest.
  3. E

    Avoiding duplicate entries in SQL database

    It is not a multithreaded app. It is a web based app that runs internally.
  4. E

    Avoiding duplicate entries in SQL database

    I have an application, written in vb.net 2005, that allows the user to enter data into a table (MS SQL Server 2000). There are multiple users so I put in some code in the frontend that, I thought, would keep 2 users from creating a new record at the same time. The IDs for the records are...
  5. E

    Problems accessing remote SMTP server

    So, why can't I log into the remote smtp server? The .Net.Mail is not working. None of the code samples that I have looked at work for me either.
  6. E

    Problems accessing remote SMTP server

    Another item that just came up is that the System.Web.Mail is obsolete. If this is so then why can I not do this with System.Net.Mail?
  7. E

    Problems accessing remote SMTP server

    Yes, I can send email through the same server using outlook or the web app that I created.
  8. E

    Problems accessing remote SMTP server

    from what I can see those links are referring to asp.net code. I already have that working. I need help with the winforms code. Thanks for the reply, though.
  9. E

    Problems accessing remote SMTP server

    I set the port to 25 and nothing changed. Any other ideas? I will try anything at this point. I have another project that is asp.net that I can send email through the remote smtp server. I don't understand why I can not do it through the winforms application. Here is the asp.net code...
  10. E

    Problems accessing remote SMTP server

    I am sorry. I formatted it twice but the result was the same. I don't know why it came out like that. All I did was cut and paste.
  11. E

    Problems accessing remote SMTP server

    I need to be able to send email via a remote SMTP server. I am having trouble connecting to the server.Here is my code: Public Sub SendEmailMessage() Dim dr As SqlClient.SqlDataReader Dim smtpCredentials As New Net.NetworkCredential("myusername", "password") 'For each to address create a...
Back
Top