Sep 25, 2014 11:42 PM
(This post was last modified: Sep 25, 2014 11:43 PM by scaa.)
So I have a .dll file that I want to move from my reasources to the selected path from FolderBrowserDialog1 with a button click but after trying a few different things I still cant find something that works, anybody got any ideas of how this could be done ? Thanks. 🤝
Here's what i've tryed;
and
and others i found online but can't remember.
Here's what i've tryed;
PHP Code
<?php
My.Computer.FileSystem.MoveFile(My.Resources.clr.ToString, FolderBrowserDialog1.SelectedPath)
PHP Code
<?php
Dim FileToMove As String
Dim MoveLocation As String
FileToMove = True
FileToMove = "My.Resources.clr"
MoveLocation = FolderBrowserDialog1.SelectedPath
If System.IO.File.Exists(FileToMove) = True Then
System.IO.File.Move(FileToMove, MoveLocation)
MsgBox("File Moved")
End If


