Sinisterly
[VB.Net] Making a cool File/Directory Search - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: [VB.Net] Making a cool File/Directory Search (/Thread-VB-Net-Making-a-cool-File-Directory-Search)

Pages: 1 2 3 4


RE: [VB.Net] Making a cool File/Directory Search - jameswomack - 04-05-2013

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.


RE: [VB.Net] Making a cool File/Directory Search - ArkPhaze - 04-05-2013

(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:\"


RE: [VB.Net] Making a cool File/Directory Search - OsBinHD - 09-27-2013

nice tut mate thanx Smile


RE: [VB.Net] Making a cool File/Directory Search - hellomen - 09-29-2013

add it from the C:\ instead of C:\ProgramFiles


RE: [VB.Net] Making a cool File/Directory Search - hellomen - 09-29-2013

add it from the C:\ instead of C:\ProgramFiles