02-07-2012, 15:54 (This post was last modified: 02-07-2012, 15:55 by House.)
(02-06-2012, 22:05)G-Man Wrote: Thanks for your attempt to help. Will be much more appreciated if you wrote same in vb
In that case
Code:
Dim regpath As String = "HKEY_CURRENT_USER\Software\Valve\Steam"
Dim path As String = My.Computer.Registry.GetValue(regpath, "SteamPath", "")
Dim mw3path As String
If System.IO.Directory.Exists(path & "/steamapps/common/call of duty modern warfare 3") Then
mw3path = (path & "/steamapps/common/call of duty modern warfare 3")
Else
MsgBox("No MW3 path detected.")
End If
02-07-2012, 16:12 (This post was last modified: 02-07-2012, 17:09 by Arteq.)
(02-07-2012, 15:54)House Wrote:
(02-06-2012, 22:05)G-Man Wrote: Thanks for your attempt to help. Will be much more appreciated if you wrote same in vb
In that case
Code:
Dim regpath As String = "HKEY_CURRENT_USER\Software\Valve\Steam"
Dim path As String = My.Computer.Registry.GetValue(regpath, "SteamPath", "")
Dim mw3path As String
If System.IO.Directory.Exists(path & "/steamapps/common/call of duty modern warfare 3") Then
mw3path = (path & "/steamapps/common/call of duty modern warfare 3")
Else
MsgBox("No MW3 path detected.")
End If
Thanks, gonna try it out tomorrow, too late today. Evening = gaming
(02-07-2012, 00:44)kokole Wrote: wait, this tool is made in VB?
Hmkay, release in 2 minutes. Try this one plox. And don't blame me, I have no testers online and this is my first project of such type.
Okay dudes, I attached new zip, now it uses registry keys so you have nothing to do else but just to press a button. Check it out, tell me if finally working good. At least it shall work. Report bugs, send suggestions.