473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Weird Type Mismatch Error

It's a long story, but our application needs to run in Access 97.
All of the computers in our organisation also run Access 2003. . .

C++ code launches our Access reports via a VB 6.0 program.

I added code to the VB6 to specify Access.Application.8 object.
This was meant to ensure that our reports open in Access 97 and not
Access 2003.

It got though testing and works for the most part, but here comes the
weird stuff . . . .

When Access 2003 has not been deployed (ie. run for the first time)
users are getting Error 13: Type Mismatch ??

It seems that Access.Application.8 is only valid if there is another
version of Access registered on a machine (and not just Access 97).

This is really painful because the SOE states that Access 2003 is an
all machines, the problem is it isn't necessarily "deployed" /
registered properly !?!?

Does anyone have words of wisdom that may help ??

Regards
PeaceMan

Apr 18 '07 #1
1 2138
On 17 Apr 2007 20:28:05 -0700, PeaceManGroove
<gr*********@hotmail.comwrote:

I used to think as well that:
CreateObject("Access.Application.8")
creates an A97 object. Not necessarily so. There is a MSFT article
about this (if I recall correctly it's more general in nature,
addressing any com component e.g. adodb.connection.2.5 has the same
problem). I'm sure you can find it.

-Tom.

>It's a long story, but our application needs to run in Access 97.
All of the computers in our organisation also run Access 2003. . .

C++ code launches our Access reports via a VB 6.0 program.

I added code to the VB6 to specify Access.Application.8 object.
This was meant to ensure that our reports open in Access 97 and not
Access 2003.

It got though testing and works for the most part, but here comes the
weird stuff . . . .

When Access 2003 has not been deployed (ie. run for the first time)
users are getting Error 13: Type Mismatch ??

It seems that Access.Application.8 is only valid if there is another
version of Access registered on a machine (and not just Access 97).

This is really painful because the SOE states that Access 2003 is an
all machines, the problem is it isn't necessarily "deployed" /
registered properly !?!?

Does anyone have words of wisdom that may help ??

Regards
PeaceMan
Apr 18 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Arun Wadhawan | last post by:
Hello MY SQL Server is causing me this problem : Microsoft VBScript runtime error '800a000d' Type mismatch: 'ident' >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am getting from...
1
by: LJgrnl | last post by:
I've got a type mismatch error that's driving me nutty. Variable blnNoData has the initial value False. If a recordset comes back empty (both .EOF and ..BOF are true) then blnNoData is set to...
4
by: Mike | last post by:
I am getting a type mismatch error when I do a bulk insert. ---Begin Error Msg--- Server: Msg 4864, Level 16, State 1, Line 1 Bulk insert data conversion error (type mismatch) for row 1, column...
0
by: news.paradise.net.nz | last post by:
I have been developing access databases for over 5 years. I have a large database and I have struck this problem with it before but can find nothing in help or online. Access 2000 I have a query...
3
by: amitbadgi | last post by:
I am getting teh following error while converting an asp application to asp.net, Exception Details: System.Runtime.InteropServices.COMException: Type mismatch. Source Error: Line...
1
by: Brett | last post by:
I have a form that calls a method within a DLL. By clicking a button on the form, the DLL is instantiated and the SaveOutlookMessage() method invoked. The DLL code copies messages from Outlook to...
6
by: Howard Kaikow | last post by:
I'm doing a VB 6 project in which I am trying to protect against type mismatch errors. Is the process any different in VB .NET? Here's what I'm doing in VB 6. I have an ActiveX DLL. The...
19
by: zz12 | last post by:
Hello, is there a setting in IIS 5.0 that would quickly fix the following error?: Microsoft VBScript runtime (0x800A000D) Type mismatch It's strange because some of our .asp pages were...
1
by: nckinfutz | last post by:
hello, I am having a problem with an access database. this is not my database and I did not create it, nor am I very good at access. however, I am a network engineer and that is why this problem...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.