Search results for query: *

  1. asegal0000

    Question How do I initialize an array of User Defined Structure?

    No, not school. I am working on figuring out how many turns of wire I need on a coil for a 1950 jukebox. Is there way to do the "with" for multiple items: - that is fill x(0)..x(40) in a single statement. For some reason I dont like the: X(0) = New AWGInfo With {.AWG = 1, .DiamMM = 3.1} X(1) =...
  2. asegal0000

    Question How do I initialize an array of User Defined Structure?

    Structure AWGInfo Dim AWG As Integer Dim DiamMM As Double Dim InsulDiamMM As Double Dim GramsPerMeter As Double Dim OhmsPerMeter As Double End Structure Dim X() As AWGInfo = {{1, 2.1, 3.1, 4.1, 5.1}, {6, 7.1, 8.1, 9.1, 10.2}} On the Dim X() line, I get this error: BC30332 Value of...
  3. asegal0000

    Question How can I determine which object caused handler execution?

    Thanks, I was overthinking code I took over. DUH.
  4. asegal0000

    Question How can I determine which object caused handler execution?

    I want to have many objects share a common handler. However, I need to determine which object caused the handler to execute How can I do that? private sub CreateObjects for x = 0 to 99 TB = New TextBox TB.tabindex=x Me.Controls.Add(TB) AddHandler TB.TextChanged, AddressOf CellChanged...
  5. asegal0000

    Question Can you get the Video Length of a file?

    Is there a way to get the video length (ie runtime) of a video file (AVI) like the properties page of the file will show? Using Dot Net 3.0, 3.5
Back
Top