« first day (1628 days earlier)      last day (1552 days later) » 

12:00 AM
RELOAD!
[bruglesco/fleet-command] 5 commits. 320 additions. 123 deletions.
[rubberduck-vba/Rubberduck] 1 commit. 1 opened issue. 3 issue comments. 11 additions. 11 deletions.
 
Unmanaged code is what C++ or C would be using?
 
More or less, yes
 
mkay.
 
whenclr is enabled, you can still write managed code in cpp, as long youkeep to certain syntax
managed refers less to programming languagesand more to memory management / garbage collection
 
docs.microsoft.com/en-us/dotnet/api/… is an example. Just making sure the commented code is what would be written in unmanaged C/C++ vs the managed code below.
 
12:07 AM
....sorta
 
What have I misunderstood? I'm going for a hand-wavey sorta answer for now.
 
the issue is that interop makes it. Easy for you to access unmanaged resources using managed code
 
Assuming I lack the ability to fully understand the actual answer.
 
but that does not free you from not properly managing those unmanaged resources.
 
It's not a get out of jail free card. You still have to do your own due diligence to use it appropriately.
 
12:09 AM
so if you set up an say, an external declaration that involves allocating some blob of memoryforits use, golly, you betterdeallocate it when you are done amd deallocate it. Properly
using purely managed code you never even have to think about those plumbing details
but once you use interop or pinvoke. Well, you bettercode as if you were coding in unmanaged cpp
 
If you allocate the resources, you better well deallocate them?
 
Pretty much. Thats the whole reason behind the dispose pattern in fact
 
Since C/C++ doesn't do that once something falls out of scope.
I've finally gotten the idea of the dispose pattern and what it does for you.
 
it will go out of scope, all right
 
But unless you deallocate the resources they'll still be occupied.
There isn't Mommy GC to clean up after you.
 
12:19 AM
Yep!
 
Thanks for rubberducking with me to comprehension.
 
Btw if this happens, that is what you call a memory leak
 
I know what it is well enough to fully understand it.
The only way to reclaim those resources is to close the application and that releases all resources within it's domain for use again.
_Worksheet Interface states: "This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object."
What is a primary interface?
Is it just kind-of-sorta like an adapter in the sense that _Worksheet Interface talks with COM and Worksheet Interface talks with .NET?
 
@IvenBach what MS dubbed "PIA" (oh the superb acronym) for Primary Interop Assembly is really just .. Yeah that. Allows .net to interop with COM.
 
I'm trying to connect all these dots I've heard about in order to understand the bigger picture and not just be limited to VBA for add-ins. I'd much rather create an add-in using VSTO/C# and keep expanding my knowledge.
That's it for me and work today.
Time to go look at 3D printers.
</iven>
 
1:04 AM
aaand my colony died again ...
ffs, this game is BRUTAL
 
1:29 AM
hmm... maybe 1/3rd of the way through major rework of the menu \ toolbar system. Many, many things are broken, so I thought I'd run the tests... no red.
I know its kinda UI, which is kinda not testable, but... none?
ah well, ttgtb
 
2:01 AM
@mansellan imho we can do with more tests. If they have the framework, we should use it especially when we decouple the commands from the ui elements.
 
