hi, i got this erro when i tried to use the code from
http://www.windowsformsdatagridhelp....6-343ac05a7617 to make sure i only had one instance of my program working:
vbc : error BC30737: No accessible 'Main' method with an appropriate
signature was found in 'Database'.
heres my code, just so u dont have to go to the website, its exactly the
same, ex copied and pasted
Public Class Form1
Inherits System.Windows.Forms.Form
''I cut out the windows generated code to save u guys the reading
Public Sub Main()
Dim owned As Boolean
Dim mut As New System.Threading.Mutex(True, "xvcjsdf67AS124#$3",
owned)
If owned Then
Application.Run(New Form1)
mut.ReleaseMutex()
Else
MessageBox.Show("A previous instance is already running")
End If
End Sub
#Region "Declarations"
Dim write As IniFile.IniFile
#End Region
End Class
--
-iwdu15