last day (14 days later) » 

3:31 AM
@Hosch250 you downloaded x64?
 
@Mat'sMug A while ago. You sent it to me, and I got the same error message.
 
does the github download work?
 
I downloaded it about two days ago, any changes?
 
well I uploaded the x64 installer about 22 hours ago...
v1.21
 
Oh, OK.
Have the link handy?
 
3:34 AM
can you please try it (clean install - uninstall previous version first just to be sure) and let me know if it works?
 
woopsie
 
'Rubberduck' could not be loaded.
Remove it ...
 
ugh. as I thought.
don't.
you'll have to run regasm.exe {install-folder}\rubberduck.dll /codebase /tlb for it to register correctly
I messed up
 
Where, in Run?
Or the command prompt?
 
3:40 AM
admin command prompt
 
OK, so what is the install folder?
Is it C:\Users\username\Roaming\ ?
 
yup
\Rubberduck.Install
 
OK.
I installed it, but I only see an Intel folder.
OK, so should I include the braces?
 
nope
it's just a path
make sure you run regasm.exe under the .net 4 runtime
 
So, ...\Rubberduck.install\rubberduck.dll?
Can it be 4.5?
 
3:44 AM
I know 4.0 works. no idea about registering against 4.5
 
I think I'm running the latest 4.5 version.
It probably will work.
 
me too
 
What about ...\Rubberduck.install\rubberduck.dll?
Apparently regasm isn't a command.
regasm.exe, I mean.
 
c:\windows\microsoft.net\framework64\v4.0.30319\regasm.exe c:\users\{yourname}\appdata\roaming\rubberduck.install\rubberduck.dll /codebase /tlb
^^
 
OK, got it.
It works now, but how do I run a test?
 
3:50 AM
launch Excel :)
 
Isn't it Assert.IsTrue(True)?
I'm in Word ATM.
OK, succeeded.
OK.
 
so it works now?
 
Well, it was working.
 
was?
what code you have?
 
I managed to break it with my deep knowledge of VBA.
Option Explicit
Option Private Module

'@TestModule
Private Assert As New Rubberduck.AssertClass

'@ModuleInitialize
Public Sub ModuleInitialize()
    'this method runs once per module.
End Sub

'@ModuleCleanup
Public Sub ModuleCleanup()
    'this method runs once per module.
End Sub

'@TestInitialize
Public Sub TestInitialize()
    'this method runs before every test in the module.
End Sub

'@TestCleanup
Public Sub TestCleanup()
    'this method runs afer every test in the module.
End Sub

'@TestMethod
 
3:55 AM
drop the parentheses - VBA doesn't like 'em
Assert.IsTrue True
 
I just added a test module and test method, got it working, changed something I didn't mean to, and broke it.
OK, it is working with the parenthesis too.
 
it will bite you if it turns into a habit
 
Yeah, it is working cool now.
So, are you going to be able to fix it quick now you know the problem?
Or is it going to be complex?
Also, are you going to be able to make it so we don't have to clean-install soon?
 
that was just a precaution, it should just work.
 
OK.
 
3:59 AM
but it looks like the installer isn't registering the correct build version number
 
Why don't you install it in C:\Program Files?
 
because I want to get to a non-admin install at one point. besides VBE add-ins are per-user anyway
 
Oh, OK.
 
if you search your registry for.. hold on....
HKCU\Software\Classes\CLSID\{8D052AD8-BBD2-4C59-8DEC-F697CA1F8A66}\InprocServer‌​32
I bet you have 1.21.5553.41038 there, and another
the installer registered for build 41038
regasm registered the other
in other words it's registering a version that isn't the version being installed...
 
I don't have either.
 
4:03 AM
huh?
 
HKEY-Current-User
I don't even have {8D052AD8 .... }
I have HKEY_CURRENT_USER\Software\Classes\CLSID\{F8071786-1FD0-4A66-81A1-3CBE29274458}
And in there is InprocServer32
And in there I have two items.
 
and the class is Rubberduck._Extension???
 
A SkyDrive thingy labeled (Default), and a ThreadingModel thing.
I don't see Rubberduck anywhere.
 
woah
so the installer isn't registering anything at all??
 
If I scroll down, I see a bunch of RubberDuck items under HKEY_CURRENT_USER\Software\Classes\
 
4:07 AM
make a search for the 8D052AD8... guid, I need to know where regedit put it
 
Like Rubberduck.AssertClass, Rubberduck.Extension, and a ton of others.
 
6
plus one called Record
 
HKEY_CLASSES_ROOT\CLSID\{8D052AD8-BBD2-4C59-8DEC-F697CA1F8A66}
There you go.
 
that's a mirror for either HKCU or HKCM \Software\Classes\CLSID
so, it's not under HKCU, can you confirm it's under HKCM?
 
huh?
I don't have an HKCM.
 
4:10 AM
of course you have it
HKEY_CURRENT_MACHINE
 
Nope, I don't.
It is called HKEY_LOCAL_MACHINE.
 
bleh
yeah
lol
 
Yes, it is there.
 
50 messages moved from The 2nd Monitor
 
4:42 AM
room topic changed to Rubberduck Support: Help using Rubberduck open-source VBA add-in [api] [code-review] [unit-testing] [vba]
 

last day (14 days later) »