The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I never used CrossOver, but I've heard of it before. Mostly my usage is for either dev or personal so I can swap out whatever doesn't work.
Office 365 in Chromium might fill of the gaps where an open source office suite isn't compatible, but for Access you'd probably still end up needing to run a VM with Windows - of course that could be a windows server without automatic updates turned off, although that begs the question of why not just run Windows Server as your workstation OS?
As for Visual Studio check out JetBrains Rider - if you're lucky the project types you need are supported.
Last thought that comes to mind, have you considered getting a Mac?
An app I'm working on needs to disable the option to pin the app to the Start and Taskbar. Why? Security concerns. I know, right?!
OK, dig into Google to find out what's involved.
Hmmmm... not much on this except for Raymond Chen's blog post on it with a tiny little C snippet that does it, and the WindowsAPICodePack.
Aight. The codepack is HUGE for what I need it for. One of the restrictions on my app is to make the resulting .EXE as small as possible. The codepack weighs in at almost 700K. This is not an option for an app that has to stay small.
Next option. Write up Raymond's code into a tiny little C++ CLI library and just reference that from the main app.
Crap! Can't do that either. The C++ library targets Win32, not straight-up IL. This is a problem because I also need to keep the app as a single .EXE file with no external .DLL's. To do this, I use ILMerge as a post-build step to roll in my library .DLLs, but it won't throw a Win32 .DLL into a .NET .EXE (and still work.)
Soooooo.... last option. Get the source for the WindowsAPICodePack and strip it down to the ... HOLY ELEPHANTING HELL! Over 50,000 lines of code in this thing! [mutters to self] Is there any part of Windows this thing doesn't wrap?
OK, start digging through and learning the code base. It turns out the thing is nicely organized, but every class is seemingly dependent on every other class. Apparently, complexity was a design requirement. Basically, this library is a massive pile of manually written COM-interop without all the automated helpers Visual Studio and the tools generates for you when you add a reference to a COM .DLL. All this work is necessary because the Windows .DLL that handles this, PropSys.dll, is not COM-exposed.
It took me two days, and a bunch of , to slash and burn the code like a Brazilian rain forest with the final result down to about 100 lines of code and a 19K .DLL that ILMerge can deal with. With a bit more time I don't have, I can make it smaller.
Three days to remove one little option on the Taskbar.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
I tossed that around for a bit. I can't leave the .DLL behind, so I would have had to do the whole LoadLibrary thing in a separate AppDomain, make the call, unload the AppDomain, then delete the .DLL. Messy.
My opinion is right for me, but it may not be right for you. But your opinion would be useful.
The Windows Form Designer, from the VB days to Visual Studio 2019 and .NET Framework 4.8 is an amazingly productive tool. The time it takes to build a window like I want, create to the code skeleton for events, etc. is drastically reduced from hand-coding. Thus, in a given amount of project time, I now have more time to spend improving the project, doing more testing, or even adding features. Those things would not be possible without the Designer.
Now, consider XAML Forms and HTML pages for Blazor. No designer. Even a Windows Forms designer in .NET Core 3.0 is missing, for now. Adding those designers would have the same effects for those environments and productivity that the Forms Designer did for VB and Visual Studio.
Microsoft's team of millennials and Gen-Z'ers appear to not have the depth of experience, or concepts of value engineering, to know why a GUI designer is so valuable.
That said, what are your opinions of how important it is to have Xamarin XAML and Blazor HTML designers on a par with the .NET Framework Windows Forms Designer?
Pretty much won't touch Xamarin XAML because of the lack of a designer. Won't touch WPF because it lacks a usable designer. While I'm stuck with HTML, tools that let you do side-by-side HTML with preview mitigate the pain.
And yes, very important. I remember when I came out with MyXaml and almost everyone (some rather nastily) said they'd never use a UI generator where you had to edit the "markup" by hand.
And guess where we are now? And guess what camp I'm in when it comes lack of designers.
That said, if I can avoid having to even touch HTML, the happier I am. I don't mind writing HTML generators (usually client-side on the fly) that create the HTML from some metadata format. But that's me.
of the three UI's supported by dotnet; my level of productivity is quickest with Winforms, followed by UWP, and lastly is WPF. WPF for me is just not as "discoverable" as the other two formats, even when using Blend.
I use the XAML designer with WPF, but only to see what the resulting layout is. I do the XAML by hand as I don't like some of the things the designer does when using it's ability to drag and drop or move things around.
It would be nice if VSCode had a visual designer, I think it would make the process quicker.
The Windows Form Designer, from the VB days to Visual Studio 2019 and .NET Framework 4.8 is an amazingly productive tool. The time it takes to build a window like I want, create to the code skeleton for events, etc. is drastically reduced from hand-coding.
Long time WinForm user here, and I'm quicker without the designer. "Click, go to properties, undock, move, paste in new panel, redock".
Also seen to many people draw dialogs, with a panel docked to the bottom, containing a panel docked to the right, containing two buttons returning either DialogResult.OK or DialogResult.Cancel. Forms do support inheritance, so you code it once and stop drawing. Has the added advantage that when you want to change the dialogs to have menu's instead of buttons (or whatever), you simply change the base.
So, it may seem a productivity-booster, and it is - for quick and dirty prototyping.
Similarly, you can use databinding from the designer and create working applications. The drawback is that your form doesn't update during processing - so I'll be writing code to do so on a backgroundworker, giving feedback to the user with a progressbar. No databinding here
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
I personally avoid those that don't have the designers. Sometimes I cannot remember how to do something or I want quick and dirty. Those designers work wonderfully for each of those things. I can visually "draw" it on the screen and then go look and see how it was built. It ends up being faster than the same google search. I am probably in the minority though.
To err is human to really mess up you need a computer