C
C#madgoose3371

❔ i have an app that runs well on my pc but not on other pcs

i have an app that runs well on my pc but on when i zip it and bring it to another pc the ui is all crashed and stuff, does anyone have an idea what may be the problem(probably dependencies but idk wheres that and what is it)?
S
sibber399d ago
the app crashes on another pc?
M
madgoose3371399d ago
ui
S
sibber399d ago
?
M
madgoose3371399d ago
its the user interface that is a bit crazy
S
sibber399d ago
but the app launches fine?
M
madgoose3371399d ago
yes, it probably is some dependency that it need in the other pc but idk how to fix it and how dependencies work
S
sibber399d ago
if its a missing dependency the app would probably crash
M
madgoose3371399d ago
in my pc it looks like image1 and the other pc its like image2
S
sibber399d ago
is the windows scaling different on those 2 machines?
M
madgoose3371399d ago
no look at the images
S
sibber399d ago
i did im trying to think of any reason that would cause that to happen is the window resizable?
M
madgoose3371399d ago
no
M
madgoose3371399d ago
heres the app
S
sibber399d ago
no idea then
S
sibber399d ago
runs fine in my vm
S
sibber399d ago
the text looks huge tho
G
gush3l399d ago
windows versions may help with debugging
M
madgoose3371399d ago
exactly thats, how it should look but for the other pc it has a strange formatting
M
madgoose3371399d ago
like this
M
madgoose3371399d ago
my version and the other, ok
H
Hannsen399d ago
Post the XAML of MainWindow
M
madgoose3371399d ago
winforms
M
madgoose3371399d ago
here's form1.cs not xaml, ig u can try and see something
B
Buddy399d ago
This is because you set the exact location Even in WinForms you should not do that but you must use the layout controls WrapPanel, Docking, etc. WYSIWYG (What you see is what you get) is stupid. A lot of scaling / layouting issues
M
madgoose3371399d ago
how do i acess that?
B
Buddy399d ago
You have containers in toolbox Although WrapPanel may not exist - Been so long since I last touched WinForms. WinForms is insanely old, and not really recommended these days. To be fair, it is much easier than for example WPF.
M
madgoose3371399d ago
yeah i choose winforms bcs people said to not use drag and drop in wpf and i wanted to do a quick app but it seems that maybe its not so quick/simple
G
gush3l399d ago
WinUI3 ftw
M
madgoose3371399d ago
but yeah i need to learn new stuff so il start making apps in wpf yeah i also searched for that but it has no designer thats too much of a change to me from drag and drop to no designer
G
gush3l399d ago
it has live reload and also uses native windows ui components
M
madgoose3371399d ago
does live reload work well in code(C#)
G
gush3l399d ago
C# stuff doesn't support live reload ofc only the stuff in the xaml files iirc
M
madgoose3371399d ago
i used live reload in winforms
G
gush3l399d ago
GitHub
GitHub - microsoft/WinUI-Gallery: This app demonstrates the control...
This app demonstrates the controls available in WinUI and the Fluent Design System. - GitHub - microsoft/WinUI-Gallery: This app demonstrates the controls available in WinUI and the Fluent Design S...
M
madgoose3371399d ago
sorry hot reload does winui 3 hot reload work well in code(C#)?
G
gush3l399d ago
¯\_(ツ)_/¯
M
madgoose3371399d ago
whats native win...?
G
gush3l399d ago
not like control panel type ui like new windows store or settings yk
M
madgoose3371399d ago
works as it should be right? i havent tried yet thats why im asking i dont know what that means
G
gush3l399d ago
yk - you know
M
madgoose3371399d ago
thx, i think i have have been enlightened by your and LLVM explanations, so if i have patience to finish this app il use the containers section in winforms and for new apps ima use winui 3
M
madgoose3371399d ago
winui 3 is backwards compatible to this version right?
G
gush3l399d ago
yeah i guess $tias
B
Buddy399d ago
LULLLLLL WinUI3 is terrible, the API is very different. And MSIX all around stinks.
S
sibber399d ago
i wouldnt say its terrible, its just not mature its still in beta even though they say its not it can also be unpackaged, otherwise youd just use uwp
H
Henkypenky399d ago
msix is where they are going with maui for publishing and i absolutely hate it you lose a lot of control
S
sibber399d ago
last i checked you could publish unpackaged with maui too
H
Henkypenky398d ago
yeah as project but it's weird
A
Accord397d ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
yield???```cs public IEnumerable<int> A() { for (int i = 0; i <= 10; i += 2) yield return i; } C# Data Table issuehttps://pastebin.com/DSHwSh0M based on this program, I need to set the values of the `Old PS A11Y S❔ Microsoft Graph SDK - Serializing objectsHello, I am currently working with Microsoft Graph API to work with the Planner. My goal is to backu❔ XML deserialise different types into a single listI'm using the build in XML serialisation library (unless it's with .NET framework?), and I current h❔ Access things from different scene in UnityI have a Class Selector scene that has a Class Selector Script component (MonoBehaviour) attached to❔ C# how do I write an If-statement to handle a button?Hi, I wanted some assistance with writing a If-statement that filters out the zones section in my ap❔ Magnetic Links for application?Hey, does someone have an article/tutorial/explanation how I can develop magnetic links for my appli❔ Show values from a list in a datagridview getting source from bindingsourceHello! I have the following problem: I am currently developing a winforms app with a datagridview th❔ Render email content .NET 7 (razor)I have to reinplement email content rendering, because currently its not looking really good, especi❔ GetAxis wont workpublic class Driver : MonoBehaviour { // Start is called before the first frame update const✅ (SOLVED)Help a Beginneri am following CodeMonkeys 11Hr youtube video on coding a game in unity. I have ran into a issue whe❔ Exclude items from linq query if they contain one from an array of substringsI've got a list of strings, that if they appear anywhere in a linq query column i want to exclude th✅ Comprehension questions (LeetCode Binary Search)Like the title says it's about this puzzle https://leetcode.com/problems/binary-search/description/ ❔ How to create a cubic function calculator that also calculates the minimum and maximum value```c Console.WriteLine("Please enter a, b, c, d for the cubic function ax^3+bx^2+cx+d"); ❔ how to listen to the output of a virtual audio device on windows using C#?how to listen to the output of a virtual audio device on windows using C# to save the raw audio stre❔ How to wait for process to completei want to make program opens async but instead of giving 'hard coded' delays but i don't know how to❔ Problem with including C DLL in a C# console app project.So I have this C DLL imported into my console app (.NET 5). I simply cannot get to call it correctly✅ Win Form Event Handlers questionHi, I was just wondering if there is an event handler when the win form is idle that I can then run ❔ Problem with Dictionary<ulong, Image> (Strange work of memory access)Concept of my system: A system that draws a picture with stickers, each of the stickers can be moved❔ How do I refactor this?I am working with a grid of tiles, each tile has an int, which is made up of 4 bytes which represent