Discussion:
VB6 IDE not compatible with x64 Vista?
(too old to reply)
Neal Andrews
2008-03-25 15:30:24 UTC
Permalink
Anyone know if the VB6 IDE is meant to work in Vista 64x?

When I run VB6 on Vista 64x and use the Dir method to look for a file on a
mapped drive it always returns false even though the file does exist. If I
use the explicit server path name to the file i.e.
\\Server\data\somefile.txt then it works. I also get the same invalid
results from the scripting FileSystem object and also when using the
GetFileAttributes Api call.

Note, I'm running vb6 using "Run As Administrator", also none of the
compatibility settings appear to make the slightest difference.

Neal
Ralph
2008-03-25 17:05:32 UTC
Permalink
Post by Neal Andrews
Anyone know if the VB6 IDE is meant to work in Vista 64x?
When I run VB6 on Vista 64x and use the Dir method to look for a file on a
mapped drive it always returns false even though the file does exist. If I
use the explicit server path name to the file i.e.
\\Server\data\somefile.txt then it works. I also get the same invalid
results from the scripting FileSystem object and also when using the
GetFileAttributes Api call.
Note, I'm running vb6 using "Run As Administrator", also none of the
compatibility settings appear to make the slightest difference.
Neal
Yes you can run the VB6/VS6 IDEs on Vista 64. However, they run in 32-bit
space (WoW).

The problem you are describing sounds more like a compatibility/permissions
problem (which Vista is famous for because of it its less-priveldge
environment - the UAC). I recommend you do a search in the
microsoft.public.vb.general.discussion where this topic as been discussed
numerious times.

hth
-ralph
MikeD
2008-03-25 20:26:42 UTC
Permalink
Post by Neal Andrews
Anyone know if the VB6 IDE is meant to work in Vista 64x?
Meant to? No.
Will it? Yes, running in the 32-bit subsystem.
Post by Neal Andrews
When I run VB6 on Vista 64x and use the Dir method to look for a file on a mapped drive it always returns false even though the
file does exist. If I use the explicit server path name to the file i.e. \\Server\data\somefile.txt then it works. I also get the
same invalid results from the scripting FileSystem object and also when using the GetFileAttributes Api call.
As Ralph said, this is something else and a permissions issue is a likely candidate. I've not had any issues (yet) running VB6 or
VB6 apps in Vista64...at least none that don't also exist in Vista32.
--
Mike
Microsoft Visual Basic MVP
Dean Earley
2008-04-30 08:24:39 UTC
Permalink
Post by Neal Andrews
Anyone know if the VB6 IDE is meant to work in Vista 64x?
When I run VB6 on Vista 64x and use the Dir method to look for a file on
a mapped drive it always returns false even though the file does exist.
If I use the explicit server path name to the file i.e.
\\Server\data\somefile.txt then it works. I also get the same invalid
results from the scripting FileSystem object and also when using the
GetFileAttributes Api call.
Note, I'm running vb6 using "Run As Administrator", also none of the
compatibility settings appear to make the slightest difference.
When you elevate or "run as admin" mapped drives are not accessible.
I do not have any reference for this except experience.
--
Dean Earley (***@icode.co.uk)
i-Catcher Development Team

iCode Systems
Loading...