cakiki
May 4th, 2005, 07:14 AM
hello,
I have to make a .NET console application.
I wrote this console application in a module but the problem is that I need to send to it 1 parameter.
After declaring in:
Public Sub Main(ByVal mtstr As String)
'Code......
end sub
it's giving me an error "No accessible 'Main' method with an appropriate signature was found in 'IETextFileAssets'."
if i remove the parameter declaration, no errors were captured.
Can you please tell me how to send a parameter to a module in a console application ?
A sample code will appreciated.
Thanks in advance
I have to make a .NET console application.
I wrote this console application in a module but the problem is that I need to send to it 1 parameter.
After declaring in:
Public Sub Main(ByVal mtstr As String)
'Code......
end sub
it's giving me an error "No accessible 'Main' method with an appropriate signature was found in 'IETextFileAssets'."
if i remove the parameter declaration, no errors were captured.
Can you please tell me how to send a parameter to a module in a console application ?
A sample code will appreciated.
Thanks in advance