RE: [VB.Net] Making a cool File/Directory Search 04-05-2013, 09:13 PM
#32
(04-05-2013, 03:25 PM)jameswomack Wrote: Dim OpenSelected As String
OpenSelected = "C:\" & TextBox1.Text.ToString
System.Diagnostics.Process.Start(OpenSelected)
Figured it out. I was trying to open the file all wrong. Above is the code I wound up using.
Coder-San - Thank you for tellg me that it triggering was a factor it all sort of fell into place after you said that.
That still looks wrong to me. Why limit it to C:\? Now if they want to access Z: or X: it would append to the "C:\" making an invalid path. Never hardcode any filepath values like that directly from "C:\"
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]


![[+]](https://sinister.li/images/modern/collapse_collapsed.png)