@mansellan would you happen to have RD screenshots in VB6? I need some "pics-or-it-dinna-happen" visuals for the 2.3 announcement post :)
('night!)
 
@IvenBach FWIW, knowing what I know about VSTO, I probably would not use it. Yes it is convenient but the distribution is massively complicated and bloated. It also hides the plumbing details which gets in the way of learning.
 
2:17 AM
' get the clipboard data
' magic code for is for early binding to MSForms.DataObject
With CreateObject("New:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
    .GetFromClipboard
    strData = .GetText
End With
 
Oh dear. Thats not early binding at all....
 
copy pasta takes a new meaning
 
Cobbled pasta, anyone?
 
would be nice to see Rubberduck protecting learning VBA folks from themselves
 
Parsing code is one thing, but parsing *comments?
 
2:27 AM
the amount of inspections in RD is starting to be quite impressive, I wonder how much rep Rubberduck would have if it had a SO account
answering questions with Rubberduck inspection results
an answer-bot would probably end up banned though.. but would certainly be fun to cook up
 
Comment-bot?
 
spammish
 
Yeah
 
I might buy some Twitter exposure for 2.3
heck, and Facebook
 
2:51 AM
@this What would you suggest in its place? Keep the code in an Foo.xlam add-in?
 
3:50 AM
@MathieuGuindon wouldn’t there be any meta discussion for allowing some bots to work for some languages in Stack Exchange which we could have RD as a test.
 
yeah.. pretty sure answer-bots are against the ToS :)
 
oh right terms of service so it’s a no no. So that leaves the web page or a fully functional api that something could plug into us for a reasonable response.
 
could make a Twitter bot though :)
tweets a link to the SO question with the inspection meta that answers the question
damn, it's probably something that's feasible right now
 
4:04 AM
the CE is throwing a bunch of exceptions
 
4:49 AM
@IvenBach you still can write a C# COM Add-In....
Just not with VSTO.
psst RD is a C# COM Add-In. Doesn't require VSTO....
There's also the XLL but I have no idea if that's worthwhile...
@MathieuGuindon what type of exceptions?
 
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:(no path); DataItem=null; target element is 'DataGridTemplateColumn' (HashCode=17322790); target property is 'SortDirection' (type 'Nullable`1')
System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property.; Value='False' BindingExpression:Path=EmptyUIRefreshMessageVisibility; DataItem='CodeMetricsViewModel' (HashCode=34368455); target element is 'TextBlock' (Name=''); target property is 'Visibility' (type 'Visibility')
not just the CE
 
I think that has been there for a while
 
basically... the xaml is borked here too now :)
 
in fact that's why I posted an issue some weeks ago about needing to coerce those into compile-time errors
 
System.Windows.Data Error: 6 : 'ObjectSourceConverter' converter failed to convert value '<null>' (type '<null>'); fallback value will be used, if available. BindingExpression:Path=SelectedItem; DataItem='ComboBox' (Name='ChosenFontSize'); target element is 'MenuItem' (Name=''); target property is 'FontSize' (type 'Double') NotSupportedException:'System.NotSupportedException: DoubleConverter cannot convert from (null).
   at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)
 
4:52 AM
The fact that those are exposed as a runtime errors rather than compile-time errors does not help my already low opinion of WPF....
 
5:19 AM
> Missing the module defIterable.bas which is referenced in the following classes:
List
Frame
SqlResult
Str

Is it possible to include the defIterable.bas module or has it been replaced and not updated?
 
@this I'll have to dig into RD's innards to understand it instead of just piggybacking off if it.
Can only learn so fast...
 
really, the only thing that is general is the Extension.cs
beyond that, it's free reins.
 
5:49 AM
[rubberduck-vba/Rubberduck] build for commit 18d1cc78 on unknown branch: AppVeyor build succeeded
 
6:26 AM
@mansellan - notes on parsing FRM:
//VB6 Form Structures - https://msdn.microsoft.com/en-us/library/aa241723(v=vs.60).aspx

// Known Property Values
// float - eg: PropertyName=-1.450 'Some Comment
// int - eg. PropertyName=-100 'Some Comment
// bool - eg. PropertyName=-1 'True - Any non-sero value is evaluated as True, comment is True/False but ignored
// string - eg. PropertyName="""Delimited quotes"" included!" 'Some Comment
// string - eg. propertyName=$"" '$ type hint is optional, empty strings alre allowed
@mansellan - snippet for reading VBA FRX header, and extracting FRX compound binary format document:
            Console.WriteLine("Opening Sample1.frx file...");
            FileStream openDocStream = new FileStream(docpath, FileMode.Open);

            BinaryReader br = new BinaryReader(openDocStream);
            int magic = br.ReadInt32();
            int streamSize = br.ReadInt32();
            int top = br.ReadInt32();
            int left = br.ReadInt32();
            int height = br.ReadInt32();
            int width = br.ReadInt32();

            Console.WriteLine("{0} : {1}", "Magic", magic);
@mansellan - hint: strip the first 24 bytes from the FRX file, in a hex editor, and you can then browse the streams and storages in the resulting compound-document using 7-zip.
that last one has the stream decompression algorithm implemented in VBA
 
 
3 hours later…
9:59 AM
> I'm just a VBA newbie.
>
> And I'm Sorry, I'm not a American so I'm not good at English. I hope you can understand my question.
Implying that only Americans can be good at English... o.O
 
10:10 AM
@mansellan, obviously the VBA version of FRM files has a binary refererence (filename, offset for the FRX file) but it's unclear how the VBE's parser knows the layout of the header and binary content, other than if the property name is hard-coded into the parser and the VBA VBE just handles it.
But it's unclear how the VB6 VBE parser knows the header size for properties that might be arbitrarily named. For example, if I have a 3rd-party control that must persist a binary property, presumably the VBE must ask that the control serialise/deserialize itself. Maybe it's time to read The object that came in from the code again, to fully understand that mechanism.
I think that's the closest thing to documentation, other than buying the author's old books, that exists anywhere online.
3rd party controls in VBA, are persisted inside the FRX, but I didn't ever get past handling the basic controls. Maybe there are some hints in the OFORMS document and/or the article linked above. BTW, that article should be (is?) linked to in the RD wiki.
@MathieuGuindon / @mansellan IIRC, the RootStorage question I posted on CR, didn't reflect the CreateOnStream method, with a suitably read-only argument. If you run into strange errors while trying to close a RootStorage or Stream, be sure that all of your streams, BinaryReaders and RootStorage objects are opened read-only.
 
11:05 AM
@this agreed - hopefully this should make it more testable. I'll include that as a design goal.
@MathieuGuindon sure no worries, will grab some after work. did you have anything specific in mind?
@ThunderFrame awesome, many thanks :-) looking forward to hacking around with it. hope you are doing ok.
 
@mansellan TBH, was nice to have the IDE open, but alas energy levels were depleted quickly.
I had a small VBA project, pre-COM-collector, that scraped the Object Browser using send keys. If I can find it, I'll try to post it to GitHub. It's great at extracting the libraries, classes, members, signatures and help texts for a project.
It obviously skips the interfaces, and doesn't know about other things that the Com collector does, but it's useful for, say, extracting all of the name value pairs of an enumeration. And it's a useful way of auditing which members the OB does make visible, and how.
 
 
1 hour later…
12:25 PM
@Vogel612 That game seems to be entertaining. I am tempted to give it a try myself. However, I am not sure whether that would be a good idea.
 
I installed it on sunday. I have 6 hours of playtime. Not even won once, but so hooked on winning
and I didn't get to play on Sunday
 
12:43 PM
Hm, sounds a bit like my experience with factorio. Two weeks after I installed it, I had about 50 hours of playtime. (This was not during vacation.)
 
Absolutely! Let's just optimize this smelting layout before I go to bed. - 3 hours later, at the opposite end of the factory: What have I been wanting to do again?
 
1:14 PM
@M.Doerner, @Vogel612 - I think I'm afraid to ask... What game?
 
"They are billions"
 
good... something to take 10s of hours per week to keep me from working on projects around the house. Just what I need... :/
Dumb question - never installed Steam or any Steam games. What all's involved?
 
install steam. get a steam account. buy the game on steam (or somewhere else you get a steam key). If bought externally activate the key on steam. Install the Game. Play
 
sounds... difficult... ;)
 
@FreeMan I guess less than 15 minutes. :)
(Which makes it difficult to resist...)
 
1:20 PM
Yeah... I've managed to avoid most games over the last couple of years. I tend to get sucked in (which is the goal, I know) and ignore other stuff. A few quick games of MS Solitaire is one thing. Something in depth and absorbing tends to keep me up all hours and, well, that's not always good.
Hey, @this... I've had logging set to Trace for ages. I just discovered that when I installed .4124 (on 12 Nov, I guess), my logging was turned off:
2018-11-12 12:34:28.1496;INFO-2.2.0.4124;Rubberduck.Common.LogLevelHelper;Minimum log level changing from Trace to Off;
 
@FreeMan Max observed the same thing. Seems to me that when a new version is installed and the config XML doesn't have the attribute, it behaves as if you never edited the logging level.
 
ah yes, there was conversation about that yesterday...
did he open a ticket?
 
The goal is that we should run at trace level for the first run of a RD installation.
then turn it off.
 
^ +1
 
To make that decision, there's a hidden tag, UserEditedLoglevel or something, I forget.
by default it's false - and your old config file won't have that tag, either.
 
1:25 PM
Maybe instead of off set it to Fatal or Error?
 
The original behavior was Off
 
We want to set it to off.
 
ah. yeah, I guess that makes sense
 
which was not so great when they tried to report crashes at first time running after installation.
 
specifically to avoid logging anything that could be relating to the code that's in the project
 
1:26 PM
^
 
roger that.
 
anything that can compromise your data is an opt-in thing
 
Interesting, I set it to Trace and was immediately rewarded with this in a freshly created log file:
2018-11-20 08:25:42.0544;ERROR-2.2.0.4175;Rubberduck.UI.ToDoItems.ToDoExplorerViewModel;Sys‌​tem.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
 
sigh. Always something.
 
1:28 PM
something got disposed that shouldn't have been, I guess.
 
and that's why people hoard.
Would it be possible to include the method name in the "Location" column of the Code Inspection window?
I realize that some things are not in a method, but they're easy to find as they're at the top of a module
 
@FreeMan should be comparatively easy. We're creating Inspections on Declarations.
You'll need to adjust how the Location is exposed to the XAML
02-ducky, if you're unfamiliar with WPF or String formatting
01 otherwise.
 
Woot! just got my home-use Office purchase email just in time to get the new lappy!
Funny, though, the use of "estimated":
I guess that's the most correct description of pricing, as something's value is really only what the purchaser is willing to pay for it. (Or the value the purchaser sees in the item if forced to pay more.)
 
Here's the thing, though - it's not really $14.99 vs $439.99
it's actually $14.99 per monthly vs. $439.99 perpetually
 
@Vogel612 seems that initially, you thought it was 03...
 
1:39 PM
hmm ..
ya. Requires knowledge of Rubberduck's internal workings was the original classification for 03
though that label formulation needs a reformulation ...
> Involves more challenging problems, and/or the internals of the internal API.
 
@this Nope, $14.99 per perpetuity. Also, love it when MS's site won't render:
 
Ignore me then
I thought that was for O365 subscription
 
nah. Employee perk
 
Vogel, what about this... > Involves more challenging problems and/or developing within and revising the internals API
 
oh that's cool
 
updated
though the description for 04 is really cool...
> Dare?
 
@this but only at my own peril...
 
> Win10, Excel2016 Rd .4175

I'm getting a false-positive `Object variable '{x}' is assigned without the 'Set' keyword` inspection (#4318). Selecting the `Ignore once` quick fix is now non-functional (i.e. does nothing visible) and generates a stream of errors in the log.

[RubberduckLog.txt](https://github.com/rubberduck-vba/Rubberduck/files/2599988/RubberduckLog.txt)
 
@FreeMan If you intend to avoid games that suck you in, do not install Subnautica.
 
2:00 PM
@M.Doerner I will take that under advisement!
 
> Win10, Excel 2016, RD .4175

Beginning with:

Application.StatusBar = "Gathering Data: " & surveyListRS.Fields("MidName").Value

Applying the `Use 'Set' keyword` quick fix results in broken code:

Application.Set StatusBar = "Gathering Data: " & surveyListRS.Fields("MidName").Value

This might be due to the fact that it's a false positive inspection result #4318. There was a fix for #4320 that seems to be working OK, but this one isn't.

It does not appear to throw any erro
 
Would it be possible to avoid the reparse after applying an Ignore Once quick fix by incrementing a row-count somewhere in the parse tree so that everything is bumped forward exactly 1 row in that module?
It would need to take into consideration that sometimes there may already be an '@ignore on the line modified so it wouldn't increment the row count.
howdy, @DJVillareal
 
2:18 PM
@this also different usage terms. Pro-tip - buy O365 during Black Friday weekend at a discount (it can be a 3rd party seller), apply the code to your account, and if you're confident you'll be using Office 12 months from now, apply more codes, as they stack and you can lock in the discount/tax deductions now - up to 3 years of stacking IIRC.
 
GTK. Haven't had to buy one yet but will keep in mind.
 
But yes, the Office Home Use Program is a great perk, while you stay at the company. Some companies offer Office mac, Visio and Project under the same program. And if you've looked at the cost of Visio/Project, they're a really good thing to get through the Home Use Program
Even if it's just for self-training testing RD.
 
Hm, now I am thinking about getting Office2019 64-bit through the Home Use Program to test RD on it.
 
Networking question: I have a lame ISP issued DSL modem/router, but I can't get my own to connect to my ISP. So I'm hoping to just disable the DHCP server on the ISPs modem, connect my router to the ISP modem, and enable DHCP server on my router, and reboot both. Do I need to also change the DNS/NAT settings my router, or should those still apply?
@M.Doerner don't forget you'll need a 64-bit host VM too.
 
@ThunderFrame "But yes, the Office Home Use Program is a great perk, while you stay Microsoft believes you're still at the company." FTFY! ;)
 
2:31 PM
Anybody would think I'm using RD chat to cure insomnia. Damn I wish I could sleep.
 
I am using Win10 64-bit for ages now.
 
@M.Doerner IKR, never seen them check that.
 
And I actually nearly exclusively use Office for RD at home.
 
@M.Doerner my point being you can't install 32-bit and 64-bit office on the same host.
 
I almost always install x64 Office.
 
2:34 PM
IIRC, MS still defaults to 32-bit O365 installs.
 
Well, then I will just uninstall the 32-bit version.
 
Install a VM, test under either
 
The home use program offers two separate installers, IIRC.
 
@ThunderFrame Yes, because addins.
 
Anyway, got to get back to work.
 
2:35 PM
Pretty sure they'll get rid of it in the next 10 years anyway, though.
 
Nice seeing you around @ThunderFrame. Hope you can find some sleep soon.
 
Agreed ^
 
@M.Doerner I might try that Dan Appleman article... IIRC it made me sleepy last time I read it.
 
@ThunderFrame RE: the question about networking - TBH, I never tried this and it doesn't feel right. The issue is that your modem/router has the output port. I assume it also has 4 other ethernet ports. If you turn it into a dumb switch, how will it know how to route the output port to your router?
I've done it the other way, convert the router into a switch (primarily by turning off the DHCP) so that there was only one router/DHCP server in the network but the routing was always with the one that had the outgoing connection.
 
2:51 PM
@ThunderFrame Try C-SPAN or the Aus equivalent.
 
1
Q: How can I speed up this 2d Array script?

Nick LantaI have a script that takes manager names in Sheets("Mgrs") and extracts the employees that fall under each manager in Sheets("Retail Sharepoint File-Merge"). Once it finds the managers employees, it prints the array to a new worksheet and formats it and saves it based on the values I lay out. O...

 
3:31 PM
morning.
 
'morning!
 
@Duga @FreeMan Could you please test whether you get a similar result for a legitimate inspection result for a member call?
I cannot test myself because I have no RD at work.
 
hmm that's right it looks like it's assuming where the assigned expression begins
 
