Exilon
Custom cmdlet giving me a missing assembly error
Powershell gives me this error when I try run my cmdlet:
I'm using this guide to make API calls through this tutorial: https://stackoverflow.com/questions/9620278/how-do-i-make-calls-to-a-rest-api-using-c
which told me to add that assembly. When I compile it and use
ipmo
to add it to my powershell, I get that error when trying to run it. I was required to reference System.Net.Http.Formatting
to get ReadAsAsync<>()
to work (I think). Am I just building my project wrong?87 replies
SocketIO Libs for CS?
Are there any good SocketIO libraries for C#? Most of the ones I find are very outdated and I don't believe any work for .NET 6. I'm currently trying to make this one (https://github.com/doghappy/socket.io-client-csharp) work but I haven't had luck. Any suggestions?
19 replies
Restarting audio with MediaPlayer?
I've made a button that uses MediaPlayer to play a custom MP3 file that I've made.
This does work too. It's just that it only works once. Once I press the button again, nothing happens and I believe its because the audio is finished and needs to be restarted, but how would I do that?
33 replies
Window opacity not being effected in a method?
Hello, I've been trying to change the opacity of my window through code for a while now but I've had no success. I'm changing the
Window.Opacity
number in my function but I've had no success. As of now, I've tried setting the background to a SolidBrushColor
and setting the opacity from there to no success. I'm also trying INotifyPropertyChanged
still to no avail. There are no errors either. The opacity just isn't affected. Here is the code of the overlay window that needs its opacity changed:
Tell me if you would like to see any XAML code or MainWindow.cs.425 replies
Window opacity isn't being affected?
I have a button click method over here that should set a window to opaque:
The method works too. The trace here works:
The output shows the message but the opacity of the window doesn't change. What am I doing wrong?
20 replies
CS WPF (.NET framework) pass all mouse inputs to the window behind?
I'm currently trying to make an overlay for programs that can show popups and set the screen to a certain color. The only problem right now is that although the main window stays at the top and is maximized as I want it to be, The inputs I want to give to the program below are obviously taken by the window above. I've tried setting the background to
Background="{x:Null}"
and this worked. But the second I set the background transparency to more than 0% (Background="#08FFFFFF"
which is 4% opacity), my inputs are blocked by the window. Is there a way to pass inputs through regardless of the opacity of the background?1 replies