I am using Visual Basic 6 and have a Windows Media Player control on my form. I want to be able to set the position of the current file playing through the code - not by clicking the progress bar. I can get the current position in two formats - raw (1.04356834) and string (03:28) - but I just can't work out how to set the position.
Thank you very much for your help,
This is the code to get the raw position where WMP is the Windows Media Player control:
This is the code to get the string position where WMP is the Windows Media Player control: