Oddity with compiling project

olted
08-13-2002, 03:59 AM
Hey...

I've been programming in VB for about 10 years now and I've never seen anything like this.

I compile my project on computer A. It runs perfectly on computer A. When run on Computer B, it just beeps and quits.

I took the same exact code and recompiled on in computer B. This runs perfectly on computer B, and only beeps on computer A.

Whats more, I put a msgbox as the first line of the load sub of the initial form, and that never appears.

I use 3 standard ocxs, and one ocx i made. I believe that my ocx is registered correctly.

I am really confused... if anyone has had this happen before, or has any ideas... please contact me.

Thanks
-Josh

olted
08-13-2002, 04:00 AM
I forgot to mention that both machines are running XP

Thinker
08-13-2002, 04:12 PM
I assume your .OCX project is part of a project group and you are
recompiling it on both computers. This is causing different GUIDs
to be generated and for all practical purposes, the OCXs aren't
compatible. This is just a guess, but it is the best possibility I can
see from your description of the problem.

olted
08-13-2002, 04:29 PM
I used the same ocx's on both computers. However, I had updated the ocx several times and VB decided to up the OCX registration or whatever number to like 15.

However, I found a way around using the ocx. It was more trouble than it was worth, and now its working okay without the ocx.

Thanks
-Josh

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum