|
-
Sep 16th, 2002, 12:25 PM
#1
Thread Starter
New Member
Email question
Hello! Does anyone have a tutorial anywhere that shows how to send/get email using VB.NET (I had this in vb 6, but upon upgrading to .net it stopped working). Uuencode and decode is a must unfortuneately!
-
Sep 16th, 2002, 06:42 PM
#2
Hyperactive Member
The base class and namespace you need to zero in on is
System.Net
System.Web.Mail
If you think its easy to code with SMTP and CDO on VB6, this will definitely be a breeze !!!
William T
Software Architect / Chief Software Developer
Softwaremaker.Net Pte Ltd
http://www.Softwaremaker.net
*** Things are always the darkest before they go pitch black ***
-
Sep 18th, 2002, 11:27 PM
#3
Thread Starter
New Member
Hey! Yeah, I finally discovered the system.web.mail thing, but didn't know about the other one until now. Thing is, if I try the one I just said, it works sometimes and sometimes it doesn't.
Sometimes I get an error saying that there is no such thing as system.web
If I go to the components thing, and go to the vb.net section, I see a lot of stuff that says
system.web.something here
so it makes me think that system.web is indeed there, but for some reason I just can't use it!
-
Sep 19th, 2002, 12:07 AM
#4
Hyperactive Member
Hi,
I am not sure i know exactly what your problem is BUT if you cant import the System.Web namespace...it maybe because you dont have a reference pointing to the System.Web.DLL
Add a reference to your project, and point it to System.Web.DLL in the .NET Framework folder
William T
Software Architect / Chief Software Developer
Softwaremaker.Net Pte Ltd
http://www.Softwaremaker.net
*** Things are always the darkest before they go pitch black ***
-
Sep 19th, 2002, 10:25 PM
#5
Thread Starter
New Member
Add a reference??
Sorry! But I'm lost now! VB.NET seems so much different than VB6
-
Sep 20th, 2002, 12:33 AM
#6
Hyperactive Member
yes, VB.NET is much more different and better than vb6
Open up the project with VS.NET and under project. Click add reference, under the .NET Tab, select System.WEB.DLL add it to the project references.
In the sense, its not much different from VB6. VS.NET adds .NET assemblies while VB6 adds COM components.
William T
Software Architect / Chief Software Developer
Softwaremaker.Net Pte Ltd
http://www.Softwaremaker.net
*** Things are always the darkest before they go pitch black ***
-
Sep 20th, 2002, 03:55 PM
#7
Thread Starter
New Member
AHHH SOOOOOOOOOOOO! Also.. AHA!!!!
That indeed does work for me. Thank you very much!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|