thanks for the video man. spot on what I needed for extra credit on my project. i am going to go looking for the other part of my project that i dont have yet amongst your tutorials. if every one you do is this well done than I may yet pass this class.
@TeachMeComputer14 жыл бұрын
@swehunter2000 The next tutorial is on openfiledialog and savefiledialog if that is what you mean, but do you want a tutorial on something different?
@suupertramp14 жыл бұрын
how could you add lines to a file without deleting whats already there if it exists, like adding friends to a list or something?
@ShwaySo11 жыл бұрын
Is it possible to write straight to the debug folder similarly to the way FromFile reads straight from the debug folder, or do you have to know the exact file pathway?
@unknowdud313 жыл бұрын
how to write to the same txt file from different text boxes? each thing i write in each text box i want it to be in a different line from each other.
@ChrisPBacon201013 жыл бұрын
Is there a way to make the program to auto-save itself every so often?
@DoombrekerPlus13 жыл бұрын
I get an error: Access to path to path C:\Test is denied.
@JACK01993013 жыл бұрын
@doombreker that seems like you either need to run vb as an administrator or just choose a different path to place it in
@gurkhasnep13 жыл бұрын
Is there a way to add more text to the same file without overwriting it?
@ayecapt12 жыл бұрын
you could use try catch to check the file exists? thanks..
@GeekyCompz12 жыл бұрын
When I Do this code, it will read the text but then when it goes to save it says that another process is using the text document. Why? Please Help Me!
@Zerolagg13 жыл бұрын
How do i do if i want to append the file if already exists?... Where does it save the file once the program is terminated?
@tanteikhoe439311 жыл бұрын
Once I save the file, the program cant open the file as the file not in C:\ and I also faced this problem (unauthorized access exception)
@mykel0t2414 жыл бұрын
do you have tutorial on how to use database on VB prog???
@jayrodneybesario22258 жыл бұрын
hi dude how can i save a computed value to another Form ?
@axcdk14 жыл бұрын
When I run this example with c:\ stream.txt in textbox1 I get "Access to the path 'c:\stream.txt' is denied."
@kb24atkim14 жыл бұрын
can i do these on Microsoft.WindowsMobile.PocketOutlook? ive been trying hard but this error comes up System.IO.DirectoryNotFoundException
@mmc401113 жыл бұрын
@hamstasquad11 are u using win7?
@GamePlayPc201212 жыл бұрын
cool tut butcan you tell me how to make a save Multiple Lines From A textbox
@manupro4012 жыл бұрын
how to link a pdf file through the button?
@MrXRobots8 жыл бұрын
I want to the textbox save to txt file and it path
@vijaysinghyadav13 жыл бұрын
friend i am developing a simple pos device for saving commodities coming for processing and allot them unique id and later on search them in database with id and return their product calculating their cost in the form.
@santa6942014 жыл бұрын
whrer it safe the file to?
@dropboks13 жыл бұрын
@TeachMeComputer Can you make a tutorial how to open multiple files at once time ? Thank you :)
@TheSteamGamer9912 жыл бұрын
Your program is using the "text"
@axcdk14 жыл бұрын
Figured it out. Can't write to root directory. Working now.
@freeesouls11 жыл бұрын
we have no option of over writing it
@aidanh381511 жыл бұрын
thanks man really helped me out.
@VoltWolf14 жыл бұрын
@TeachMeComputer and @swehunter2000 I think he wants if they click yes or no on a messagebox. I think it is the advanced MsgBox.
@JaySharma199411 жыл бұрын
hey cud u plz make a tutorial on serial port on vb.net it wud be really helpful
@LosTecH8814 жыл бұрын
thanks...again...just need to explore if there is an error...thanks a lot.... thumbs up!!!
@aintisaword13 жыл бұрын
Yeah, this keeps saying access denied.
@mobiusstripclub14 жыл бұрын
Good job! You can also use: My.Computer.FileSystem.WriteAllText(TextBox1.Text, TextBox2.Text, False) Done!
@PuvanFrancesco12 жыл бұрын
thanks dude...i m kind improve watching this video.
@TehMapleDude12 жыл бұрын
make 2 textboxes, make it load on textbox 2 (which is invisible) and use this code: textbox2.text = textbox1.text + textbox2.text then save textbox2.text
@flyrose96858 жыл бұрын
thank you a lot
@petardobrijevic453910 жыл бұрын
I subscribed :)
@bettybarnes14 жыл бұрын
thanks!
@TehMapleDude12 жыл бұрын
ye, works both ways xP
@Scr3amAzerbaijan11 жыл бұрын
Teker Az dilinde daniw bawa duwek :D
@TheGamerNoob139 жыл бұрын
Button4_Click(sender As System.Object, e As System.EventArgs) Handles Button4.Click Dim FILE_NAME As String = "H:\TEST\scores.txt" If System.IO.File.Exists(FILE_NAME) = True Then Dim objWriter As New System.IO.StreamWriter(FILE_NAME) objWriter.Write("skill is=" + txtskill.Text + "strength is =" + txtstrength.Text) objWriter.Close() MsgBox("Text written to file") Else MsgBox("File Does Not Exist")
@oussamaessadaoui13 жыл бұрын
i will be back !!!
@Jevan201013 жыл бұрын
is "fucked up" a syntax ? lool
@TehMapleDude12 жыл бұрын
how would it look more professional, not like they will be able to see it xD