Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Sending messages in vb6..............

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
raushan2007
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 130

PostPosted: Thu Dec 13, 2007 12:02 pm    Post subject: Sending messages in vb6.............. Reply with quote

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
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Thu Dec 13, 2007 12:37 pm    Post subject: Reply with quote

Make a link, this as the URL.

Code:
mailto:[email protected] subject:I_Like_Your_Trainer

Depending on what code your using you will probably need to put something between .com and subject:
Back to top
View user's profile Send private message
raushan2007
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 130

PostPosted: Thu Dec 13, 2007 12:41 pm    Post subject: Reply with quote

It doesn't work and i want it to just send a message not opening up something!
I use vb6
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Thu Dec 13, 2007 12:46 pm    Post subject: Reply with quote

Code:
mailto:[email protected][email protected]
&[email protected]&Subject=I%2C%20Like%20Your%20Trainer
%21&Body=Hi%0DI%20Like%20Your%20Trainer%20Very%20Much!

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
View user's profile Send private message
raushan2007
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 130

PostPosted: Thu Dec 13, 2007 12:48 pm    Post subject: Reply with quote

Power Napkin! wrote:
Code:
mailto:[email protected][email protected]
&[email protected]&Subject=I%2C%20Like%20Your%20Trainer
%21&Body=Hi%0DI%20Like%20Your%20Trainer%20Very%20Much!

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
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Thu Dec 13, 2007 2:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
raushan2007
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 130

PostPosted: Thu Dec 13, 2007 2:52 pm    Post subject: Reply with quote

i don't get it
can u make it for me and upload it pls?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Dec 13, 2007 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
raushan2007
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 130

PostPosted: Fri Dec 14, 2007 7:44 am    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Dec 14, 2007 12:01 pm    Post subject: Reply with quote

You can, but you will need to connect to an SMTP server that will allow your connection. Which most either have limits on how many times you can connect per day, or some wont allow outside connections at all.

Check out this example over on PSCode.com:
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=56480&lngWId=1

And another good example here at freevbcode.com:
http://freevbcode.com/ShowCode.Asp?ID=5796

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
raushan2007
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 130

PostPosted: Fri Dec 14, 2007 1:31 pm    Post subject: Reply with quote

Wiccaan wrote:
You can, but you will need to connect to an SMTP server that will allow your connection. Which most either have limits on how many times you can connect per day, or some wont allow outside connections at all.

Check out this example over on PSCode.com:
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=56480&lngWId=1

And another good example here at freevbcode.com:
http://freevbcode.com/ShowCode.Asp?ID=5796


Whats the use of opening a box where they have to fil in?
Anyways thnx
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Dec 14, 2007 7:03 pm    Post subject: Reply with quote

raushan2007 wrote:
Wiccaan wrote:
You can, but you will need to connect to an SMTP server that will allow your connection. Which most either have limits on how many times you can connect per day, or some wont allow outside connections at all.

Check out this example over on PSCode.com:
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=56480&lngWId=1

And another good example here at freevbcode.com:
http://freevbcode.com/ShowCode.Asp?ID=5796


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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites