er jeg helt galt på den.. jeg får et par fejl når jeg prøver
Public Shared Sub frmMain_Load(ByVal args As String(), ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WriteLog("Starting Up", "Start") LoadDebug() LoadVersion() LoadSplash() PlaySound("c:\1.wav", 1) End Sub
Error 1 Method 'Public Shared Sub frmMain_Load(args() As String, sender As Object, e As System.EventArgs)' cannot handle Event 'Public Event Load(sender As Object, e As System.EventArgs)' because they do not have the same signature. C:\Users\Steffen Brandsborg\Desktop\Second Notice\Second Notice\Second Notice\frmMain.vb 21 135 Second Notice
Error 2 Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. C:\Users\Steffen Brandsborg\Desktop\Second Notice\Second Notice\Second Notice\frmMain.vb 22 9 Second Notice
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.