@Doctor only problem I can see with your code is
it should be likeCode:If FolderBrowserDialog1.SelectedPath = "\Crossfire" Then
**off the top of my head**Code:If FolderBrowserDialog1.SelectedPath.contains("\Crossfire") = True Then
Hello VB Pros I am doing a cool Loader but I need a code that I cant figure it out
This is my Activate Button:
So I need that when the Activate Button is clicker u search for the Crossfire Folder and the hack.dll will be placed there how I do thatCode:MsgBox("Select the Crossfire Folder") If FolderBrowserDialog1.ShowDialog() Then If FolderBrowserDialog1.SelectedPath = "\Crossfire" Then Dim mydll1() As Byte = My.Resources.hack IO.File.WriteAllBytes(FolderBrowserDialog1.SelectedPath + "\hack.dll", mydll1) MsgBox("Start patcher_cf.exe") End If End If
@Doctor only problem I can see with your code is
it should be likeCode:If FolderBrowserDialog1.SelectedPath = "\Crossfire" Then
**off the top of my head**Code:If FolderBrowserDialog1.SelectedPath.contains("\Crossfire") = True Then
Question ALL statements! ?[img]https://i360.photobucke*****m/albums/oo45/blood188/Untitled-3.jpg?t=1284590977[/img]You're in denial that you're in denial. ?