Re: Problems with VB6 After Windows XP Service Pack 3?

Tech-Archive recommends: Speed Up your PC by fixing your registry




"Robert" <Robert@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:24534A8B-C24B-44C9-B59A-5B7D4F4EF902@xxxxxxxxxxxxxxxx
Hello,

I have recently had problems with the VB6 IDE crashing for no apparent
reason. The only major change to my system is that I have installed
Windows
XP Service Pack 3. I have one particular application that will simply
close
the IDE and give no errors. I have another application that generates an
error that VB6 unexpectedly caused and error and will be closed. Neither
of
these instances generate an event log. I do not have Windows Firewall
turned
on and I have Visual Studio Service Pack 6 installed.

Has anyone else had any problems?


Not that this is a whole lot of help for you, but I've got 2 virtual PCs
which I've updated to WinXP SP3 (from SP2) and have had no problems with VB6
itself or apps created with VB6.

Even in order to speculate, however, we'd need to know more details about
these 2 apps. For example, do they use any features or components that SP3
updates? Does the problem only occur within the IDE or do the compiled apps
also cause these crashes? Can you install these same apps to another PC that
does NOT have SP3 installed? If so, do the apps still crash? If you don't
have Virtual PC, you might want to consider getting it because it's GREAT
for helping with these kinds of things. You can download it here:

http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx

There are also other similar programs from vendors besides MS. Virtual PC
2007 is free; however, you DO need a legitimate license for the OS and any
software you install on the VPC because for all intents and purposes, the
virtual PC *is* another computer. Windows itself is not much of an issue for
anything short-term. Simply don't activate it. Installing VB6 on multiple
VPCs isn't an issue at all (although legally I suppose you SHOULD have
licenses for VB6 for each VPC on which you install it). Other software
depends. Best to check with the software's publisher/manufacturer. For any
software that requires "activation", you could have problems and have to buy
another license to use that software on the VPC.

I find it interesting that you mentioned Windows Firewall. That's not
something that I, for one, would give much consideration to unless my app
was doing something with Windows Firewall (trying to grant itself access to
a certain port or whatever). Yet, you thought enough of it to explicitly
mention you had Windows Firewall turned off. Why?

You might have to have your app write to its own event log...including line
numbers in your app and logging each line number that executes. It might be
overkill to actually log each and every line of code...at least at first.
But sometimes, that's what you have to do to solve these kinds of issues. If
you do have to resort to that kind of logging, it should ONLY be in a
special debug version of your app. Once you've determined the issue and
corrected it (if you can), you need to remove this level of logging because
it can seriously detract from performance. For debugging purposes,
performance is not the goal. Finding and fixing the problem is the goal.

--
Mike
Microsoft MVP Visual Basic


.



Relevant Pages

  • Re: Newbie FAQ #2: Wheres the GUI?
    ... Windows is so insecure you can't download and run ... suggesting that most of the windows security features are ... install shrink-wrapped software. ... and zero-install web apps solve that. ...
    (comp.lang.lisp)
  • Re: Vista 64 and Visual Studio 6
    ... 64 and eventually Windows 7. ... Not sure exactly what to tell you other than I've been using VB6 on Vista 64 for quite some time now. ... that just means that your apps should "work" if run by a user with non-admin rights. ... MS had to support DOS apps for MANY years after DOS was declared dead. ...
    (microsoft.public.vb.general.discussion)
  • Re: VB.NET 2008 not backward compatable?
    ... I'm selling a .NET apps that are now targeting the 3.5 ... Back in the days of dialup, the VB6 runtime was not an insignificant ... It won't be Windows 8, ... download and install 88 MB of useless bloat! ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Whered that go then ..?
    ... with modern OS's) some order to the drives / data etc. ... spent six years as IT manager in charge of Windows ... boot off the install CD and do a reinstall ... especially with decent apps ...
    (uk.comp.sys.mac)
  • Re: apps dont work after installing VB Beta
    ... > winforms, is that better? ... > an actual Windows application. ... It's great for server and web apps though. ... All there really is to install it is to shut down your AV software, ...
    (microsoft.public.dotnet.framework)