473,659 Members | 2,636 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referencing Object Libraries through vbscript

47 New Member
Hello everyone again!

I have an MS Access 2003 application that I developed and will be distributed to many people on many computers. When I tested my Application from home I recieved an error that I was missing a reference to the package MS Office 12 object library. That is because I am using a different version at home which uses MS Office 11 Object library. I imagine that with distributing this application to many people some of them may not have Object Library 12.

I am wondering if there is a way around this error so I can avoid making the user create the reference themselves (I have little faith in the user). Can I code something to import the package?

Any suggestions will be appreciated!

Thanks.
Jul 24 '07 #1
3 1818
jschmidt
47 New Member
Hello everyone again!

I have an MS Access 2003 application that I developed and will be distributed to many people on many computers. When I tested my Application from home I recieved an error that I was missing a reference to the package MS Office 12 object library. That is because I am using a different version at home which uses MS Office 11 Object library. I imagine that with distributing this application to many people some of them may not have Object Library 12.

I am wondering if there is a way around this error so I can avoid making the user create the reference themselves (I have little faith in the user). Can I code something to import the package?

Any suggestions will be appreciated!

Thanks.
Is this even possible? Or do you always have to go into the vb window to set the reference?
Jul 24 '07 #2
jschmidt
47 New Member
No one knows if this is possible or how to do it? I realy need this to work. It is going into production Aug 17th and will need to be a seemless release. So if anyone knows yes/no if this is possible please let me know. Thanks.
Jul 24 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hello everyone again!

I have an MS Access 2003 application that I developed and will be distributed to many people on many computers. When I tested my Application from home I recieved an error that I was missing a reference to the package MS Office 12 object library. That is because I am using a different version at home which uses MS Office 11 Object library. I imagine that with distributing this application to many people some of them may not have Object Library 12.

I am wondering if there is a way around this error so I can avoid making the user create the reference themselves (I have little faith in the user). Can I code something to import the package?

Any suggestions will be appreciated!

Thanks.
Make your standard reference to the MS Office 11 Object library and make sure your code compiles with this library.
Jul 30 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1787
by: Alexander Landgraf | last post by:
Hi group, I am not sure if this is the correct place for my question. If not, please tell me. I tried to compile Python 2.3.4 under AT&T MP RAS SVR4: $./configure --prefix=${HOME} --with-threads=no $make but make fails because each invocation of ld causes errors like:
13
7770
by: Patrick | last post by:
I understand that with IIS5.1 on Windows XP Professional SP1, I can 1) Either set under IIS Manager-> Any specific Virtual Directory-> Configuration->Options->ASP Script timeout for all pages within that directory OR 2) Within a specific page, set the timeout as per http://www.microsoft.com/windows2000/en/server/iis/default.asp?url=/windows2000/en/server/iis/htm/asp/vbob246s.htm e.g. <% Server.ScriptTimeout = 1 %> and that the value in...
11
9243
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
6
1985
by: Daniel Bass | last post by:
The scenario: ------------- I've created a simple COM object according to a tutorial I found: http://www.csharphelp.com/archives/archive281.html It automatically creates a Type Library (TLB) so that I can hook into the object using the virtual table provided in the tlb file.
16
1999
by: PromisedOyster | last post by:
Hi I have a situation where I want to use circular referencing. I have cut down the example for demonstration purposes. Say we have one executable (main.exe) and two DLLS (A1.dll and A2.dll). Main can access classes in A1 and A2; A1 can access classes in A2. However, I now want to access classes in A1 from A2. I cannot simply create a third DLL as the A1/A2 assemblies use other classes within
2
3333
by: VinDotNet | last post by:
Here's the Scenario I am facing: I've got a winform managed c++ client which connects to my managed COM+ server application (by making createinstance, then typecasting the object to an interface, then calling methods over it). This COM+ server application is from a C# dll that has references to Interop dlls (com type libraries written in unmanaged c++) and MC++ wrappers over unmanaged c++ code. I've got object pooling enabled with (Min : 0...
0
1377
by: Frank | last post by:
I am attempting to convert an asp file to a asp.net file using C#. The original file has an ActiveX control which is contained in a cab file. The cab file contains the .ocx file which connects to a socket and transfers client info to a server, as well as several .dlls The cab file also references another cab file which contains files to install on the client machine in case they do not have VBRuntime6 installed on their machine.
9
1590
by: Brett Romero | last post by:
Say I have a library (A.dll) with a method that accepts a collection of a specific type. The type is defined in B.dll. In A.dll, I need to loop through this collection and reference fields of the type. For example, a Person type. It may have arm, leg, feet, and hands. Hands is a collection containing types of fingers. The only way to get at fingers is by accepting the parameter as its true type. This means I'll need a file...
1
1974
by: DR | last post by:
when i reference a com object by regsvr32 it then find it in the COM tab, it works ok. but when i reference a com object by referencing the .dll file i get this error in my C# application: Error 1 The "ResolveManifestFiles" task failed unexpectedly. System.ArgumentException: Illegal characters in path. at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String str) at
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8751
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8539
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8630
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4176
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4342
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.