HELP PLEASE PEOPLE
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Sorry for double post i am really stuck and dont want to tern to dad as it usually means me doing a Huge job or something liek that
Make sure the file isn't open.
Code: Select all
System.IO.File.Copy(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\RARFile.rar", Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\.minecraft\texturepacks\RARFile.rar")
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

The file isnt open and your code didnt work ones it had been edited to the point were textbox is the location same errors as before i have posted a link on the other topic about this though and there is all my code soo if you can fix it please tell me code :P
Replace Button2 code with this:
Code: Select all
Or this
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
On Error GoTo x
System.IO.File.Copy(Textbox1.Text, Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\.minecraft\texturepacks\" + System.IO.Path.GetFileName(TextBox1.Text))
Messagebox.TextBox1.Text = ("Texture pack has been updated")
Messagebox.Show()
Return
x: Messagebox.TextBox1.Text = ("Error loading texturpack please try again")
Messagebox.Show()
End Sub
Code: Select all
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
System.IO.File.Copy(Textbox1.Text, Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\.minecraft\texturepacks\" + System.IO.Path.GetFileName(TextBox1.Text))
Messagebox.TextBox1.Text = "Texture pack has been updated"
Messagebox.Show()
Catch ex As Exception
Messagebox.TextBox1.Text = "Error loading texturpack please try again"
Messagebox.Show()
End Try
End Sub
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

YAY Thank you soo mutch works great when i have finished it i will put it up on here thanks soo mutch
Copyright Information
Copyright © Codenstuff.com 2020 - 2023