@Duga @MathieuGuindon - fair enough!
@M.Doerner will see if I can whip one up.
 
3:46 PM
confirmed repro; foo.Font = [A1].Font -> foo.Set Font = [A1].Font
I'll rename & reopen the issue
 
> Repro with a legit result:

Private Sub Txtforename_Change()
Dim foo As Range
Set foo = [A1]
foo.Set Font = [A1].Font
End Sub

The `Set` keyword is being inserted just before the assigned variable - which is fine *when the assignment target is a variable*.... it needs to be inserted before the first token of the `LetStmtContext`.
> The quickfix should also replace the `LET` token if it's present.

Private Sub Txtforename_Change()
Dim foo As Range
Set foo = [A1]
Let foo.Set Font = [A1].Font
End Sub
 
@M.Doerner see here :D
 
You'd think Ivanka would've learned from Clinton's fiasco.
Man, politicians these days...
Now, when I was a kid... (lol, not really.)
Oh wow. The Kingston Trio is hilarious.
Listening to a song about different groups that are trying to start wars with each other (France/Germany/Poland, South Africa/Netherlands, etc.). And it goes "and I don't like anyone very much!".
 
4:03 PM
> https://github.com/rubberduck-vba/Rubberduck/blob/next/Rubberduck.CodeAnalysis/QuickFixes/UseSetKeywordForObjectAssignmentQuickFix.cs#L17

```csharp
rewriter.InsertBefore(result.Context.Start.TokenIndex, "Set ");
```

The fix is to walk the `Context` up to the parent `LetStmtContext`, determine if a `LET` token is present, then either insert the `Set` token or replace the `Let` token - something like this:

