Click here to Skip to main content
15,878,809 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionwhat is visual basic used for Pin
Simon Osabo Asamoah27-May-23 18:33
Simon Osabo Asamoah27-May-23 18:33 
AnswerRe: what is visual basic used for Pin
Richard MacCutchan27-May-23 20:53
mveRichard MacCutchan27-May-23 20:53 
AnswerRe: what is visual basic used for Pin
Andre Oosthuizen2-Jun-23 0:17
mveAndre Oosthuizen2-Jun-23 0:17 
GeneralRe: what is visual basic used for Pin
Ralf Meier2-Jun-23 10:13
mveRalf Meier2-Jun-23 10:13 
GeneralRe: what is visual basic used for Pin
Andre Oosthuizen5-Jun-23 21:55
mveAndre Oosthuizen5-Jun-23 21:55 
GeneralRe: what is visual basic used for Pin
Ralf Meier5-Jun-23 22:59
mveRalf Meier5-Jun-23 22:59 
AnswerRe: what is visual basic used for Pin
David Mujica6-Jun-23 3:32
David Mujica6-Jun-23 3:32 
QuestionI have this code which loads some files in a folder. Am using advanceddatagridview to filter out some files as the are alot. Now i need to save back the filtered rows back to another folder. Not as a single file but as multiple files. I was thinking Pin
Bonnie_Tames27-Apr-23 1:59
Bonnie_Tames27-Apr-23 1:59 
Private Sub OpenFolder_Click(sender As Object, e As EventArgs) Handles OpenFolder.Click
       FolderBrowserDialog1.ShowDialog()
       FolderPath.Text = FolderBrowserDialog1.SelectedPath.ToString()
       loadfiles()
   End Sub
   Private Sub loadfiles()
       Dim filepath As String() = Directory.GetFiles(FolderPath.Text)
       Dim dt As DataTable = New DataTable
       dt.Columns.Add("Product")
       dt.Columns.Add("Serial No")
       dt.Columns.Add("Extension")
       dt.Columns.Add("Size")
       dt.Columns.Add("Creation Time")
       For item As Integer = 0 To filepath.Length - 1
           Dim file As New FileInfo(filepath(item))
           Dim dr As DataRow = dt.NewRow()
           dr(0) = file.Name.Split.Distinct
           dr(1) = file.Name
           dr(2) = file.Extension
           dr(3) = file.Length
           dr(4) = file.LastWriteTime
           dt.Rows.Add(dr)
       Next
       DataGridView1.DataSource = dt

   End Sub

AnswerRe: I have this code which loads some files in a folder. Am using advanceddatagridview to filter out some files as the are alot. Now i need to save back the filtered rows back to another folder. Not as a single file but as multiple files. I was think Pin
Richard MacCutchan27-Apr-23 2:44
mveRichard MacCutchan27-Apr-23 2:44 
GeneralRe: I have this code which loads some files in a folder. Am using advanceddatagridview to filter out some files as the are alot. Now i need to save back the filtered rows back to another folder. Not as a single file but as multiple files. I was think Pin
Bonnie_Tames27-Apr-23 2:54
Bonnie_Tames27-Apr-23 2:54 
GeneralRe: I have this code which loads some files in a folder. Am using advanceddatagridview to filter out some files as the are alot. Now i need to save back the filtered rows back to another folder. Not as a single file but as multiple files. I was think Pin
Richard MacCutchan27-Apr-23 3:12
mveRichard MacCutchan27-Apr-23 3:12 
QuestionVS broke project Pin
MikeCO1024-Apr-23 14:14
MikeCO1024-Apr-23 14:14 
AnswerRe: VS broke project Pin
Dave Kreskowiak24-Apr-23 17:52
mveDave Kreskowiak24-Apr-23 17:52 
GeneralRe: VS broke project Pin
MikeCO1025-Apr-23 3:08
MikeCO1025-Apr-23 3:08 
QuestionWatermark in Crystal report does not show Pin
Benniit17-Apr-23 16:34
Benniit17-Apr-23 16:34 
AnswerRe: Watermark in Crystal report does not show Pin
Eddy Vluggen17-Apr-23 23:20
professionalEddy Vluggen17-Apr-23 23:20 
QuestionCan ChatGPT be used to document VBA Code Pin
YSLGuru5-Apr-23 6:17
YSLGuru5-Apr-23 6:17 
AnswerRe: Can ChatGPT be used to document VBA Code Pin
jschell5-Apr-23 6:20
jschell5-Apr-23 6:20 
GeneralRe: Can ChatGPT be used to document VBA Code Pin
YSLGuru5-Apr-23 6:22
YSLGuru5-Apr-23 6:22 
AnswerRe: Can ChatGPT be used to document VBA Code Pin
Richard MacCutchan5-Apr-23 6:25
mveRichard MacCutchan5-Apr-23 6:25 
GeneralRe: Can ChatGPT be used to document VBA Code Pin
YSLGuru5-Apr-23 6:35
YSLGuru5-Apr-23 6:35 
GeneralRe: Can ChatGPT be used to document VBA Code Pin
Richard MacCutchan5-Apr-23 6:41
mveRichard MacCutchan5-Apr-23 6:41 
GeneralRe: Can ChatGPT be used to document VBA Code Pin
YSLGuru5-Apr-23 8:31
YSLGuru5-Apr-23 8:31 
AnswerRe: Can ChatGPT be used to document VBA Code Pin
YSLGuru5-Apr-23 6:37
YSLGuru5-Apr-23 6:37 
Questionvb.net - how do I add a row in a datagridview to an existing object? Pin
Member 130653743-Apr-23 21:54
Member 130653743-Apr-23 21:54 

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.