Email Sender - Updated Version
If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
Code: Select all
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = File.ReadAllText("number.txt")
End Sub
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
File.WriteAllText("number.txt", Label1.Text)
End Sub
mandai wrote:nahh man its tell me "File.WriteAllText" is not a member if a "string" :(Code: Select allPrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label1.Text = File.ReadAllText("number.txt") End Sub Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing File.WriteAllText("number.txt", Label1.Text) End Sub
Thnx dude now im making a featured VBOS (VistaBioS) basically Vista in VB first it started in vb6 and it got upgraded to VB.NET wahooo;
nice Email sender but i think i soo this in youtube
Code'N'Stuff
TheSecretBoY
Dont forget to give thanks for those helpful posts cooll;
TheSecretBoY
Dont forget to give thanks for those helpful posts cooll;
lesan101 wrote:hey man looks pretty cool.Hello lesan, you will need settings to do that. In the solution explorer, double click on "My Project" and the open the tap which is named "Settings". There you can add something that I don't know lol. But you will surely find something useful here: viewtopic.php?f=21&t=3845
i have a question though....
im making this program..
i want to add that save feature to it
accept instead of saving whats on the textbox
i want to save the label1.text
example:lets say label.text is a number
i save it..then close it..
wen i open it again.. that number is there..
get me?
hope you do.. i tried everything :(
Thanks.
Copyright Information
Copyright © Codenstuff.com 2020 - 2023