![]() ![]() ![]() Private Sub Submit_Click(sender As Object, e As EventArgs) Private Sub Submissioncontrol_Load(sender As Object, e As EventArgs) Handles MyBase.Load Public Class SubmissioncontrolÄim Myconnection As String = "server=localhost user id=root password=password database=project" I tried deleting the first line of code that draws in the value from another page to see if it was really causing the problem and the error did not pop up anymore but I still need the value from the separate form with a PDF reader and i'm not sure why this error keeps popping up. Within the Form's constructor refer to the form using 'Me.'' System.InvalidOperationException: 'The form referred to itself during construction from a default instance, which led to infinite recursion. This works fine under normal circumstances but I need a PDF reader on the same page, when I add an Adobe PDF Reader the application completely stops working and giving me this error in relation to the code above. ![]() I have a line of code that draws in the value from another form when the user control is loaded usernameconstant.Text = ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |