The software company I\'m working for builds software for schools, and so our client machines are usually locked down in such a way it makes it pretty impossible for us to i
You could host the CLR inside Access:
Add a reference to mscoree (Probably C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscoree.tlb)
Sub Main()
Dim CORHost As New mscoree.CorRuntimeHost
Dim Domain As Object
Dim AssemblyFilename As String
Dim Classname As String
Dim Result As Object
AssemblyFilename = "mscorlib"
Classname = "System.Collections.ArrayList"
CORHost.Start
CORHost.CurrentDomain Domain
Set Result = Domain.CreateInstance(AssemblyFilename, Classname).Unwrap()
Result.Add "test"
MsgBox Result.Count
End Sub
This bypasses the need to use the registry. The down side of this is you have to use late binding with your objects.
You can also add a reference to mscorlib.tlb to get type information for the AppDomain class and others.