|
Hi Friends,
i know send mail option in vb.nat as well as c#.net.
But i dont no in vb 6.0. If anything possiblle to send mail in vb6.0.
Plz give solution for me.
|
|
|
|
|
Why not do it in VB.NET or C# and make the resulting project a COM visible DLL. Then you could use that in the VB6 project.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
we already done project in vb6.0...
so we have to sent mail in this vb application itself.
this is problem for us...
i searched lot of things..
please give me the solution..
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
As I said, write the email component in VB.NET and when you compile it, make it COM visible. You can then use reference the resulting DLL in your VB6 project.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
sorry,
i am new in vb.net..
please send briefly soon as possible..
thanks
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
Then they'd have to make sure that .Net was installed on the users' machines. Maybe they don't want that kind of baggage.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Sending[^] email using MAPI components.
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
USE MAPI controls
Public Function send_mail(sendto As String, subject As String, _
text As String) As Boolean
'Add The MAPI Components and
'add a MAPI Session and MAPI mail control to your form
On Error GoTo ErrHandler
With MAPSession1
.DownLoadMail = False
.LogonUI = True
.SignOn
.NewSession = True
MAPIMessages1.SessionID = .SessionID
End With
With MAPIMessages1
.Compose
.RecipAddress = sendto
.AddressResolveUI = True
.ResolveName
.MsgSubject = subject
.MsgNoteText = text
.AttachmentPathName = "C:\email.rtf"
.Send False
End With
sendmail = True
Exit Function
ErrHandler:
MsgBox err.Description
End Function
Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
hi,
this code is not working....
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
what is the problem
Best Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
nothing showing...
but not yet receive any mails..
tats problem...
Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
Mail To : foreverkans@gmail.com
|
|
|
|
|
google cdonts.dll
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
m2kannan wrote: i know send mail option in vb.nat as well as c#.net.
Good, then you can use that instead of VB6 - write a simple console application with your C# or VB.NET to send the email, and call that console-application from VB6.
m2kannan wrote: If anything possiblle to send mail in vb6.0.
Mail is sent using an SMTP-server. There are various examples on the 'net on sending mail using a Google-account
m2kannan wrote: Plz give solution for me.
Use a CDO.Configuration and a CDO.Message .
I are Troll
|
|
|
|
|
Okay, I have added a menustrip to a program, and when you rune the program and use the menu strip, the "onmousedown", "onmouseover" or what not, of the items have different colors than I want them too, how would I change the colors for when you scroll over a menu item, and for once you click the menu item...
Right now it's like this.... [File][Edit] ... Background Color = Black, Foreground Color = Red.
When you scroll over one, the Background Color = "LightBlueish", Foreground Color = "Reddish", with a 1px "Blueish" border.
When you click on one, the Background Color = White, Foreground Color = "Reddish".
After you have clicked on one, then scroll over the other options, the Background Colors = "LightBlueish", Foreground Colors = "Reddish", with 1px "Blueish" borders.
What I'm getting at is how to get it for when you scroll over them or click them the Background Color = "Red", Foreground Color = "Black". Thanks.
|
|
|
|
|
|
Well, that didn't really work. Hopefully this can help, I need to know where this should go...
public class MyRenderer : ToolStripProfessionalRenderer
{
protected override void OnRenderMenuItemBackground(ToolStripItemRenderEventArgs e)
{
if (!e.Item.Selected)
{
base.OnRenderMenuItemBackground(e);
e.Item.BackColor = Color.Black;
}
else
{
Rectangle rc = new Rectangle(Point.Empty, e.Item.Size);
e.Graphics.FillRectangle(Brushes.Red, rc);
e.Graphics.DrawRectangle(Pens.Black, 1, 0, rc.Width - 2, rc.Height - 1);
e.Item.BackColor = Color.Red;
}
}
protected override void OnRenderItemText(ToolStripItemTextRenderEventArgs e)
{
base.OnRenderItemText(e);
if (!e.Item.Selected)
{
e.Item.ForeColor = Color.Red;
}
else
{
e.Item.ForeColor = Color.Black;
}
}
}
public class MenuStripAllowsCustomHighlight : MenuStrip
{
public MenuStripAllowsCustomHighlight()
{
this.Renderer = new MyRenderer();
}
}
Where should that go, I believe it will be what I need to complete what I want. Here is what I already have... Well, I will post the "Edit" menu...
Public Class Form1
Private Sub CutToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CutToolStripMenuItem.Click
TextBox1.Cut()
End Sub
Private Sub CopyToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CopyToolStripMenuItem.Click
TextBox1.Copy()
End Sub
Private Sub PasteToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PasteToolStripMenuItem.Click
TextBox1.Paste()
End Sub
Private Sub SelectAllToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SelectAllToolStripMenuItem.Click
TextBox1.SelectAll()
End Sub
End Class
Thanks.
|
|
|
|
|
|
If you actually read the entire thread I posted, you will find your answer. You will not change the "hover" or highlight color by changing either the Forecolor or the Backcolor properties. Forecolor typically affects font color of a control and backcolor will change the fill color when not hightlighted. BTW, voting 1 for a post that was a legitimate effort to help is very rude.
|
|
|
|
|
Well sorry, I also stated that I couldn't figure out how to use your suggestion to my advangtage, so that is why I did what I did... Sorry, I didn't realize you would take offense for such a small thing... But thanks.
|
|
|
|
|
want to sell my softwares online what steps should i take, will standard edition licence work plzz help
|
|
|
|
|
Boost2010 wrote: want to sell my softwares online what steps should i take
Contact your local Chamber of Commerce, build a nice site that's fast and interesting, write some good software, research various online payment-methods, and check out the competition.
Boost2010 wrote: will standard edition licence work plzz help
For what application? If you're referring to your own application, then yes, a standard edition license would be fine. My second guess would be that you're referring to the license of SQL Server, or another 3d-party product.
In the case of SQL Server, yes, you need a license. Unless you're using SQL Express, which is free.
For any other third party library/application/control you'd need to check the license. You can paste the productname in a post here if you're unsure
I are Troll
|
|
|
|
|
Hello To All,
My Application Accessing Registry and Write. So Antivirus is treat it Like a Spyware. So please Give me the solution for using it.
Thanks
Anubhava Dimri
If you can think then I Can.
|
|
|
|
|
Not much you can do with code. Disable your antivirus.
If you are writing code for a client, make sure they are made aware about this.
There are only 10 types of people in this world — those who understand binary, and those who don't. |
|
|
|
|
|
Thanks for relying Abhinav,
My application working fine but in the Client Machine where Antivirus is installed my application shows like a virus and Application will be block working or delete.
If you can think then I Can.
|
|
|
|
|
It's up to the antivirus software, but it may depend on where in the Registry you're writing to. So, where are you writing data in the Regsitry?
|
|
|
|