Search:
Type: Posts; User: Alain
Search:
Search took 0.04 seconds.
-
Ok, I got an answer through https://www.phind.com/
Here is the form's code that works, if anyone else needs the same info:
Imports Microsoft.Win32
Imports System.Runtime.InteropServices
...
-
Indeed!
I fixed my code sample with that regard.
But I still don't have a way to read DPI of a secondary screen...
-
Hi all,
I have a form with a button n it, and the code of the button reads as so:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Using...
-
Yeah, I know and I'm using it, but rather to define my app as dpi-aware. I'm not looking to disable entirely the DPI-aware thing, but rather be able to disable it for a particular form, or at least...
-
Thanks Paul,
I did stumble upon this documentation before posting here but if I understand correctly, this is all about setting up how Visual Studio's form designer behaves in DPI-Aware mode on. ...
-
Hi all,
I seacrhed the interwebs for this information, but couldn't find anything, so I thought I'd ask here.
With monitors allowing for crazy resulutions nowadays, Windows allows to scale text...
-
Ah well...
Nevermind. I figured it's probably time I switch to 4.7 anyway...
I applied the steps to follow in the documentation you linked to, and all works like a charm!
Thanks!
-
I've seen that doc, but my app is using .NET 4.5 and not 4.7. (Which is one of the reasons I never bothered putting time into this until I made the switch to 4.7.)
But since changing a setting in...
-
Hi all,
The application I made is slightly more blurry than most others. I've been told it had something to do with DPI high resolution scaling, but never put the time and energy into figuring it...
-
Thanks for chipping in kebo.
I was afraid that would be the answer! Making sure an object is unreferenced is far from trivial in a large application. Its seems it makes the whole concept of...
-
Thanks for your answer, but I still feel I'm not being clear.
I'm fully OK with the GC deciding when and if it will act. But I also know that it will not remove objects from memory if the objects...
-
Thanks a lot for your answers guys.
Pretty much.
I do use DLLs, but all made by me, all native .NET.
-
Hi all,
I made a CAD application where users can create projects, add pages to them and draw stuff on the pages. Naturally, as users work on their project, objects get created and the memory...
-
I actually already went that route. I just need to fine tune it so it works for all users.
These are the values I was looking for! My problems are solved!
Thanks a million!
-
Indeed! Force of habbit I guess...
Sorry for not being clear enough. I made an install from scratch, in VB.NET, which essentially installs the other app I made. It does all I need for a given...
-
Hi all,
A while ago, I made myself an installation package for deplying my applicatio (our politics is to avoid as much as possible using third party applications/DLLs/etc.) All is going fine...
-
Ok, got it.
It's the option 'Listing code in Pretty mode' option that was turned on. (Wording may not be right, my VS is in french...)
I'm pretty sure it's the upgrade that turned this back...
-
Hi all,
Ok, after the last VS upgrade, I noticed some of my editor settings had changed (I had lost the navigation drop-down lists that are usually displayed at the top of code window...) I have...
-
-
Awesome...
Thanks for the info.
-
Ah! I think I just figured out what was going on. I double-checked on my old laptop and the 'Angle' property is displayed, but not evaluated as it has an optional parameter.
So I guess...
-
Yes, precisely. I assume it is a debugging option setting that is different, but I couldn't figure out which one, as I explained.
-
Hi All,
I just upgraded from VS 2012 to VS 2019 (on a new laptop, so options were all set to default...) and I have a weird issue I can't (for the life of me!) figure out.
In debug mode, when...
-
Hey thanks a lot for getting back to me Peter!
Actually, I just need to import the public key, which is the only key needed to verify the signature.
Further searches on the web had me stumble...
-
Thanks for the detailed answer Peter!
It certainly helps me, but it doesn't solve my main problem: how do I convert a key I already have to the right format? One thing I forgot to mention, the...
-
Hi all,
I tried looking around the interwebs as much as it is reasonable to do, but failed so far in finding what I'm looking for, which I think should be fairly straightforward.
My application...
-
Arrrgh! I just figured it out....
I was creating a String value named 'DefaultIcon' instead of a registry sub-key (for which it's default value was the path to the icon file...)
Never mind!
-
Hi all,
I made a CAD application, which spits out files with a specific extension, which was easy to associate to my application in the registries. This way the file icon displayed in Windows...
-
Thanks, but that wouldn't work. I don't want to close the first instance of my app for simlar reasons we wouldn't want a Word document to close itself automatically (without saving on top of it!)...
-
Cool, thanks!
I'll check this out and report back. That said, re-evaluating the current architecture of my app to switch to a more 'standard' application that has a startup form is also an...
-
Thanks, but for this one must enable application framework, and it is not my case (my app starts from a 'Sub Main', and not a form...)
Any other suggestion?
-
Thanks, but for this one must enable application framework, and it is not my case (my app starts from a 'Sub Main', and not a form...)
Any other suggestion?
-
Hi all,
I built a CAD application in VB.NET. I takes into consideration the commandLineArgs, so when a user double-clicks on a file saved with my application, it starts my app and opens the said...
-
Thanks for you answer, but this did not give me the results I was after. It stretches the image without keeping proporportions.
Thanks jm, DrawToBitmap almost did the trick. It keeps the...
-
Hi all,
Here's what I'm trying to do with no success so far:
- I have a picturebox with square dimensions (so width = height).
- The picturebox.BackgroundImageLayout is set to 'Zoom', which...
-
-
Ok, a little extra info.
I have been able to put my finger on the source of the issue. When the modal view is closed, in my application, it is actually hidden in the following way:
...
-
Unfortunately, showing you the guts of my ExploreObject class would just lead to more questions. Honestly, I don't think it has an influence on the issue. Once the dialog box is closed, the...
-
You mean you don't understand where my problem comes from, or you don't understand what the code is suppose to do?
-
Indeed!
Public Function ShowExplorer(RootObject as ExplorerObject, Optional ModalView As Boolean = False, Optional ByRef CancelClicked As Boolean = False) As List(Of ExplorerObject)
...
|
Click Here to Expand Forum to Full Width
|