Here is how to add an Bcc and a CC address:
MailMsg.Bcc.Add(New MailAddress("someone@someplace.com"))
MailMsg.cc.Add(New MailAddress("someone@someplace.com"))
Lennieboy -
Life is Good and God is Good
B-)
Here is the sample I found elsewhere:
Public Sub SendEmailMessage(ByVal strFrom As String, ByVal strTo _
As String, ByVal strSubject _
As String, ByVal strMessage _
As String, ByVal file As String)
'This procedure overrides the first procedure and accepts a single...
Hi Andy
I looked for proper decent WORKING code samples and found this one.
it is easy to work with and do small modifications from here...
I had to add the From and To in:
Dim MailMsg As New MailMessage(New MailAddress("myname@myplace.com"), New MailAddress(yourname@yourplace.com))
Len...
It seems that some of the previous samples are now outdated and the System.web.mail class is now obsolete.
I will try to make is simple and easy to use:
I created this class: You can copy and paste it into a new class "Emailer"
Imports System.net.Mail
Public Class Emailer
Public Sub...
The above sample is only in C# and C++
Is there any VB.Net code I could perhapse look at?
I did try to use the System.web.mail class but that now seems to be Obsolete....
This seems more and more complex to do with every new version of VB.net
Lennieboy -
Life is Good and God is Good
B-)
Yes, but how do you count them in VB.Net?
I need to be able to click a button on a screen and get a number appear in a Label....
I cannot physically go and count them every 10mins....
Thanks
Lennieboy -
Life is Good and God is Good
B-)
Ahhh Nick!!!
You are the MAN!!!
LOL
I should have thought of this too!! I know we definitely will not pay SAS for the Console, but I can look at the Temp Drive and count those folders.
Thank you clever man!!
Len
B-)
Lennieboy -
Life is Good and God is Good
B-)
Hi all.
I need to keep track of the number of sessions currently running on our SAS server (NT box with SAS8.2)
Is there a way to do this? I need to get this info into a VB.Net screen.
I know this will require a bit of magic. Users complain their SAS sessions just disappear without warning...
I am trying to find the logic in this here....
I now opened the form. It is live and loaded and working. It is running and I am filling the data in the form. It is live. How can I do all of this after I set the form to nothing? I have events that trigger in the background that actually need...
I see some people doing this and I cannot figure why:
The intention is to open another form on a certain button's Click Event.
Public Sub SomeEvent()
Dim frm1 as New Form1
frm1.Show()
frm1 = nothing
End Sub
Why do they set the Instance of the Form to Nothing when they have...
It seems that the website is up now...
A friend just checked it and confirmed that it was open and up and running.
Thanks guys.
Len
Lennieboy -
Life is Good and God is Good
B-)
This is what I understand as well, but for some bizarre reason it is not happening...
I try to view the website and I cannot see it on the www.
What else could be wrong then? I am very confused about this problem, since I am doing everything I know I should be doing....
Len
Lennieboy -
Life...
Hi Serbtastic
Thanks for checking it for me, but this is the bit where I get lost. I have no idea how to do it.
I am not a Network admin and do not know where and how to set the configuration for the DNS records.
I paid for a domain name with Lycos and had a look at the Zone Manager there. I...
OK - I ran NSLookup and it responded with an IP address, but the IP address it reponded with is not the one one currently assigned to the website IIS 6 server.
What am I suppose to see as the response?
Lennieboy -
Life is Good and God is Good
B-)
The site name is www.godsfriends.co.uk
I was able to ping the site using the IP address currently set for it. How do I run an NSLookup?
Thanks
Len
Lennieboy -
Life is Good and God is Good
B-)
Hi Gurus
I am running a Win2003 server holding an IIS6 website. I do not have a static IP address, so I am using NO-IP+ paid service together with their DUC client to host my website.
I can see the site from behind my router. the NAT services are setup to allow Port Fwd and the IIS setup is in...
Thanks jebenson!
I appreciate this.
I also worked on it this weekend and came up with a very good solution using the g.graphicpath function. It produces a neat smooth line and fits perfectly into the picturebox. I will post the solution here soon so all can benefit from it.
Kind regards...
Hi Gurus.
I need to draw a graph of a sine wave in a picturebox demonstrating how its frequence changes. I have searched everywhere for samplecode and found nothing. This will obviously use the math.sine() functionality somewhere I suppose.
There are a few VB6 and ASP examples, but they are...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.