none
Forms application RRS feed

  • Question

  • Hello <g class="gr_ gr_13 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="13" id="13">i</g> am new to vb but when <g class="gr_ gr_28 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="28" id="28">i</g> create project it does not load <g class="gr_ gr_50 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="50" id="50">propely</g> <g class="gr_ gr_74 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="74" id="74">i</g> can't get the ByVal in the Sub 

        Private Sub btnGenerate_Click(sender As System.Object, e As System.EventArgs) Handles btnGenerate.Click

        End Sub
    End Class
    • Moved by Stanly Fan Tuesday, August 1, 2017 7:42 AM from clickonce
    Tuesday, July 25, 2017 4:07 PM

All replies

  • Hello i am new to vb but when i create project it does not load propely i can't get the ByVal in the Sub

    Private Sub btnGenerate_Click(sender As System.Object, e As System.EventArgs) Handles btnGenerate.Click

    End Sub
    End Class

    What is the error?  This code is fine:

    Public Class Form1
        Private Sub btnGenerate_Click(sender As Object, e As EventArgs) Handles btnGenerate.Click
    
        End Sub
    End Class

    Tuesday, July 25, 2017 4:30 PM
  • Hi ford,

    >>i can't get the ByVal in the Sub

    How do you want to do about this? And how do you get the value passed? And who passes the value?

    Hope you can provide more details about your problem.

    Best Regards,

    Stanly


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, July 26, 2017 7:13 AM