```csharp
var letStmt = result.Context.GetAncestor<VBAParser.LetStmtContext>()
 
@Duga if this fix isn't in by the time I get home, I'll include it in my "last-minute fixes" PR
 
@MathieuGuindon :thumbsup!:
 
not too sure about 01-ducky there, but given all that's left to do is to write a handful of unit tests...
or is there a better way to do this?
 
why nobody is even maintaining this?!? unit testing framework for WPF
 
> 7 years ago
wow
 
4:14 PM
IKR?
Data binding seems to be a big problem - heck, we just had that for however long.
 
right now the only serious data binding problem seems to be with our custom up/down control
in the AC settings, the up/down control bindings never make it to the settings vm
 
the point being, as UI get more complex (and it will), we have to be able to verify that our futzing around did not inadvertently break the UI, no?
UI can't be just a one giant black hole of doom
(and yes, the fact that those are runtime errors instead of compile-time errors bugs me very much)
 
TBH I never felt the need to unit-test any UI until that custom WPF control failed to bind correctly
 
it doesn't have to be custom. If an object was changed, and a XAML bound to a property that no longer exists, then what?
 
> The `NumberPicker` custom WPF control isn't working properly at the moment; the value remains internal to the control and never makes it to the ViewModel property it means to bind to.

This is currently affecting smart concat settings, for which the maximum number of line continuations can't be modified through the settings UI.
 
4:22 PM
@this you're right - then you need to eyeball the output toolwindow
 
that assumes it actually output that. AIUI, not all errors will get output that way
and I enjoy swimming through the swamp of text for that, too!
 
IME there's always an error message
lol yeah
 
welp, then i must be something special - my work isn't generating any error message. :(
 
could be some obscure VS setting
 
#FML #Fail
 
4:25 PM
The fact that you have a "favourite" phrase for this scenario makes me wonder... — freedomn-m 10 mins ago
 
@this see Options > Debugging > Output Window > WPF Trace Settings
 
:+1: will try that
 
> Data Binding | Warning
Dependency Properties | Off
 
... that might be why, actually
in my case, the problem is with DP
(i'm getting unset value for one of DP that should be bound)
 
hmm, there's a "HWND hosting" trace
 
4:27 PM
@MathieuGuindon Is this the "Avalon" of which some speak fondly and many hold out hope as a replacement for the VBEs Code Pane???
 
I thought WPF didn't need no steenkin' HWND?
 
#SmokesAndMirrors
 
@FreeMan #TIL, the code name for WPF was.... Avalon.
 
@this #TILT!
 
4:27 PM
lol
 
interesting...
 
"avaler" in French means "to swallow"
 
seems apropos given its behavior with warnings & errors.
 
#PossiblyUnrelatedThough
lol
 
and, "avaler" -> "avalon" -> replacing the code pane?
 
4:28 PM
IOW, the duck swallowing the VBE whole
 
#HungryDuck
 
can't remember if ducks are those that regrugitates food to the young.
 
^^2nd most dangerous animal in the world
 
I think mainly seafowls do that but not sure if ducks do that?
 
@this don't all birds do that?
 
4:31 PM
@MathieuGuindon Haven't you ever seen a robin jam a live worm down its baby's throat?
 
for some values of "live"
 
yeah, not exactly "regrugitating" in this case
 
"regru" sounds particularly guttural
 
for some values of "jam"
 
Hmmm. Regurgitated worms jam!
 
4:39 PM
@this #LunchTime!!
 
@FreeMan The other babies do that kind of jamming.
It's like getting a free meal in the opera house.
 
@FreeMan There's this simulator called Rubberduck. The reviews I've read about are really positive for it. Tons of achievements you can unlock, and a thriving community. Best part is it's not pay-to-win and you can progress at your own rate.
7
The part I like best is the co-op mode where others can carry you through parts you're bad at.
Until you can do it yourself.
They call in bread-crumbing.
 
LOL!
@Hosch250 misses reference...
 
@FreeMan Not making a reference.
The other babies "sing" and the one being fed gets a meal.
 
5:04 PM
mumble mumble VS breaking when no breakpoint was set mumble mumble.
 
Range being unqualified is referring to the ActiveSheet. If that's not the With sheet, error 1004 is thrown. This is one of the ~80 code inspections Rubberduck can warn you about. — Mathieu Guindon 40 secs ago
is this spammish?
 
pretty sure you posted similar comments like that several times before...
 
yeah.... ...it always feels somewhat wrong though
 
if it worries you, remove the 80 number.
 
5:11 PM
fwiw, they need it more than they think.
 
@Hosch250 Ah!
 
@this You knew that the code name for VB was Project Thunder i assume?
 
I thought that was actually for the FM library
 
Hmm perhaps. iiuc they bought the language and then made it "Visual" so I guess that would fit.
 
5:26 PM
@NeepNeepNeep to each his own: Access forms being document modules with a designer managed by the host application rather than the VBE, then having a default instance like MSForms forms, and managed like global state in some magical Forms collection, and then shown with yet another global-magic DoCmd API, gives me similar feelings ;-) — Mathieu Guindon 5 secs ago
hey @ChrisB
 
@ChrisB Welcome to the pond.
 
@DarrenBartrup-Cook In the code-behind for Sheet1, doing Range(Sheet2.Cells(1,1) = 42 throws error 1004. Same in the code-behind for ThisWorkbook, and ditto in a standard module. In the code-behind for Sheet1, doing Range(Sheet2.Cells(1,1), Sheet2.Cells(2,1)) = 42 throws error 1004, but works in ThisWorkbook and in a standard module. You know what, IMO that's knowledge that's dangerous to share. Qualify your ranges, period - then your code will work regardless of where & how it's written. ;-) — Mathieu Guindon 14 secs ago
"qualifying ranges isn't always needed" - except, you can never tell just by looking at a SO question
still, #TIL one vs. two parameters changes something. damn that API is borked.
 
5:45 PM
Hi @MathieuGuindon! What's new?
 
bugs! bugs everywhere!
 
5:56 PM
we need bats and birds. They eat bugs, right?
 
~chirp
 

« first day (1628 days earlier)      last day (1552 days later) »