Re: VB6 Application Configuration

From: alpine (alpine_don'tsendspam_at_mvps.org)
Date: 01/27/05


Date: Wed, 26 Jan 2005 19:37:53 -0700

On Wed, 26 Jan 2005 17:45:02 -0800, "Danny"
<dansacsinc.com@newsgroup.nospam> wrote:

>I recently added xpstyles to my vb6 applications. I am using a resource file
>that includes the manifest. My development computer is xp pro using vb6 sp6.
> Applications compiled on this computer run fine on xp, 2003, 2000 and 98.
>If I take my source code and recompile the application on my laptop running
>windows 2000, it compiles correctly and runs on the 2000 machine. It however
>receives an error when it runs on windows XP. I get "This application has
>failed to start because the application configuration is incorrect.". If I
>recompile the application on my xp computer, it runs ok on XP and 2000.
>
>I have verified that the ocx's that I use are the same version on both
>computers. I suspect it has something to do with the resource file's
>manifest information. There is very little information on the web regarding
>this error.
>
>Can anyone point me in the right direction? I would like to be able to
>compile my source on my lap and get the same results as my xp computer.

Are you initializing the common controls library before loading any
forms?

HTH,
Bryan
____________________________________________________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
alpine_don'tsendspam@mvps.org Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas



Relevant Pages

  • Re: CREATEPROCESS Question
    ... this isn't just a spurious recompile. ... source code changes should normally be needed except in rare special ... commercial applications. ... For an operating system API, it can be a pretty big one. ...
    (comp.lang.fortran)
  • Re: pgm object/source comparison
    ... match date/time for each module. ... >> I have developed a concern recently that the source code may not match ... I recently had to recompile about 50 programs; ... >> George Applegate ...
    (comp.sys.ibm.as400.misc)
  • Re: MS Word - what a mickey mouse pile of sh!t.
    ... I like the fact that you can modify the source code, ... can recompile it with optimization flags specific to your processor. ... There are some features of Word that I may ...
    (microsoft.public.word.newusers)
  • Re: LE question about COBOL compatibility
    ... having the source code to recompile. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)