Larry DiBona
2014-Jun-04 20:56 UTC
[Samba] Visual Basic 6 file access to samba server Samba version 3.4.7 and Samba version 4.1.4 in Windows 8
Folks, Starting here with a file access question regarding Visual Basic 6 to Samba servers either 3.4.7 or version 4.1.4 under Ubuntu. Just want to see if anyone out there has seen something similar. There doesn't seem to be any info on this on the web. I know it's VB 6, but it's a legacy system that won't be updated. Microsoft will support VB 6 until 2024 Not needing help with VB, but trying to access a file programmatically from within VB 6 running on Windows 8.1 to a Samba share results in a "Cannot open file -- runtime error". The code runs fine under Windows 7 to the same servers. I am using Webmin to manage the Samba servers. The permissions are set to allow anyone read/write access and otherwise they work great with any version of Windows, mapping drives, seeing files, accessing, deleting, etc. Is there some kind of obscure compatibility problems with Windows 8-8.1 accessing Samba shares that may only show up in older programs like VB 6. Maybe someone has seen this, but I doubt it. Thanks, - Larry
Jeremy Allison
2014-Jun-04 21:59 UTC
[Samba] Visual Basic 6 file access to samba server Samba version 3.4.7 and Samba version 4.1.4 in Windows 8
On Wed, Jun 04, 2014 at 04:56:59PM -0400, Larry DiBona wrote:> Folks, > Starting here with a file access question regarding Visual Basic 6 > to Samba servers either 3.4.7 or version 4.1.4 under Ubuntu. Just > want to see if anyone out there has seen something similar. There > doesn't seem to be any info on this on the web. I know it's VB 6, > but it's a legacy system that won't be updated. Microsoft will > support VB 6 until 2024 > Not needing help with VB, but trying to access a file > programmatically from within VB 6 running on Windows 8.1 to a Samba > share results in a "Cannot open file -- runtime error". The code > runs fine under Windows 7 to the same servers. > I am using Webmin to manage the Samba servers. The permissions are > set to allow anyone read/write access and otherwise they work great > with any version of Windows, mapping drives, seeing files, > accessing, deleting, etc. Is there some kind of obscure > compatibility problems with Windows 8-8.1 accessing Samba shares > that may only show up in older programs like VB 6. Maybe someone > has seen this, but I doubt it.Nope, not a problem we're aware of. Can you log a bug and upload log files/wireshark capture traces so we can track it down ? Thanks, Jeremy.