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

New information on Access object registration

http://msdn.microsoft.com/msdnmag/is...M/default.aspx
Simplify App Deployment with ClickOnce and Registration-Free COM

When you

set app = createobject("Access.application.11")

you magically get an access application object.

but sometimes it doesn't work correctly, and you re-install or delve into
the registry to see what you can find.

I've been doing this for years, and we actually change the registry
information so that we can script secured applications in the development
process.

But a couple of years ago, I noticed that fixing the path to the access
executable no longer worked. It's not used. There is a new REG_MULTI_SZ
value, which is not plain text, and if it is present, the text path is
ignored.

Reading between the lines, I guessed that the new registry value was some
kind of reference to the installation manifest, but although I've posted
occasional requests here and there, I've never before found any information.
I assume that the new Access/Office shortcuts do the same thing (the ones
that have no path or icon information if you look at the shortcut
properties)

So there you are: the first published information I've found on the way
access objects are registered.

You'll notice that the page title is actually about 'registration-free' COM.
That just means that if you know the new information, you don't even need to
look in the registry: you can use it directly with the win API:
http://msdn.microsoft.com/library/de...asp?frame=true

Creating Registration-Free COM Objects

Taking a wider view, this is all about using separate INI files for each
application, instead of storing everything in the windows registry. Except
now, the INI files are written in XML. And if you don't know the name of the
INI file, you can look it up in the registry. And if there is no INI file,
you can use values from the registry.
Pleased as am to see this, I still don't know exactly what the value means
at

hklm\Access.Application.11\shell\new\command\comma nd
(f'^Vn-}f(ZXfeAR6.jiACCESSFiles>oR2'wFjgZA{MZbEq}_6_ /NOSTARTUP /n "%1"
(david)
Apr 21 '06 #1
1 1782
"david epsom dot com dot au" <david@epsomdotcomdotau> wrote in
news:44***********************@lon-reader.news.telstra.net:
http://msdn.microsoft.com/msdnmag/is...M/default.aspx
Simplify App Deployment with ClickOnce and Registration-Free COM

When you

set app = createobject("Access.application.11")

you magically get an access application object.

but sometimes it doesn't work correctly, and you re-install or delve
into the registry to see what you can find.

I've been doing this for years, and we actually change the registry
information so that we can script secured applications in the
development process.

But a couple of years ago, I noticed that fixing the path to the
access executable no longer worked. It's not used. There is a new
REG_MULTI_SZ value, which is not plain text, and if it is present, the
text path is ignored.

Reading between the lines, I guessed that the new registry value was
some kind of reference to the installation manifest, but although I've
posted occasional requests here and there, I've never before found any
information. I assume that the new Access/Office shortcuts do the same
thing (the ones that have no path or icon information if you look at
the shortcut properties)

So there you are: the first published information I've found on the
way access objects are registered.

You'll notice that the page title is actually about
'registration-free' COM. That just means that if you know the new
information, you don't even need to look in the registry: you can use
it directly with the win API:
http://msdn.microsoft.com/library/de...y/en-us/sbscs/
setup/creating_registration-free_com_objects.asp?frame=true

Creating Registration-Free COM Objects

Taking a wider view, this is all about using separate INI files for
each application, instead of storing everything in the windows
registry. Except now, the INI files are written in XML. And if you
don't know the name of the INI file, you can look it up in the
registry. And if there is no INI file, you can use values from the
registry.

Pleased as am to see this, I still don't know exactly what the value
means at

hklm\Access.Application.11\shell\new\command\comma nd
(f'^Vn-}f(ZXfeAR6.jiACCESSFiles>oR2'wFjgZA{MZbEq}_6_ /NOSTARTUP /n
"%1"

(david)


Arrrrrrrrgggggggghhhhhhhh!

Thanks, David. It's stuff we should know I suppose, but may not be happy
about learning, or perhaps not happy that it adds one more level to the
complexity of MS.
--
Lyle Fairfield
Apr 21 '06 #2

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

Similar topics

1
by: Martin Lucas-Smith | last post by:
Perhaps I'm using the wrong terminology, but is object delegation (as opposed to inheritance) possible?, i.e. the line $this->registration->displayStatus; in the example below. E.g. if...
0
by: jphelan | last post by:
I have a subform that works fine until you import it into a new database when it crashes if you try to open it in either disign or form view. The form, "Attendees_Subform" in my application was...
2
by: paul meaney | last post by:
All, myself and another developer have been staring blankly at a screen for the past 48 hours and are wondering just what stunningly obvious thing we are missing. We are trying to load up 2...
2
by: Sandy | last post by:
Hello - I have a registration page that could be altered slightly for different kinds of registrations if I was able to access the show/hide, enable/disable features from a page where people...
0
by: rlueneberg | last post by:
I am getting this error when trying to add typed object "Questions" to Arraylist QuestionsList: Object reference not set to an instance of an object. --> r.QuestionsList.Add(q); I tried...
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
1
by: VAXman- | last post by:
I have code which is created from a content mamagement system. It places some handlers on tags with in-line registration: <tag... onmousedown="mousedownHandler(this);" ...> I want to...
6
by: Wesley Peace | last post by:
I hate to cross post, but I've gotten no answer yet on a problem I'm having with visual studio 2008. I've created a series of forms with controls to access a Access database tables. The...
6
by: kfanarmy | last post by:
Hello; I am attempting to use a command button "Delete Current Assignment Record" on a form to delete a user-selected record from a table entitled "Registration" with Key field "Registration ID"....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
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...
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
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...

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.