Click here to Skip to main content
15,887,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: DataAdapter / Datatable Pin
David Mujica1-Aug-11 10:50
David Mujica1-Aug-11 10:50 
GeneralRe: GridView appears to have no data when trying to sort it Pin
dannyboi8627-Jul-11 3:45
dannyboi8627-Jul-11 3:45 
GeneralRe: GridView appears to have no data when trying to sort it Pin
Shameel27-Jul-11 5:23
professionalShameel27-Jul-11 5:23 
QuestionSearch and delete files Pin
hendrikbez26-Jul-11 22:29
hendrikbez26-Jul-11 22:29 
AnswerRe: Search and delete files Pin
Andy_L_J26-Jul-11 23:09
Andy_L_J26-Jul-11 23:09 
AnswerRe: Search and delete files Pin
Dave Kreskowiak27-Jul-11 1:27
mveDave Kreskowiak27-Jul-11 1:27 
AnswerRe: Search and delete files Pin
Carmelo La Monica27-Jul-11 2:14
professionalCarmelo La Monica27-Jul-11 2:14 
GeneralRe: Search and delete files Pin
hendrikbez27-Jul-11 19:49
hendrikbez27-Jul-11 19:49 
Thank you

I am using this code to get files, but I can not get it to search for all files on C: drive.

How can I get it to show all files Like *.pdf of the dirve in the list box

Imports System.IO
Imports System
Imports System.Drawing
Imports System.Windows.Forms

Public Class SearchAvi

    Private Sub BtnGetAviFiles_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnGetAviFiles.Click

        Dim dir1 As New IO.DirectoryInfo("c:")
        Dim dir2 As IO.FileInfo() = dir1.GetFiles()
        Dim files1 As IO.FileInfo

        For Each files1 In dir2
            FrmListBox.Items.Add(files1)
        Next

    End Sub

GeneralRe: Search and delete files Pin
Thomas Krojer28-Jul-11 21:27
Thomas Krojer28-Jul-11 21:27 
GeneralRe: Search and delete files Pin
MicroVirus9-Aug-11 13:54
MicroVirus9-Aug-11 13:54 
QuestionDBGRID32.OCX and Windows 7 Pin
hroenick26-Jul-11 15:37
hroenick26-Jul-11 15:37 
AnswerRe: DBGRID32.OCX and Windows 7 Pin
_Damian S_26-Jul-11 15:48
professional_Damian S_26-Jul-11 15:48 
AnswerRe: DBGRID32.OCX and Windows 7 Pin
Dave Kreskowiak26-Jul-11 17:05
mveDave Kreskowiak26-Jul-11 17:05 
AnswerRe: DBGRID32.OCX and Windows 7 Pin
Shameel27-Jul-11 1:10
professionalShameel27-Jul-11 1:10 
GeneralRe: DBGRID32.OCX and Windows 7 Pin
Dave Kreskowiak27-Jul-11 1:26
mveDave Kreskowiak27-Jul-11 1:26 
GeneralRe: DBGRID32.OCX and Windows 7 Pin
Shameel27-Jul-11 2:22
professionalShameel27-Jul-11 2:22 
QuestionHow to write addin that works in both Powerpoint 2007 and Powerpoint 2010 Pin
Hypermommy22-Jul-11 3:49
Hypermommy22-Jul-11 3:49 
AnswerRe: How to write addin that works in both Powerpoint 2007 and Powerpoint 2010 Pin
tosch26-Jul-11 4:11
tosch26-Jul-11 4:11 
GeneralRe: How to write addin that works in both Powerpoint 2007 and Powerpoint 2010 Pin
Hypermommy26-Jul-11 4:36
Hypermommy26-Jul-11 4:36 
QuestionIs there a way to check if email is send or not Pin
C#Coudou21-Jul-11 23:59
C#Coudou21-Jul-11 23:59 
AnswerRe: Is there a way to check if email is send or not Pin
tosch26-Jul-11 4:09
tosch26-Jul-11 4:09 
QuestionWEB Services in vb6.0 Pin
dineshp12321-Jul-11 2:19
dineshp12321-Jul-11 2:19 
AnswerRe: WEB Services in vb6.0 Pin
Dave Kreskowiak21-Jul-11 2:57
mveDave Kreskowiak21-Jul-11 2:57 
AnswerRe: WEB Services in vb6.0 Pin
Smithers-Jones21-Jul-11 9:04
Smithers-Jones21-Jul-11 9:04 
QuestionIs it possible to add multi level sub menu to toolbar [style = Dropdown] Pin
Nanda_MR20-Jul-11 19:22
Nanda_MR20-Jul-11 19:22 

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.