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 lookingconfused

  1. lookingconfused

    Help learning vb.net 2003

    I have a program that will browse out to get a file and then save the file somewhere else. How do I use SaveFileDialog1 and FolderBrowserDialog1? I really need a book that is for beginners, got any ideas?
  2. lookingconfused

    Crystal Report 9 - Set to null value checkbox

    I have created a report using a stored procedure. When the report is ran, the Enter parameter screen has a "Set to null value" checkbox. How do I prevent this checkbox for showing. Other reports I created not using a stored procedure do not have that "Set to null value" checkbox on the Enter...
  3. lookingconfused

    sending e-mails with or without attachments using aspx

    I found my problem. code causing problem: myAttachment = new mailattachment(Server.MapPath (attachname.Request.Path)) Removed the .request.path myAttachment = new mailattachment(Server.MapPath (attachname)) I can now send an email with or without attachments.
  4. lookingconfused

    sending e-mails with or without attachments using aspx

    I forgot to add this : Compiler Error Message: BC30456: 'Request' is not a member of 'String'.
  5. lookingconfused

    sending e-mails with or without attachments using aspx

    The code fails on: myAttachment = new mailattachment(Server.MapPath (attachname.Request.Path)) ex.message = "Unable to send e-mail message."
  6. lookingconfused

    sending e-mails with or without attachments using aspx

    Yes. I moved the code into the try and now I just get the "Unable to send e-mail" message. Try 'storing attachment name attachname = txtFile.PostedFile.FileName 'getting the file name and storing it in the server ' path and then attaching it to the 'mail. If...
  7. lookingconfused

    sending e-mails with or without attachments using aspx

    Not sure what you mean by posted the file yet. When I click on the browse button it gets the file from my c drive.
  8. lookingconfused

    sending e-mails with or without attachments using aspx

    Getting an error "Invalid mail attachment" when I modified the code below: <%@ import Namespace="System.Web.Mail" %> <%@ import Namespace="System.IO" %> Sub buttonSend_Click(sender As Object, e As EventArgs) SmtpMail.SmtpServer="server name goes here" Dim emailMessage As MailMessage...
  9. lookingconfused

    sending e-mails with or without attachments using aspx

    Below is the code used to allow users to send e-mails. Now I need to modifiy the code to allow users the ability to send emails with or without attachments. How do I do this? <%@ import Namespace="System.Web.Mail" %> <script runat="server"> Sub buttonSend_Click(sender As Object, e As...
  10. lookingconfused

    Sending email with attachments using aspx

    I have a form that works sending e-mails in aspx. I need to also give the user the ability to send attachments. The user wants the email to get delivered with or without attachments. Got any ideas? Here is the code I need to modify: <%@ import Namespace="System.Web.Mail" %> <script...

Part and Inventory Search

Back
Top