-2

I trying to use Bing Maps REST services with my Windows form application, currently I can get Bing Maps to appear on the screen, but now that I want to add rest service I'm noticing that for some reason VB isn't recognizing some of the code. e.g. Map.CredentialsProvider.GetCredentials()

enter image description here

1 Answers1

0

You need to put your code inside of a function or Sub.

rbrundritt
  • 16,570
  • 2
  • 21
  • 46