Re: BC30518:Overload resolution failed because no accessible 'Join' can be called with these arguments



"Bart" <b@xxx> schrieb:
i get the error "BC30518:Overload resolution failed because no accessible 'Join' can be called with these arguments"
at line: hvd = Join(hvertp, ",")

Any idea what's wrong here?
Thanks
bart

Dim i, hvertp(5), x As Integer
Dim hvd As String

For i = 0 To 5
x = x + 1
hvertp(i) = x
Next

hvd = Join(hvertp, ",")

The first parameter of 'Join' must be either an array of string ('String()') or an array of object ('Object()').

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

.



Relevant Pages