By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Closed source sorry.Looks like we need more context for the forms application: would you be able to share the code or project?
There is no difference, i commented out that line because when you run a forms application. It prints out to the vs output console, and there isnt a Clear(); function for it.Console.clear() is commented out on the second one.
That's the first one I noticed, but maybe there's more differences.
Try copying & pasting both sets of code into a comparison tool online to auto-detect differences.
It could also be that some sort of dependency or module is missing in the second project...
No, i have a class with a run function( the Main(); function)Is there a difference between how you call that function between the console app and the forms application? Do you create the thread in a different way in the forms app?
No, i have a class with a run function( the Main(); function)
Currently i moved it into the Form1.cs class but im getting off it now, have a migraine. But i get an error saying value isnt as expected or something ill post it tomarrow.Is there a difference between how you call that function between the console app and the forms application? Do you create the thread in a different way in the forms app?
I dont have access to my pc at this timeIs it possible that you could copy the code and paste it into the built-in code feature on CF? It would be easier for us to look over and give you a better idea on how to fix this issue.
If the code is truly exactly the same and it's not working, then clearly there is an issue with a module / dependency, or another file. You will need to show us other attached files that may affect this, as well as anything imported in for the working version. Without this information, there is nothing CF can do to help because if the code truly is identical, then it's definitely something else.I dont have access to my pc at this time
Ok so what can I do?If the code is truly exactly the same and it's not working, then clearly there is an issue with a module / dependency, or another file. You will need to show us other attached files that may affect this, as well as anything imported in for the working version. Without this information, there is nothing CF can do to help because if the code truly is identical, then it's definitely something else.
Oh yea here,You mentioned an error about unexpected something or other - could you tell us what that error was?
Code Forum is a community platform where coding enthusiasts can connect with other developers, engage in discussions, ask for help, and share their knowledge with a supportive community. It's a perfect place to improve your coding skills and to find a community of like-minded individuals who share your passion for coding.
We use essential cookies to make this site work, and optional cookies to enhance your experience.