Click here to Skip to main content
15,748,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

Please advice for this error in 2010 and how to overcome this

Argument not specified for parameter 'format' of 'Public Shared Function Format(enumType As System.Type, value As Object, format As String) As String'.

Value of type 'Long' cannot be converted to 'System.Type'.

1 solution

Simple really, even without seeing your code. You supplied a variable of type Long in place of a Type object.

We have no idea what you're trying to do and what the code looks like so it's pretty much impossible to tell you exactly what the correct fix is going to be.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900