Last post Feb 18, 2009 08:44 PM by ldechent
Feb 17, 2009 06:44 PM|Jay123____|LINK
i have visuel web developer 2008 express edition and was wondering:
e_Mail_Form.Body = message.Text
Feb 17, 2009 08:03 PM|ldechent|LINK
Note: Question answerers- the first question about with debug and without debug has not yet been answered...
<div>i use this program at collage and when im done, i zip the folder and bring it home, but where do i copy the folder to on my home vwd so i can resume working on the same project.</div>
You can copy the folder to anywhere, say, your Desktop, and then after you have opened Visual Web Developer, go to File and find Open Web Site and then find the folder, click on it, and then I think it is open.
Note, you are selecting the folder, not some file within the folder (while working with a friend we lost a day of work because he was trying to get to the Default.aspx and I didn't know this).
Try the above and let me know how it goes. I'll take a look at your other questions but I wanted you to get 1 right away.
Feb 17, 2009 08:12 PM|ldechent|LINK
For 3, I'm posting code I've used with a gmail account:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="VB_MailTest.aspx.vb" Inherits="VB_MailTest" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>VB Mail Test</title>
<form id="form1" runat="server">
<asp:TextBox ID="ToTextBox" Width="300px" runat="server" />
<br /><br />
<asp:TextBox ID="SubjectTextBox" Width="500px" runat="server" />
<br /><br />
<asp:TextBox ID="MessageTextBox" runat="server" Width="500px"
Height="100px" TextMode="MultiLine" />
<br /><br />
<asp:Button ID="MailButton" runat="server" Text="Push to send the
Partial Class VB_MailTest
Protected Sub MailButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles MailButton.Click
Dim Mail As New System.Net.Mail.MailMessage()
.From = New Net.Mail.MailAddress("firstname.lastname@example.org")
.Subject = SubjectTextBox.Text
.Body = MessageTextBox.Text
Dim SMTP As New Net.Mail.SmtpClient("smtp.gmail.com")
SMTP.Credentials = New System.Net.NetworkCredential("email@example.com", "password")
SMTP.Port = 587
SMTP.Host = "smtp.gmail.com"
SMTP.EnableSsl = True
SMTP = Nothing
ToTextBox.Text = ""
SubjectTextBox.Text = ""
MessageTextBox.Text = ""
Feb 17, 2009 08:21 PM|ldechent|LINK
(this is not a complete answer but I thought it might help)
http://msdn.microsoft.com/en-us/library/eh212ysy.aspx might provide some insight.
http://msdn.microsoft.com/en-us/beginner/bb308864.aspx might also be useful.
I'll look for a few more.
Feb 18, 2009 02:36 PM|Jay123____|LINK
thanks for your answers, by the way shouldnt the language be vb,
Feb 18, 2009 08:44 PM|ldechent|LINK
I went back and fixed it. I'll give it a try tonight (it's been months since I used it), and will report on how that goes.
(later) I tested it from my laptop and it worked.