472,780 Members | 1,197 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

avoiding reference problems when distributing apps

It happens much too often that I have to tell a client how to fix up missing
references when I send them an application, especially if the client is
distributing it to different users. It makes me look unprofessional (which I
guess I am to some extent). I've tried the fixuprefs() function I got from
the knowledge base (that uses the qryTestRefs and checks for error 3075),
but it doesn't seem to get called, and I still get the problem. I'm
developing in A2002 Dev. Edition with a 2000 file format.
My question is: what do people consider the best way to avoid this problem?
Can I just download the most current refs and tell my clients to do so as
well? If so, can someone point me to where I would get those?
Or, is there a better routine out there to automatically fix the problem?
If I compile an mde, I would think I woudln't get the problem, because it
would include all the library stuff it needed, no? But I do get the problem.
Is it possible to 'late-bind' everything in order to solve this? I'm not an
expert on that, but I don't think so.
Do people agree that this is one of the most difficult issues with
distributing applications, or am I just ignorant?
I've read a fair amount about this and tried lots of things, so I'm not a
total newbie, but I'm still stymied.

thanks a lot
-John
Nov 13 '05 #1
2 1741
"John Welch" <j+ohnw+elch@cal+central.com (remove +'s)> wrote in message
news:db********@enews1.newsguy.com...
It happens much too often that I have to tell a client how to fix up missing
references when I send them an application, especially if the client is
distributing it to different users. It makes me look unprofessional (which I
guess I am to some extent). [snip]
My question is: what do people consider the best way to avoid this problem?
NO additional references other than the defaults and late binding for everything
else.
Can I just download the most current refs and tell my clients to do so as
well? If so, can someone point me to where I would get those?
Or, is there a better routine out there to automatically fix the problem?
If I compile an mde, I would think I woudln't get the problem, because it
would include all the library stuff it needed, no?
Your file only has the reference which is just an entry that says "Use this
Windows resource at this location." The problem is when that resource doesn't
exist at that location.
But I do get the problem.
Is it possible to 'late-bind' everything in order to solve this? I'm not an
expert on that, but I don't think so.
The ony problem that late binding doesn't solve is if the target computer has a
different version of one of the built in reference resources. Not unheard of,
but MUCH rarer. I have never had a user with that problem.
Do people agree that this is one of the most difficult issues with
distributing applications, or am I just ignorant?


Only difficult if you insist on adding references and using early binding.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
On Sat, 23 Jul 2005 01:40:18 GMT, "Rick Brandt"
<ri*********@hotmail.com> wrote:

<clip>

Your file only has the reference which is just an entry that says "Use this
Windows resource at this location." The problem is when that resource doesn't
exist at that location. Not quite. It's more something like "Use this Windows resource with
this GUID." Windows will look it up in the registry and load it into
memory from the location where it was registered from (using
regsvr32.exe).
But I do get the problem.
Is it possible to 'late-bind' everything in order to solve this? I'm not an
expert on that, but I don't think so.
The ony problem that late binding doesn't solve is if the target computer has a
different version of one of the built in reference resources. Not unheard of,
but MUCH rarer. I have never had a user with that problem.

Most ActiveX DLLs preserve backward compatibility, so if you write
your app against the lowest common denominator you will often not have
any problems.
Do people agree that this is one of the most difficult issues with
distributing applications, or am I just ignorant?


Only difficult if you insist on adding references and using early binding.

I think there are some instances where early binding is required. Just
can't quite put my finger on it. Perhaps an Access Add-In would be one
example?

This NG has discussed code one could at at startup time to check for
broken references. I'm sure you could find it in Google.

-Tom.

Nov 13 '05 #3

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

Similar topics

14
by: Jim Hubbard | last post by:
Are you up to speed on the difficulties in using the 1.1 .Net framework? Not if you are unaware of the 1,596 issues listed at KBAlertz (http://www.kbalertz.com/technology_3.aspx). If you are...
2
by: Craig Nicol | last post by:
Hi everyone, I'm looking for some help migrating my code from Microsoft VC++ 6.0, which was not the most conformant compiler I have now discovered. I'm trying to move to .NET and I've made the...
2
by: Max | last post by:
I'm fairly new to distributing .NET applications, and so far no one is able to use the apps I create. They do run on all 3 of my machines. I include the dotnetfxredist with the setup files. One...
11
by: Just Me | last post by:
I have a solution containing many usercontrol projects. When I wish to reference a usercontrol in another project I can select either the project or the assembly. Does it make a difference which...
0
by: John Holmes | last post by:
I have a website that consists of numerous ASP.NET applications (each referred to as a website in VS 2005) which I'd like to have share a master page. My directory structure on the website is like...
8
by: StephQ | last post by:
Suppose we are performing a numerical simulation that involves calling a function that performs some stuff. This function is called inside a for loop which iterates for many (100.000) times. The...
11
by: Tina I | last post by:
Hi list, Is there a preferred way to distribute programs that depends on third party modules like PyQt, Beautifulsoup etc? I have used setuptools and just having the setup script check for the...
4
by: Robert Dailey | last post by:
Hi, I'm creating a set of command-line tools using Python. These tools manage resources for a game I'm working on. However, many people that will be using these tools will not want to install...
1
by: Carl Ganz | last post by:
I have an EXE that calls a method in a DLL. This DLL runs an import process and needs to provide feedback to a progress bar on a Form in the EXE. I can set a reference to the DLL from the EXE so...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.