Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1003

Re: 64 bit Windows install difficulty

From "Mike Williams" <Mike@WhiskyAndCoke.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: 64 bit Windows install difficulty
Date 2012-03-20 10:29 +0000
Organization A noiseless patient Spider
Message-ID <jk9m5j$o9v$1@dont-email.me> (permalink)
References (7 earlier) <b04em7pesmti0o85092bdksbqrb9l1hov8@4ax.com> <26795801.2392.1332162041006.JavaMail.geo-discussion-forums@vbkc1> <14127446.381.1332176755304.JavaMail.geo-discussion-forums@vbbp15> <jk7v1q$dgg$1@dont-email.me> <18949830.2160.1332197425379.JavaMail.geo-discussion-forums@vbux23>

Show all headers | View raw


<peter.lawton@blueyonder.co.uk> wrote in message 
news:18949830.2160.1332197425379.JavaMail.geo-discussion-forums@vbux23...

> Your experiment on your wife's computer - where was the
> VB5 application residing? Was it in Program files (x86)?

Initially it was in a folder on the desktop, just as a quick test, and it 
worked fine there. I then placed it into a folder in Program Files (X86) and 
it worked fine there as well. The important thing is that, wherever it was, 
the msvbvm50.dll was in the same folder with it. These were manual tests 
though, where I placed the folder with the VB5 application and the 
msvbvm50.dll file manually onto the machine, and I did it that way simply to 
prove (at least to myself on the machines I currently have access to) that a 
VB5 application will happily run when the only copy of msvbvm50.dll is in 
the same folder with it, whether that copy of msvbvm50.dll is registered or 
not. The same is true for a VB6 application (on machines where msvbvm60.dll 
is deliberately unregistered and all references to it removed from the 
registry), except that in a recent thread here we established that for one 
specific thing to work (VB6 PropertyBags) a registered copy of msvbvm60.dll 
is required.

> I do have two users reporting install failure on 64 bit
> machines, and with the same error message, referring
> to msvbvm50.dll. Something's going on....

Yep, clearly something is going wrong there. It could be anti virus action, 
as both I and others have suggested, although in my own experience the more 
aggressive anti virus programs, such as the Sonar protection in Norton, tend 
to pull the plug only when you do something they regard as suspicious, such 
as running a compiled exe within a batch file. However, I think is what you 
were doing at one stage? (I've lost track of the details now). On my wife's 
Win7 64 bit machine Norton's Sonar was deleting the VB5 program under such 
circumstances, but other things on other machines might delete the DLL it is 
attempting to use. Clearly, using a batch file for such things is going to 
lead to problems on some machines.

I think it would be best to stay away from batch files anyway for such 
purposes because Windows itself can cause problems when you use a batch file 
to run a compiled exe. For example, I have just turned off Norton's Sonar 
for a while so it does not get in the way and I used the following simple 
batch file to run a compiled exe (the exe in the same folder as the batch 
file):

        start mike.exe

It works fine when you run the batch file normally, and mike.exe runs. 
However, if you run the batch file using Run as Administrator then it fails 
and Windows pops up the error message "Windows cannot find mike.exe", 
although of course mike.exe is clearly there and nothing either now or later 
deletes it under these circumstances. This happens both on my wife's 
Windows7 64 bit machine and on my own Vista 32 bit machine. At first I 
thought it might be because Windows did not like piggy backing under such 
circumstances but it still happens even if I embed an Admin Privileges 
manifest into mike.exe. I haven't looked any further into it yet, and I 
probably won't do, but I think in general that batch files should be avoided 
for such things.

> I've got VB6, Mike, although I've never installed or used it.
> I just didn't realise it was relevant until mayana pointed out
> that the VB6 runtimes come with Windows.

That's good, and it makes all the above a bit academic now, but it was an 
interesting exercise nonetheless ;-)

Mike


Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-15 16:25 -0700
  Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-15 20:34 -0500
    Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-16 08:49 -0700
      Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-16 12:33 -0500
  Re: 64 bit Windows install difficulty H-Man <Spam@bites.fs> - 2012-03-16 13:53 -0600
  Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-16 21:56 -0500
    Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 06:23 -0700
      Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 15:51 +0000
        Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 11:07 -0700
          Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-18 13:38 -0500
          Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 20:41 +0000
            Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 14:06 -0700
              Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 22:43 +0000
            Re: 64 bit Windows install difficulty GS <gs@somewhere.net> - 2012-03-18 18:49 -0400
              Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-18 23:09 +0000
                Re: 64 bit Windows install difficulty GS <gs@somewhere.net> - 2012-03-18 19:15 -0400
                Re: 64 bit Windows install difficulty GS <gs@somewhere.net> - 2012-03-18 19:26 -0400
      Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-18 11:54 -0500
        Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-18 11:47 -0700
          Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-18 19:09 -0500
          Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-18 22:11 -0500
            Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 01:07 -0700
              Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-19 10:14 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 05:03 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 07:20 -0500
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-19 14:55 +0000
              Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 07:05 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 06:00 -0700
                Re: 64 bit Windows install difficulty "Mayayana" <mayayana@invalid.nospam> - 2012-03-19 09:31 -0500
                Re: 64 bit Windows install difficulty "Mayayana" <mayayana@invalid.nospam> - 2012-03-19 10:15 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 08:18 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 09:36 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 10:05 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-19 18:48 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-19 15:50 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 20:42 -0500
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-20 11:09 +0000
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-20 08:32 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-20 08:52 -0700
                Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-20 15:34 -0500
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-20 16:07 -0500
                Re: 64 bit Windows install difficulty "Farnsworth" <nospam@nospam.com> - 2012-03-21 14:00 -0500
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-21 14:20 -0500
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-20 10:29 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-20 08:46 -0700
                Re: 64 bit Windows install difficulty ralph <nt_consulting64@yahoo.net> - 2012-03-19 20:12 -0500
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-21 01:29 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-21 09:57 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-21 04:57 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-21 13:14 +0000
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-21 15:29 +0000
                Re: 64 bit Windows install difficulty peter.lawton@blueyonder.co.uk - 2012-03-21 09:47 -0700
                Re: 64 bit Windows install difficulty "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-22 11:11 +0000
                Re: 64 bit Windows install difficulty chinamicah@gmail.com - 2012-04-15 16:12 -0700
                Re: 64 bit Windows install difficulty "Mayayana" <mayayana@invalid.nospam> - 2012-03-19 09:32 -0500

csiph-web