Login Register






[VB.Net] Making a cool File/Directory Search filter_list
Author
Message
RE: [VB.Net] Making a cool File/Directory Search #31
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.

Reply

RE: [VB.Net] Making a cool File/Directory Search #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 ]

Reply

RE: [VB.Net] Making a cool File/Directory Search #33
nice tut mate thanx Smile

Reply

RE: [VB.Net] Making a cool File/Directory Search #34
add it from the C:\ instead of C:\ProgramFiles
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply

RE: [VB.Net] Making a cool File/Directory Search #35
add it from the C:\ instead of C:\ProgramFiles
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply