Search:

Type: Posts; User: Tesla1886

Page 1 of 5 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    520

    Re: Struggling with Recent file List

    Ok. I think it works (I think), but not exactly the way I want.

    Have I done something wrong or do I need to still write the recent files to a text file in order to have the recent menu option...
  2. Replies
    4
    Views
    520

    Re: Struggling with Recent file List

    Yes. That did correct that error. I was thinking I'd make the recent files list available to all users. Not sure why though. Most likely I will be the only one using this program.



    Thank You. I...
  3. Replies
    4
    Views
    520

    Re: Struggling with Recent file List

    I edit my original post as I decided to go a different route. But I am still struggling.

    Full disclosure
    I am writing a program that edits meta data about TV programming that I then use to import...
  4. Re: Select which event handler to create

    I knew that. I was just hoping for an easier way to do it then creating one event, then creating a second then deleting the first. Which you provided.

    Thank You for the help
  5. Re: Select which event handler to create

    Thank You this is what I wanted
  6. [RESOLVED] Select which event handler to create

    My form has several combo boxes - a lot actually. I need to create a TextChanged event for each one. Currently when I double click each one a SelectedIndexChanged event is created, Then I select the...
  7. Replies
    4
    Views
    520

    Struggling with Recent file List

    As was suggested long ago I am trying to rewrite recent file portion of my code - which I am having issues with. Believe it or not I do try to figure things like this out, but there are times I need...
  8. Replies
    14
    Views
    1,726

    Re: Total duration of all video files

    From what your saying it sounds like Media Foundation is the best way to go. However, I am having a hard time finding easily understandable information about it or examples.
  9. Replies
    14
    Views
    1,726

    Re: Total duration of all video files

    I put a break point on the line following this line, it took about 5 seconds.
  10. Replies
    14
    Views
    1,726

    Re: Total duration of all video files

    It is quicker but only about 50 seconds. In the long run it would be better then what I am currently using as I add files.
  11. Replies
    14
    Views
    1,726

    Re: Total duration of all video files

    Thank you everybody for the responses.

    The code I am currently using a result of @-Franky- first response and I believe what @.paul post, although I did not copy it -- not from this post anyway,...
  12. Replies
    9
    Views
    1,340

    Re: Displaying numbers

    Awesome! Thank You!

    I only write a program every once in a while, so I still don't know some of the newer methods.
  13. Replies
    9
    Views
    1,340

    Displaying numbers

    I am retrieving the total size and available free space of a hard drive. both are coming up as 12000000000000 (for example, these numbers are not the issue). I want these numbers displayed as 12 Tb...
  14. Replies
    14
    Views
    1,726

    Total duration of all video files

    I have several video files (mp4) in several subfolders. What is the easiest and quickest way grab or calculate the total duration of all of these files?

    Thank You
  15. Replies
    1
    Views
    720

    Clear comboboxes in a tab control

    I have several tab controls with several tab pages each with several comboboxes.

    When I need to clear the text of the combobox I tried setting the text property to "" and even tried setting it to...
  16. Replies
    3
    Views
    556

    VS 2019 Removing data from an array

    I am trying to remove several elements from an array. I know that their is no single command to do that (at least not that I have been able to find. The only way that I have found is to copy the...
  17. Replies
    10
    Views
    1,384

    Re: MD5 Check Sum

    Thank You I was not aware 5 was no longer support, nor that 6 required 2022. I will upgrade as soon as I can.

    It is hard to keep track of what still is and what is no longer supported.
  18. Replies
    10
    Views
    1,384

    Re: MD5 Check Sum

    I am currently using GetHashFromStream().
  19. Replies
    10
    Views
    1,384

    Re: MD5 Check Sum

    Apologies. I did not specify where I was getting the error because I figured since it would not work on files larger then 2 gig, it would all need to be replaced. The line I am getting an error on is...
  20. Replies
    10
    Views
    1,384

    MD5 Check Sum

    I have been using the following code to get the MD5 Check Sum.


    Dim fct As Integer = 0
    Dim maxF As Long = 0
    Dim totF As Long = 0
    Dim md5Obj As New...
  21. Replies
    5
    Views
    1,139

    Re: Add a child node to an XML file

    I am trying to add additional nodes to an existing recording.
  22. Replies
    5
    Views
    1,139

    Re: Add a child node to an XML file

    Full disclosure, I am currently in the middle of a project adding all of my DVDs (movies and series) to my PVR. The PVR software uses XML files to import and store the meta data.

    The XML structure...
  23. Replies
    5
    Views
    1,139

    Add a child node to an XML file

    I am working on a program to edit XML files using xelement. I need to be able to add child nodes in a specific location to the XML file. How can I do this

    More specifically if I have the following...
  24. Thread: MD5 Hash

    by Tesla1886
    Replies
    9
    Views
    1,319

    Re: MD5 Hash

    I get message in the image below.
  25. Thread: MD5 Hash

    by Tesla1886
    Replies
    9
    Views
    1,319

    Re: MD5 Hash

    The files are MP4 video files over 500 megs, the duration of each file is about 25 minutes. There will eventually be larger and longer files.

    I forgot that the files are not local, they are on...
  26. Thread: MD5 Hash

    by Tesla1886
    Replies
    9
    Views
    1,319

    MD5 Hash

    I am currently using the code below to get the MD5 has of the given file. However it is very slow! Is there a faster way to do it.


    Using md5 As MD5 = MD5.Create()
    Using stream =...
  27. Re: [RESOLVED] Compensating for Day light savings time

    I didn't do an else because when I declare the boolean I set it to false.

    But I did just add it.
  28. Re: Compensating for Day light savings time

    Thanks Guys

    This is what I did.


    DSTBoolean = IsDaylightSavingTime(CDate(Dateadded))


    Public Function IsDaylightSavingTime(dateTime As DateTime) As Boolean
    If...
  29. Replies
    2
    Views
    937

    Re: Audio file Duration

    I went with


    Dim VideoDuration As String = GetVideoDuration(VideoFilePath)

    Where VideoFilePath = not only the path of the file but the file name as well.



    Private Function...
  30. [RESOLVED] Compensating for Day light savings time

    I am writing a program that is capable of compensating for day light savings time / standard time, not only under the current rules, but also the different times it was updated. IE the last change...
  31. Re: E_FAIL has been returned from a call to a COM component.

    Thank You that did it. I have to admit other then the Dim and this part of the line (IO.Path.GetDirectoryName(VideoFilePath) I don't fully understand what that line is doing, same for the first line...
  32. Re: E_FAIL has been returned from a call to a COM component.

    Good point.

    It is not my code. I "borrowed" it from here

    I thought I had taken everything I didn't need out, I missed that.

    Thank You
  33. Re: E_FAIL has been returned from a call to a COM component.

    I forgot to mention that the code requires a reference to C:\Windows\System32\Shell32.Dll
  34. [RESOLVED] E_FAIL has been returned from a call to a COM component.

    I am writing a program where I need to determine the duration of a video. To do this I have added the following code:


    Private Function GetVideoDuration(VideoFilePath As String) As String
    ...
  35. Replies
    2
    Views
    937

    [RESOLVED] Audio file Duration

    Is it possible to retrieve the duration in minutes and seconds of an audio file regardless of format, particularly .TS?

    If so, what is the easiest way to do so. Preferably with as few lines of...
  36. Replies
    15
    Views
    2,137

    Re: Customized? Select All

    For those that will find this thread in the future with the same issue. The following is what I did to get the functionality I want, a fully functional "Select All" checkbox where multiple check box...
  37. Replies
    15
    Views
    2,137

    Re: Customized? Select All

    I have posted all the code relevant code that I have for this. I have nothing else.



    I thought about disabling the "unneeded" checkboxes but was not sure that was the most efficent way



    ...
  38. Replies
    15
    Views
    2,137

    Re: Customized? Select All

    No that doesn't answer my question. Not even close
  39. Replies
    15
    Views
    2,137

    Re: Customized? Select All

    If SelectAllCheckBox.Checked = True Then
    For X = 0 To AssProdArrayCB.Length - 1
    If AssProdArrayCB(X).Text <> "" Then
    DeleteAssProdArrayCB(X).Checked...
  40. Replies
    15
    Views
    2,137

    Re: Customized? Select All

    It is not the array I'd make not visible, it is the checkbox list. If the check box list is not needed for this functionality, I won't need it for any other reason and will delete it.

    I have...
Results 1 to 40 of 177
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width