|
-
May 4th, 2005, 07:14 AM
#1
Console application parameters
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|