|
it needs to be done, or I have to scrap my entire project, firmware and all.
I'm writing a bunch of Windows UI code. I hate coding for desktops and servers. I burnt out on it a long time ago, so I like to keep my forays into such endeavors as brief as possible. It brings me no joy, only frustration, even though I know how to do it well. I almost wish I didn't, because then I'd never be roped into doing it.
Worse, this is my own, unpaid project. I'm determined to finish it, but also just sort of upset and overwhelmed because I got ambitious and now I have to code it.
I like tiny devices with kilobytes of RAM. Coding on those is enjoyable. Not so much PCs. PCs can get bent.
There's smoke in my iris
But I painted a sunny day on the insides of my eyelids
So I'm ready now (What you ready for?)
I'm ready for life in this city
And my wings have grown almost enough to lift me
|
|
|
|
|
I'm working to complete my take-over-the-world project which is a combination Windows service and desktop application. I've been working on it on and off for two years, and there's no end in sight. I keep thinking of ways to make it more and more complicated!
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
If you get stuck let me know. We use a C#/WPF app and several Windows services written in C++/MFC to run our commercial inkjet printing systems[^]. It's an effective architecture for what we're doing. We use TCP/IP sockets for inter-process communication.
This product line started in 2008, and there's no end in sight.
Software Zen: delete this;
|
|
|
|
|
Glad to read that you're doing well.
Any particular reason TCP/IP was chosen over named pipes? Just curious.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
TCP/IP sockets let us have a common communication mechanism with non-Windows equipment, like PLC's, microcontrollers, and such.
Software Zen: delete this;
|
|
|
|
|
Edit:
I'm deleting this as it was ME who screwed up!
Long story short, after updating VS I made some code changes and added a new usercontrol. and then had built the code and see the issue I had previously mentioned.
I was convinced it must have been something I did, so walked back through the code changes I had made in the app, commenting out bit by bit until bingo the problem went away.
What foolish mistake had I made? Well it all boiled down to a recursive paint / draw / refresh loop, that was basically blocking the parent panel from drawing, that appears to explain why it was the controls in that group that were impacted.
Ah well, kept me busy for a few hours on a cloudy day......
modified 18-Jun-23 6:51am.
|
|
|
|
|
In VS 2022 (and others)
Help --> Send Feedback --> Report a Problem
or just go here: Developer Community[^]
I would search first if your issue has already been reported, if not, you really need to report it, especially if this was discovered after a recent update.
|
|
|
|
|
I'm not seeing any such problems here: what controls, and what .NET version(s) are in play here?
And do you see the effect in previously compiled apps, or just oned compiled after the update?
I'm currently running 17.3.6, but a quick check says that 17.6.3 is ready to go ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
It is basic Labels and Buttons that don't show correctly on App Startup, thing is, it is not all of them, only some of them! Plus the listbox not rerendering to include new received serial message (except if i resize the form forcing a controls overlap redraw, I haven't finalised the layout yet, so not locked the form size yet, allowing me to force this overlap condition).
It was with .Net 6, but as a test, I also switch the build to target .Net 7 and then re-built and copied the .Net 7 version across to the target machine, installed .Net 7 when prompted then ran the app and it does the same thing.
This is a new utility App I'm writing for the observatory Dome system, the previous App I wrote for the SkyQualityMeter is still working fine, although I think it was built to target .Net 4.8, can't remember now.
|
|
|
|
|
Are you saying the IDE editor UI is not showing the controls correctly, or are you saying that your running app has issues? Remember, VS is an IDE, not the runtime - they are independent of each other.
Graeme
"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
|
|
|
|
|
The running app after build and execution.
|
|
|
|
|
Then your issue has nothing to do with the VS version.
Graeme
"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
|
|
|
|
|
Could it not be compiling differently under the new version following a new build of the App, depending on what all they have changed/included with this release?
|
|
|
|
|
The compiler is specific to the Framework version, not to the IDE.
Graeme
"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
|
|
|
|
|
It was me all along! Edited the original post with the tldr;
|
|
|
|
|
To err is human; to forgive is not our policy.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
DaveAuld wrote: I'm deleting this as it was ME who screwed up! Please don't, it's messages like this that allow some of us to think that maybe we are not totally stupid.
|
|
|
|
|
Good to hear that you figured it out.
Graeme
"I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
|
|
|
|
|
It happens.
There have been times when I've made code changes to a wrong file (a copy of the file with the same name, at a backup location), recompiled the project, only to see that nothing has changed in the execution., then debugged for several hours; only to realize later that the file path is different. Must have happened to several members here.
|
|
|
|
|
Missed a wordle 727 how can I back up
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I don't think there is an official way. Your streak is broken. It's happened to me too, my sister lives in dark territory and once I forgot to get her wifi pwd - oops.
|
|
|
|
|
Grrr. Thanx, I will let you know if I find a way.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Set your computer clock back a day. You may have to disable Hyper-V Time Synchronization Service, or something else.
|
|
|
|
|
I already considered that approach. Hoping there was another trick to fool the system.
Thanx
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #512 3/6 (100%)
🟩🟩🟩🟩🟨↗️
🟩🟩🟩🟩🟨➡️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
Should have gotten the first time
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|