| View previous topic :: View next topic |
| Author |
Message |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Thu Dec 13, 2007 12:02 pm Post subject: Sending messages in vb6.............. |
|
|
Again as usual i need help.
If i click the button it will send me saying that he liked the trainer.
How do i do that????
Can anyone help me???
I am using Vb6
PLS PLS NEED HELP INSIDE 10 MINUTES TO COMPLETE THE TRAINER!
Thnx
Last edited by raushan2007 on Thu Dec 13, 2007 1:45 pm; edited 2 times in total |
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Thu Dec 13, 2007 12:37 pm Post subject: |
|
|
Make a link, this as the URL.
Depending on what code your using you will probably need to put something between .com and subject:
|
|
| Back to top |
|
 |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Thu Dec 13, 2007 12:41 pm Post subject: |
|
|
It doesn't work and i want it to just send a message not opening up something!
I use vb6
|
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Thu Dec 13, 2007 12:46 pm Post subject: |
|
|
You can replace the CC and BCC or delete them.
I also included a preset subject and message, feel free to change it around.
Edit:
Oh, well I have no idea how to send an email unless it opens their client.
|
|
| Back to top |
|
 |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Thu Dec 13, 2007 12:48 pm Post subject: |
|
|
| Power Napkin! wrote: |
You can replace the CC and BCC or delete them.
I also included a preset subject and message, feel free to change it around.
Edit:
Oh, well I have no idea how to send an email unless it opens their client. |
Can i tell u one more thing? I am using vb6 and it shows syntax error.
So pls think
|
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Thu Dec 13, 2007 2:47 pm Post subject: |
|
|
Instead of doing that, you could redirect it to sending it into a file on the web, and you could view it there
_________________
|
|
| Back to top |
|
 |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Thu Dec 13, 2007 2:52 pm Post subject: |
|
|
i don't get it
can u make it for me and upload it pls?
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Thu Dec 13, 2007 3:45 pm Post subject: |
|
|
You will need to use ShellExecute to have the computer language the default email program. (If one is set.)
An example:
| Code: | Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Command1_Click()
ShellExecute Me.hwnd, vbNullString, "mailto:" & "YOUR EMAIL HERE", vbNullString, vbNullString, vbNormalFocus
End Sub |
Also, look at this page for more syntax information on MailTo:
http://www.ianr.unl.edu/internet/mailto.html
_________________
- Retired. |
|
| Back to top |
|
 |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Fri Dec 14, 2007 7:44 am Post subject: |
|
|
| Wiccaan wrote: | You will need to use ShellExecute to have the computer language the default email program. (If one is set.)
An example:
| Code: | Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Command1_Click()
ShellExecute Me.hwnd, vbNullString, "mailto:" & "YOUR EMAIL HERE", vbNullString, vbNullString, vbNormalFocus
End Sub |
Also, look at this page for more syntax information on MailTo:
http://www.ianr.unl.edu/internet/mailto.html |
Thnx but are u sure there is no way to send it directly? Cause in the trainer which Brt31ny made there was something saying" Tell the owner that u like or din't like the trainer"
Thnx anyways
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
raushan2007 Expert Cheater
Reputation: 0
Joined: 06 Nov 2007 Posts: 130
|
Posted: Fri Dec 14, 2007 1:31 pm Post subject: |
|
|
Whats the use of opening a box where they have to fil in?
Anyways thnx
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Dec 14, 2007 7:03 pm Post subject: |
|
|
| raushan2007 wrote: |
Whats the use of opening a box where they have to fil in?
Anyways thnx |
Those examples show you how to make things user adjustable. You can hard code the strings into the program. If you didn't know that you should probably read up more on the language before doing more advanced things.
_________________
- Retired. |
|
| Back to top |
|
 |
|