PDA

View Full Version : Source code for renaming a file? VB6



froghand
08-22-2009, 06:00 AM
Do any of you know what the source code for renaming a file or a folder is?
And also do you know to get a button to send an email to you. For example, in TextBox1 it says: Hello email test. Then above it theres a button called "Send Email" how would I make it so the Send Email button sends an email to my email address with the body of the email saying "Hello email test" or what it says in the Textbox1.

Does anyone understand me? :confused: VB6 btw.

rogeruk
08-22-2009, 10:54 PM
Name "c:\file.txt" As "c:\file1.txt"

Google sending email via VB6.

NiiX
08-25-2009, 05:34 AM
Name "c:\file.txt" As "c:\file1.txt"

Google sending email via VB6.

That's batch for ya :p

froghand
08-29-2009, 08:00 PM
Name "c:\file.txt" As "c:\file1.txt"

Google sending email via VB6.


Thanks for the code :) Now to make my program !:stirthepot:

Freddy1990
08-30-2009, 11:07 PM
http://codereflect.com/2007/01/17/how-to-rename-a-file-using-a-windows-api/