There are a multitude of reasons that this could occur,  the most obvious it
that you did your compile on XP SP2.     It is always a good idea to do the
final compile on a machine with the oldest O/S you intend to support.

An old PC box with win98 and nothing other than VB is a good choice,
although Win2k would be ok if you are not supporting win98.   Many calls to
'inherent' objects and classes. Not to mention things like O/S specific OCX
versions tend to change a little with each subsequent release of windows.

Until now Microsoft have done a reasonable job of maintaining backward
compatabilty in these things. I will not say good, as XP has a habit of
breaking code written on older O/S , particularly if it is written in a non
approved manner.  Hence the vast majority of programs that will compile and
run without error on win 95/win98 will perform quite well on latter versions
of the O/S.  the reverse is not true!

BTW.  Look out for the new upcoming version of windows.  Reports and rumour
indicate that it will break just about any program written for an earlier
version of windows.  Also use the file open/save/save as  dialog with
extreme care.  The ocx is in itself buggy and can cause all sorts of weird
errors.  This is particularly so of the one in VB6.  The VB5 control was a
better control, being simply a wrapper for the API.   In VB6 Microsoft
toddled off and made an OCX that did it all, independent of the underlying
API.   This is the primary cause of XP style controls not appearing in XP.
----- Original Message ----- 
From: "Raheel" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 30, 2005 5:05 PM
Subject: [vbhelp] Pls help - VB reports not working


>
>
> I made working-(tested) VB Data Reports but they are
> not working in anothor PC as after i transfer it into
> another computer, While all the forms are working
> fine.
>
> The runtime error is Written below:
>
> "  Type mismatch in expression  "
>
> while the same reports are working perfectly
> in my 1st PC, Let me tell u that I made this project
> in WINXP SP2 and transfered it in to another PC with
> Win2000 Pro installed.
>
> Does that make any diff/error.
>
> Any quick idea/solution for this problem is highly
> appreciated.
>
> Hope to get an immediate response
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
>
>
>
>
>
>
> '// =======================================================
>     Rules : http://ReliableAnswers.com/List/Rules.asp
>     Home  : http://groups.yahoo.com/group/vbHelp/
>     =======================================================
>     Post  : [email protected]
>     Join  : [EMAIL PROTECTED]
>     Leave : [EMAIL PROTECTED]
> '// =======================================================
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.8.5 - Release Date: 29-Mar-2005
>
>




'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to