title: Can i use IP address in URL properties of Windows Media Player in VB6.0?
body: <p>I am trying to make a client server connection in vb 6.0 and stream video in server machine from a client machine.. my doubt is, can i keep the URL in properties of Windows media player as an "IP address" of client machine???
  eg.</p>
  
  <pre><code>    Const FILE_TO_OPEN = "\\127.0.0.1\C:\Users\Public\Videos\Sample Videos\Wildlife.wmv"
      Wmp1.URL = FILE_TO_OPEN
  </code></pre>
  
  <p>(instead of 127.0.0.1 ,any IP address in the network can be used)
  So far what i have created is, i have connected the server and client using winsock... after connecting i need to access the video file present in client's machine and play that video in wmp of server machine.</p>
  
  <p>If i use it without IP address, that is, if i play a video present in the same machine its working(without connecting client-server)
  eg.</p>
  
  <pre><code>  Const FILE_TO_OPEN = "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv"
      Wmp1.URL = FILE_TO_OPEN
  </code></pre>
  
  <p>If i cannot use IP ADDRESS IN THAT PLACE, WHAT ELSE AND HOW CAN I USE IT??? any suggestions are welcome... thanks in advance!! </p>