Everything works great when starting the JavaFX application from a .jar file . I am using Install4J with Open-Source licenses to make installers for Windows .
The exact description of the problem is this :
Inside the application drag and drop works . Also when i drag from
inside the application to the Windows Explorer it also works . Just
for some reason dragging from Windows desktop or explorer doesn't work
.....
To be specific below i have photos which will help you understand exactly the problem.
Windows 10 , Java 9.0.4 , Install4J 7.0.5
The repository of the application is on Github in this link ( XR3Player )
Tried everything from disabling the splash screen to checking the permissions but it seems like the Windows 10 maybe? , system disables the application from having access to Drag and Drop , i don't know . So
1) Disabled the Splash Screen
2) Disabled ( Using SWT or QT)
3) Checking Unix Permission ( do they have to do with something ?...)
4) Starting the application from .exe file Drag and Drop disabled
5) Starting the application from .jar file the Drag and Drop works pretty well
6) Inside the application drag and drop works . Also when i drag from inside the application to the Windows Explorer it also works . Just for some reason dragging from Windows desktop or explorer doesn't work .....
7) Tried also as a console application to see if any errors are reported but still nothing.
Using the "Require administrator" option in the "Windows
manifest options" of the launcher wizard causes this issue, because
drag and drop between the non-elevated desktop and your elevated application are prevented by Windows.
Related
Hello I have been trying to debug an Android project on mac os that was built with Xamarin Forms but have been unable to hit a single breakpoint in the Portable Class Library.
After deployment I get hollow type debugger.
Hollow breakpoint image
But its working fine on .Android and .IOS
Here is a list of everything I have tried so far:
Deleting the bin and obj folders then clean and rebuild Setting the
Android build property "Link Behavior" to "Don't Link" Unselecting Strip
native debugging symbols Removed all symbols on path to debug file
Fresh installation of Xamarin
fresh cloning
changing Debug information to "Symbol only"
Can you please suggest any answer that can help me in this ?
This issue was introduced in a recent visual studio update and should be fixed soon
Visual studio for Mac
While I wait for the new visual studio update I manage to fix this by enabling Fast Assembly Deployment located at: Android Project Options -> Android build
https://developercommunity.visualstudio.com/t/Debugging-of-Xamarin-application-on-Andr/10001903
Visual studio for Windows
Try enabling Use Fast Deployment check this thread:
https://developercommunity.visualstudio.com/t/breakpoint-not-hit-debugging-xamarin-android-proje/1561025
According to the screenshot you provided, it seems on Windows Visual Studio.
The hollow red circle in your screenshot means disable a breakpoint without deleting it. It shows the breakpoint, but it would not work in debug.
You could click the black circle in the screenshot to enable breakpoint.
For more details, you could refer to the MS docs. https://learn.microsoft.com/en-us/visualstudio/debugger/using-breakpoints?view=vs-2022
iOS Remoted Simulator in windows. My visual studio connected to mac successfully and also all Simulator show in visual studio on windows but problem is when clicked on any Simulator its just connecting window show a long time but not connect
First, you need to exclude the connecting problem. If it is not, that's maybe the simulator problem(official docs:https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/connecting-to-mac/).
The simulator list shows on visual studio, can't make sure you pair to the mac successfully, it's maybe the cache. You should check the 'Pair to Mac' icon in visual studio, make sure it's green, as it will check the connection situation regularly. You can click it for the connection details.
If the 'Pair to Mac' icon is green, and shows a connected mac as you click it for details.
That's maybe the simulator problems. You'd better check it on mac. But it's really a small probability event.
And This is a standard solution to this problem:
Some suggestions :
Upgrade everything to the latest (VS for mac , VS for windows , XCode ).
Restart PC and visual studio .
Delete bin and obj folder on windows side.
Reconnect mac agent .
Clean and rebuild .
Change simulator(iPhone X e,g)
Disable remote simulator to Windows (Tools - Options - Xamarin - iOS Settings)
If problem persists , attach your build log here (Help - Xamarin - Open Logs).
(https://forums.xamarin.com/discussion/176150/simulator-doesnt-show-up)
I created a new .Net 2.0 web api project. And then click the "> IIS Express" button to test it. However, I got a popup of Windows Explorer.
Windows Explorer has stopped working
A problem caused the program to stop working correctly. Please close the program.
Close the program
Debug the program
Another window pops up after close the window.
Unable to start program 'http://locahost:24175/api/values'.
Invalid prointer
However, "Start without debugging" works.
Seems like you deleted the default ValueController without changing your default route. Check this answer on how to change it:
https://stackoverflow.com/a/44731550/837623
Hi I don't know what I did, when I try to run visual studio project by pressing F5, I can see only loading symbol in browser but not displaying anything. When I checked whats going on, I got to know it is running on IIS Express and not on ASP.net development server.
What changes I should do to make my project to run on ASP.NET development server?
In the properties of your web project you can see the start options which has a server option.
Also if you right click your web project you can see option to use IIS express or dvelopment server.
Don't worry , this is not big issue .
Just open your csproject file into notepad.
And find this line in your csproject
<UseIISExpress>True</UseIISExpress>
Then change True to false
<UseIISExpress>false</UseIISExpress>
And save that ,then you can run your project .
I recently installed Adobe Flash Builder 4 in standalone mode on a new installation of Windows 7 x64.
I can load and build an existing Flex 4.1 project I have been working on, but when I go to run the project in the browser (Firefox 3.6.15), I get:
'Launching BensApp' has encountered a problem.
An internal error occurred during: 'Launching BensApp'
Clicking the Details >> button reveals:
java.lang.NullPointerException
My project is creating the SWF and container HTML page as expected, but fails to load the browser.
Ok. Finally nutted this out.
The problem was that Flash Builder was trying to run the ASP.NET web server at:
c:\Program Files (x86)\Microsoft
Shared\9.0\WebDevServer.exe
This is the default location if you have VS2008 installed.
I only have VS2010 installed, which places these files at ...\Shared\10.0. The solution was to copy WebDevServer20.exe to the above location.
The other solution that would work is to change Flex Server \ Application Server type to "None\Other".
Check the launch configurations located in Project>Properties>Run/Debug Settings.
To open a browser when you run the project you will need to modify the 'URL or path to launch' parameter.
See the Adobe Flex help for more info: Managing Launch Configurations.
Select "Run As" in Green Debug Button. It Fixed My Problem.