473,394 Members | 1,703 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,394 software developers and data experts.

MS Access Interop

I am using access interop (object 10.0) in my application. It works
fine on my machine but when I test it on some machine which has an old
version of access then it fails. This is how I am declareing my
variable.

Dim oAccess As Access.Application

How do I resolve the issue so that it doesn't matter if it is old or
new access it works?

Any idea?

Thanks
Nov 20 '05 #1
2 1672
Hello,

i guess you can not solve this via interop. (as far as i
know)
either you use reflection and create the access object at
runtime, or you simply write your own com-wrapper class
solving this for you!

regards

tom
-----Original Message-----
I am using access interop (object 10.0) in my application. It worksfine on my machine but when I test it on some machine which has an oldversion of access then it fails. This is how I am declareing myvariable.

Dim oAccess As Access.Application

How do I resolve the issue so that it doesn't matter if it is old ornew access it works?

Any idea?

Thanks
.

Nov 20 '05 #2
Any example of any of that?

thanks

"t.********@removethis-gmx.net" <an*******@discussions.microsoft.com> wrote in message news:<17*****************************@phx.gbl>...
Hello,

i guess you can not solve this via interop. (as far as i
know)
either you use reflection and create the access object at
runtime, or you simply write your own com-wrapper class
solving this for you!

regards

tom
-----Original Message-----
I am using access interop (object 10.0) in my

application. It works
fine on my machine but when I test it on some machine

which has an old
version of access then it fails. This is how I am

declareing my
variable.

Dim oAccess As Access.Application

How do I resolve the issue so that it doesn't matter if

it is old or
new access it works?

Any idea?

Thanks
.

Nov 20 '05 #3

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

Similar topics

3
by: pcPirate | last post by:
Hi, I'm currently writing an application using C#. However, to access and update a database, I must only use rdo (due to a certain reason). I heard I can use the VB6 to make the function of...
8
by: Luminal | last post by:
Greetings Recently I've developed a C# application using an Access database. For this I use the Data.OleDb namespace. Now I have customer telling me that he can't use the application. The...
17
by: Pam Ammond | last post by:
I need to use Microsoft Access Automation within a Visual Studio 2003 program written in C# for Windows Forms. When a button is clicked in my VS.NET program, I want it to run a Microsoft Access...
1
by: Martin Carolan | last post by:
Hi there, I'm having a bit of trouble figuring out how to do this, help would be appreachiated: I have a windows form inside an exe called frmWizard, it is just a wizard interface with some...
3
by: buran | last post by:
Dear ASP.NET Programmers, I am trying to save a new created Word document, but getting the following the error. I granted the necessary rights to the ASPNET user, but I'm still getting this...
7
by: WC Lo | last post by:
I am using VBA with MS Access. Is it possible to using VB.Net on Access? Any useful links explaining this?
3
by: James Wong | last post by:
Dear all, I have an old VB6 application which can create and access Excel object. The basic definition statements are as follows: Dim appExcel As Object Dim wkb1 As Excel.Workbook Dim wks1...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
0
by: hanz032003 | last post by:
Hi All, I have a problem about using PIA(Primary Interop Assembly) in vb.net. I declare a variable handling the Microsoft.Office.Interop.Excel.Application like this dim sample as...
14
by: SimeonD | last post by:
Hi I have an access database called Sales.Mdb In vb.net 2005, I'd like to open it. Which I can do. What I can't figure out is how to figure out if Sales.Mdb is open already. If so, I want to open...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.