« first day (432 days earlier)      last day (2748 days later) » 

00:01
RELOAD!
[Cardshifter/Cardshifter] 5 commits. 2 opened issues. 1 closed issue. 7 issue comments. 229 additions. 113 deletions.
[Cardshifter/HTML-Client] 18 commits. 2 opened issues. 6 issue comments. 2254 additions. 1259 deletions.
[Hosch250/VSDiagnostics] 2 commits. 431 additions. 49 deletions.
[rubberduck-vba/Rubberduck] 1 issue comment.
[Vannevelj/RoslynTester] 1 opened issue.
[Vannevelj/VSDiagnostics] 4 commits. 1 opened issue. 1 closed issue. 1 issue comment. 1349 additions. 47 deletions.
[Vannevelj/VSDiagnostics] 1 commit. 1 closed issue. 543 additions. 6 deletions.
> From the stack trace @jsmuise gave us, I would be tempted to blame this code:

~HostApplicationBase()
{
Marshal.ReleaseComObject(Application);
}

`ReleaseComObject` will throw a `NullReferenceException` when its argument is `null`, which is also compatible with the stack trace shown.

This would fix it:

~HostApplicationBase()
{
if (Application != null)
{
Marshal.ReleaseComObject(Applicat
> The generic class `HostApplicationBase<TApplication>`, under `Rubberduck.VBEditor.VBEHost`, has a finalizer that calls `Marshal.ReleaseComObject()` to release the host app instance:

~HostApplicationBase()
{
Marshal.ReleaseComObject(Application);
}

For some reason that needs to be investigated, `Application` can be `null` at that point, and `ReleaseComObject` throws a `NullReferenceException` when that's the case, that isn't handled.

This simple c
@Duga Oh cool I understood something :D
00:23
#csharp #opensource Up for grabs: https://github.com/rubberduck-vba/Rubberduck/issues/744
01:08
I will award a very, very generous bounty to anyone that can answer this: http://stackoverflow.com/q/31954364/1188513
 
1 hour later…
02:28
> This SO question might help. I'm willing to award a +500 bounty to whoever has an answer that translates into RD 2.0 supporting unit tests in Outlook.
03:20
> Probably related to the fact that [Master] has no reference to Microsoft.Office.Interop.Outlook, and Application is referring to Microsoft.Vbe.Interop.Application - see OutlookApp.cs on Master
 
1 hour later…
04:26
in TCG Creation, 3 mins ago, by Duga
[Cardshifter/Cardshifter] Phrancis pushed commit 63b47bc8 to mods: Documentation is like sex; when it is good, it is very, very good; and when it is bad, it is better than nothing. (attempt at documenting Orde of Things)
#EnoughSaid
05:09
@Duga possibility: the access violation is just happening in my dev branch. That code is worth a shot off a fresh fork
 
9 hours later…
14:30
> @rossknudsen Sorry I've been away for awhile. I just got a new computer with Access 2013 (32-bit) and this is still an issue. The specific scenario is that I normally run with a Standard (i.e., non-Administrator) local Windows account (Principle of least privilege, and all that). I have a separate Admin account that I use for installs, etc.
The problem comes in when I run the installer. The Addin key gets created in the HKCU of the *Admin* account. When I run Access, I run it as the non-Ad
> I'm not sure the best workaround for this. I use Inno-Setup extensively myself, and I've not come up with a reliable way to handle this problem. I usually resort to setting these keys via another program that I know will be run by the local user at some point; that's not really an option here.

A quick and dirty option would be to include a .reg file that a user could run *only if* Rubberduck does not show up in the VBE. The .reg file would not require admin privileges because it would be
 
1 hour later…
15:45
I cannot figure out how to run a script from Outlook.
There is no way to do it unless you know the name of the sub as described here, apparently, and we don't: social.msdn.microsoft.com/Forums/office/en-US/…
@Mat'sMug The reason you can't use reflection is it doesn't see the method.
I looked through all the members, and it doesn't see it.
Looked through the methods too.
I wonder - can we programmatically click the Run button?
No, that doesn't appear to work.
16:32
0
Q: Racetrack in... VBA?

RaystafarianSo, I took a look at the August Challenge and thought, "hey, I should try that" - but given I only really know VBA, I did it in excel. Maybe that's not the intention, but I did it anyway. Experience it on github. First thing to do is create the racetrack - Sub CreateGrid() ActiveSheet.Name ...

17:06
@Hosch250 of course we know the name of the sub we're looking for
Well, it isn't in the ThisOutlookSession.
exactly. because we're trying to run code that's in a standard module; for Outlook VBA unit tests to work it seems we need to have them in ThisOutlookSession
Yup.
which is a bit of a problem.
not a huge one
but still a problem
we can't let "Add Test Module" command run in Outlook VBA, for example
Lunch time, BBL.
17:28
> [MZ Tools has the same problem](http://www.mztools.com/v3/faq.aspx).

> If you want to install MZ-Tools 3.0 for VBA for a non-admin user, you have two approaches:

> Add the non-admin user to the "Administrators" group, log-on with that user, install MZ-Tools and remove that user from the "Administrators" group.
Make the admin user to install MZ-Tools (this step will register the dll as COM component on the machine for all users).

> With your non-admin user, search the "Windows PowerSh
17:59
> :+1:
> Good call @retailcoder. Let's leave this open until we can bundle it and add something about it in the installation section of the wiki.
18:59
> Nice thinking @ckuhn203. Makes sense that MZ-Tools would also have this issue as it is simply a limitation of the Windows user security/profile model.

@retailcoder You may want to avoid a Powershell script as PowerShell's default [ExecutionPolicy](https://technet.microsoft.com/en-us/library/hh849812.aspx) will not allow it to run:

> Restricted: Does not load configuration files or run scripts. "Restricted" is the default execution policy.

A simple .reg file would avoid that issue.
> I'll happily take a PR with any reasonable solution that means anyone installing Rubberduck can double-click on a file and the thing just works :smiley:
 
2 hours later…
21:28
> I think a *.reg file would be a very reasonable solution.

« first day (432 days earlier)      last day (2748 days later) »