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

Best place to put a VB dll

ray
Hi folks,

I have developed an MDE file in Access, and as part of it I have also
had to create a fast scheduling
calendar function, as a DLL, in VB.
At the moment the DLL gets installed and registered using Wise
Installer, which works fine but there
is a problem, insofar as whenever I have to update the calendar, I have
to send another
install disk for the dll, and a new version of the front end MDE file
which has the latest version of the dll
file compiled into it.

I am currently experimenting with AutoFEUpdater, which allows you to
store the Front end on the server, and
users automagically get new versions. This is a great little utility,
and it also allows you to copy other files
to the users C drive, such as a DLL for example.

Can I dispense with the need to send a new install disk for the DLL by
getting
AutoFEUpdater to copy the DLL file to the users C drive with the MDE,
and then somehow link to it
explicitly (using a pathname I guess) rather than needing to have it
registered on each PC? That is,
I guess, some kind of late binding scenario? Or would it have to be
registered at least once (I assume that
registration just puts a pathname into the Windows Registry), and then
allow AutoFEUpdater to copy the DLL
into the same folder as the MDE for subsequent updates?

Or should I leave the DLL on the server? If so, how would the MDE know
where it was?

Any ideas gratefully received,

Ray

Nov 13 '05 #1
1 1556

When a COM dll is registered a little bit more happens than just storing the
path in the registry.

Firstly, ensure you have binary compatibilty switched on for your VB dll
project. With this on the GUIDs for your COM interfaces are maintained
between versions of your dll (unless you do something to the external
interface to break this, but then you get a warning).

If you have binary compatibility switched on and you do not change the
external interface of your dll then, in theory, once the dll has been
deployed and registered, you can replace it by a simple file copy.
--
Terry Kreft
MVP Microsoft Access
<ra*@aic.net.au> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hi folks,

I have developed an MDE file in Access, and as part of it I have also
had to create a fast scheduling
calendar function, as a DLL, in VB.
At the moment the DLL gets installed and registered using Wise
Installer, which works fine but there
is a problem, insofar as whenever I have to update the calendar, I have
to send another
install disk for the dll, and a new version of the front end MDE file
which has the latest version of the dll
file compiled into it.

I am currently experimenting with AutoFEUpdater, which allows you to
store the Front end on the server, and
users automagically get new versions. This is a great little utility,
and it also allows you to copy other files
to the users C drive, such as a DLL for example.

Can I dispense with the need to send a new install disk for the DLL by
getting
AutoFEUpdater to copy the DLL file to the users C drive with the MDE,
and then somehow link to it
explicitly (using a pathname I guess) rather than needing to have it
registered on each PC? That is,
I guess, some kind of late binding scenario? Or would it have to be
registered at least once (I assume that
registration just puts a pathname into the Windows Registry), and then
allow AutoFEUpdater to copy the DLL
into the same folder as the MDE for subsequent updates?

Or should I leave the DLL on the server? If so, how would the MDE know
where it was?

Any ideas gratefully received,

Ray

Nov 13 '05 #2

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

Similar topics

15
by: John J | last post by:
I've written the following code into a class to search for and display the results of all races entered (The complete code is in a previous thread). I wish to amend the code so as to display the...
5
by: Fernando Lopes | last post by:
Hi there. In your opinion, where is the best place to put the connection string of a web application? Web.config, a constant into the code? I'm not using a component server, so it's not an...
4
by: Marco | last post by:
Hi to All, I'm developing an application in VB .NET. I have a question: what is the best place to save personal settings of my users? I mean, when a user uses my application, it can create a...
3
by: Robin Tucker | last post by:
I'm a bit confused about where to put my program settings. Firstly, I can choose (I suppose) between .ini, .xml or the registry. Which one is best? Secondly, *where* do I place any files I...
10
by: Mike Logan | last post by:
I am using the "contract first" design methodology. Contract First is design the WSDL first then design the server and client. However I must design my XSD/XML Schema before anything. I am...
14
by: Jon Rea | last post by:
I am currently cleaning up an application which was origainlly hashed together with speed of coding in mind and therefore contains quite a few "hacky" shortcuts. As part of this "revamping"...
4
by: Ned Balzer | last post by:
Hi all, I am pretty new to asp.net; I've done lots of classic asp, but am just beginning to get my mind wrapped around .net. What I'd like to do is include some code that tests if a user is...
2
by: WB | last post by:
I have an app that will need to store hostorical data (path & filenames) in a combo box (so that the user doesn't have to type in the same data each time the app is restarted). Is it best to keep...
14
by: testcpp | last post by:
Hi experts, What's considered the best book to learn javascript? I searched this newsgroup but the postings are over five years old, so is there a good book to learn. I've searched Amazon and...
5
by: =?GB2312?B?17/HvyBaaHVvLCBRaWFuZw==?= | last post by:
Hi, I would like to have someone comments on what's the best practice defining error codes in C. Here's what I think: solution A: using enum pros: type safe. better for debug (some debugger...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?

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.