Click here to Skip to main content
15,892,809 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.

 
GeneralRe: has anybody hired developers from this site? Pin
Sander Rossel24-Nov-21 4:28
professionalSander Rossel24-Nov-21 4:28 
GeneralRe: has anybody hired developers from this site? Pin
inlandchris124-Nov-21 19:59
inlandchris124-Nov-21 19:59 
GeneralRe: has anybody hired developers from this site? Pin
Sander Rossel24-Nov-21 22:51
professionalSander Rossel24-Nov-21 22:51 
GeneralRe: has anybody hired developers from this site? Pin
Saša Ćetković25-Nov-21 9:00
professionalSaša Ćetković25-Nov-21 9:00 
GeneralRe: has anybody hired developers from this site? Pin
Southmountain25-Nov-21 15:13
Southmountain25-Nov-21 15:13 
GeneralRe: has anybody hired developers from this site? Pin
jkirkerx25-Nov-21 7:54
professionaljkirkerx25-Nov-21 7:54 
GeneralRe: has anybody hired developers from this site? Pin
Sander Rossel29-Nov-21 0:06
professionalSander Rossel29-Nov-21 0:06 
PraiseNice Error Message WinUI3! :) Pin
Super Lloyd23-Nov-21 15:45
Super Lloyd23-Nov-21 15:45 
I was playing around with a super simple default WinUI3 application, trying to get an OpenFileDialog or the like of it to work....
Googling was of little help, and my desire to use WinUI3 was steadily declining...

And then there was an error message that I took the time to read (goddamn old eyes, I have to make an effort to read error messages now Sigh | :sigh: ) anyway it said
Quote:
Consider WindowNative, InitializeWithWindow
See https://aka.ms/cswinrt/interop#windows-sdk'

And you know what? I did consider it! And followed the link!
And voila, 5 minutes later I got a C# WinUI3 application opening an OpenFileDialog! Victory! Big Grin | :-D

Now I can admit, those WinUI3 control look pretty damn nice and the application look pretty zippy, gotta migrate my work to WinUI3... Big Grin | :-D

for the record, this is what the end code looked like
C#
var filePicker = new FileOpenPicker();
filePicker.FileTypeFilter.Add("*");
InitializeWithWindow.Initialize(filePicker, WindowNative.GetWindowHandle(this));
await filePicker.PickSingleFileAsync();
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 23-Nov-21 22:20pm.

GeneralRe: Nice Error Message WinUI3! :) Pin
honey the codewitch24-Nov-21 1:21
mvahoney the codewitch24-Nov-21 1:21 
GeneralRe: Nice Error Message WinUI3! :) Pin
Super Lloyd24-Nov-21 12:57
Super Lloyd24-Nov-21 12:57 
GeneralRe: Nice Error Message WinUI3! :) Pin
honey the codewitch24-Nov-21 13:00
mvahoney the codewitch24-Nov-21 13:00 
GeneralRe: Nice Error Message WinUI3! :) Pin
Super Lloyd24-Nov-21 13:17
Super Lloyd24-Nov-21 13:17 
GeneralRe: Nice Error Message WinUI3! :) Pin
honey the codewitch24-Nov-21 13:25
mvahoney the codewitch24-Nov-21 13:25 
GeneralRe: Nice Error Message WinUI3! :) Pin
Super Lloyd24-Nov-21 13:34
Super Lloyd24-Nov-21 13:34 
GeneralRe: Nice Error Message WinUI3! :) Pin
honey the codewitch24-Nov-21 13:51
mvahoney the codewitch24-Nov-21 13:51 
GeneralMen or Supermen? Pin
Gerry Schmitz23-Nov-21 11:05
mveGerry Schmitz23-Nov-21 11:05 
GeneralRe: Men or Supermen? Pin
PIEBALDconsult23-Nov-21 11:09
mvePIEBALDconsult23-Nov-21 11:09 
GeneralPredictions for future programming languages PinPopular
harold aptroot23-Nov-21 10:10
harold aptroot23-Nov-21 10:10 
GeneralRe: Predictions for future programming languages Pin
PIEBALDconsult23-Nov-21 11:01
mvePIEBALDconsult23-Nov-21 11:01 
GeneralRe: Predictions for future programming languages Pin
BillWoodruff24-Nov-21 1:23
professionalBillWoodruff24-Nov-21 1:23 
Generaldrilling holes in my new roof Pin
stoneyowl223-Nov-21 4:38
stoneyowl223-Nov-21 4:38 
GeneralRe: drilling holes in my new roof Pin
PIEBALDconsult23-Nov-21 4:42
mvePIEBALDconsult23-Nov-21 4:42 
GeneralRe: drilling holes in my new roof Pin
OriginalGriff23-Nov-21 5:10
mveOriginalGriff23-Nov-21 5:10 
GeneralRe: drilling holes in my new roof Pin
Mike Hankey23-Nov-21 9:44
mveMike Hankey23-Nov-21 9:44 
GeneralRe: drilling holes in my new roof Pin
PIEBALDconsult23-Nov-21 9:48
mvePIEBALDconsult23-Nov-21 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.