Click here to Skip to main content
15,922,427 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Listbox Pin
Dave Kreskowiak5-Apr-05 3:28
mveDave Kreskowiak5-Apr-05 3:28 
GeneralRe: Listbox Pin
rstat15-Apr-05 9:46
rstat15-Apr-05 9:46 
GeneralRe: Listbox Pin
Dave Kreskowiak5-Apr-05 10:25
mveDave Kreskowiak5-Apr-05 10:25 
GeneralDetermining File Type Pin
Anonymous4-Apr-05 11:42
Anonymous4-Apr-05 11:42 
GeneralRe: Determining File Type Pin
Anonymous4-Apr-05 14:59
Anonymous4-Apr-05 14:59 
GeneralRe: Determining File Type Pin
Anonymous4-Apr-05 16:51
Anonymous4-Apr-05 16:51 
GeneralEnumerating PATH environment variable. Pin
MrRich4-Apr-05 10:56
MrRich4-Apr-05 10:56 
GeneralRe: Enumerating PATH environment variable. Pin
Anonymous4-Apr-05 16:27
Anonymous4-Apr-05 16:27 
' Returns the complete path+name of the filename or a null string if the
' filename hasn't been found. Only the first occurrence of the file is returned.


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Debug.WriteLine(SearchFileInDirTree("c:\test\", "TestText.txt"))
'File was put in folder "c:\test\test1\test2\"
End Sub
<system.runtime.interopservices.dllimport("imagehlp.dll")> Shared Function _
SearchTreeForFile(ByVal rootPath As String, ByVal inputPathName As String, _
ByVal outputPathBuffer As System.Text.StringBuilder) As Boolean
End Function
Function SearchFileInDirTree(ByVal rootDir As String, ByVal fileName As String) _
As String
Dim buffer As New System.Text.StringBuilder(260)
SearchTreeForFile(rootDir, fileName, buffer)
Return buffer.ToString()
End Function
GeneralRePost, I messed up the first one Pin
Anonymous4-Apr-05 16:30
Anonymous4-Apr-05 16:30 
GeneralDang it Pin
Anonymous4-Apr-05 16:33
Anonymous4-Apr-05 16:33 
GeneralTCP client with integers Pin
Member 8079984-Apr-05 9:27
Member 8079984-Apr-05 9:27 
GeneralTrying to understand Data Access - Never Mind! Pin
frgood4-Apr-05 9:25
frgood4-Apr-05 9:25 
GeneralHelp me ASAP. Pin
abeyphier4-Apr-05 4:05
abeyphier4-Apr-05 4:05 
GeneralRe: Help me ASAP. Pin
Christian Graus4-Apr-05 10:34
protectorChristian Graus4-Apr-05 10:34 
GeneralRe: Help me ASAP. Pin
Dave Kreskowiak4-Apr-05 14:13
mveDave Kreskowiak4-Apr-05 14:13 
GeneralRe: Help me ASAP. Pin
Christian Graus4-Apr-05 14:23
protectorChristian Graus4-Apr-05 14:23 
GeneralRe: Help me ASAP. Pin
Dave Kreskowiak4-Apr-05 16:00
mveDave Kreskowiak4-Apr-05 16:00 
GeneralAccess-- Connection String Pin
Anonymous4-Apr-05 3:30
Anonymous4-Apr-05 3:30 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 4:47
Jim Matthews4-Apr-05 4:47 
GeneralRe: Access-- Connection String Pin
Anonymous4-Apr-05 5:10
Anonymous4-Apr-05 5:10 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 5:30
Jim Matthews4-Apr-05 5:30 
GeneralRe: Access-- Connection String Pin
Anonymous4-Apr-05 6:16
Anonymous4-Apr-05 6:16 
GeneralRe: Access-- Connection String Pin
Jim Matthews4-Apr-05 6:50
Jim Matthews4-Apr-05 6:50 
Generalhello anybody can solve it Pin
Anonymous4-Apr-05 3:17
Anonymous4-Apr-05 3:17 
GeneralRe: hello anybody can solve it Pin
Jim Matthews4-Apr-05 4:52
Jim Matthews4-Apr-05 4:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.