Ok, im adding a media player to my bot, and it works fine, accept when i add the form files for it and the module to the bot itself. Now, the problem i'm having is this:Private Sub Form_Load()
Dim result As String
Dim temp As String * 40
Dim winDir As String
result = GetWindowsDirectory(temp, Len(temp))
winDir = Left$(temp, result)
result = WPSN("MCI", "MPEGVideo", "mciqtz.drv", winDir & "\" & "system.ini")
lblCaption.Caption = "[ No Media ]"
ffSpeed = 5
End Sub
result = WPSN("MCI", "MPEGVideo", "mciqtz.drv", winDir & "\" & "system.ini")
was originally result = WritePrivateString("MCI", "MPEGVideo", "mciqtz.drv", winDir & "\" & "system.ini")
but it kept erroring (and still does) with "Ambiguous Name Detected", so, I did the logical thing and changed the name and all other instances to a name I made sure was not in use. It still errors. Any help on what this means would be appreciated.
Edit: whoops forgot code tags
Quote from: Dyndrilliac on October 22, 2003, 03:17 PM
Ok, im adding a media player to my bot, and it works fine, accept when i add the form files for it and the module to the bot itself. Now, the problem i'm having is this:Private Sub Form_Load()
Dim result As String
Dim temp As String * 40
Dim winDir As String
result = GetWindowsDirectory(temp, Len(temp))
winDir = Left$(temp, result)
result = WPSN("MCI", "MPEGVideo", "mciqtz.drv", winDir & "\" & "system.ini")
lblCaption.Caption = "[ No Media ]"
ffSpeed = 5
End Sub
result = WPSN("MCI", "MPEGVideo", "mciqtz.drv", winDir & "\" & "system.ini")
was originally result = WritePrivateString("MCI", "MPEGVideo", "mciqtz.drv", winDir & "\" & "system.ini")
but it kept erroring (and still does) with "Ambiguous Name Detected", so, I did the logical thing and changed the name and all other instances to a name I made sure was not in use. It still errors. Any help on what this means would be appreciated.
Edit: whoops forgot code tags
If i am not mistaken
"Ambiguous Name Detected",
is when it is defined more then once and by u changing it to the other thing and not defineing it you will also get
"Ambiguous Name Detected",