Find monitor size and it's company - vb6

How can i find the monitor size(not pixel, actual physical size) and it's company(manufacturer) by using vb6 code. I saw some links which give screen size using WMI(WmiMonitorBasicDisplayParams and WmiMonitorID) and some other by using some registry, but nothing worked for me. Can anyone tell me how it can be done by using vb6.

There is a good article about it : here
He describes the same steps as you tried, which failed, and came up with something else in the end.
I don't know if it works for you, but it seems the most promising I could find.

Related

How to record access to virtual page of process in linux?

I want to track the access count of pages by a application with swap enable.
Does modify mark_page_accessed to implement it is possible?
Or other solution which is more elegant and convenient?
If it can be done in user space that would be better, plz give me some tips.
Thanks!
I have googled but could not find a specific solution.
It would be great if you can give some tips.
A smapling way works by clearing the pte bits constantly and Working Set Size (WSS) Tools (https://github.com/brendangregg/wss) is a good choice.

How do data breapoints work?

There are a great number of articles describing how breakpoints work, like this and this. However, I could not find any reliable information on how data breakpoints work, i.e. breakpoints which are triggered when a particular address in memory is modified. Doesn't seem very difficult after reading these articles, still would like to know exactly how this is done. Thanks.

POST Card displaying error

The problem is : my computer start, and my screen is black (as always when there is a big problem :D).
I already tried to : change my motherboard, change my graphic card, change my power supply, reset CMOS : no success. Would it be the CPU ? :D :D :D ... :'(.
I'll tell you all I know when the problem occurred.
- "I was chilly peacefully playing a game when my PC instantly switched off. I opened my PC and I've seen a lot of dust in the alimentation fan. I vacuumed it!".
I recently bought a POST card that, they say : "give information about the POST checks".
This card, when I power up my computer after a long time, shows : --AA (4-digits screen).
When I switch off my computer and switch it on just after, the card shows : --FF.
I noticed the sound of the CPU fan is different between the AA and the FF code. (so the fans run).
From what does this error come from and how to solve the problem ?
Thank you for your time ! Have a great day.
You haven't tried to replace your memory...
As you can see a check point, I believe the CPU is still good.
Good luck.
To know what AA and FF mean, you need to get a list of POST codes for your system. Check with your motherboard manufacturer, perhaps in the manual.
If you can't find it there, the next best thing would be to get a list of generic POST codes for the BIOS. You will need to determine what BIOS is actually in use on the mobo though (AMI Aptio, Phoenix SecureCore Tiano, etc). Then do a Google search for the BIOS name + POST codes, and you will pull up a list.
Note that just the code by itself may not be enough to debug it. The BIOS spits out hundreds of POST codes during boot up. The sequence of the codes can tell you something too.

Android How to use multiple pointers for dual joysticks

The app contains 2 virtual joysticks and I'm having trouble figuring out how to move them independently at the same time without the pointers getting mixed up.
Would someone be kind enough to give me some general advice?
I'd post what I have except it's so messy at this point I don't even know how it works. I'm just going to scrap it and start over.
You might want to take a look at the open source widgets of mobile-anarchy: https://code.google.com/p/mobile-anarchy-widgets/wiki/JoystickView
It provides code and samples for both single and dual virtual joysticks. Probably you can get some help by looking at their code, or maybe use those joysticks in your own application.

Exact Code segment size for a windows process

The linux file proc/{pid}/status as we know gives us some fine grain memory footprint for a particular process. One of the parameters thrown by it is the 'VmExe' or the size of the text segment of the process. I'm particularly interested in this field but am stuck in a windows environment with no proc file system to help me. cygwin mimics most of the procfs but the {pid}/* files seem to be one of those parts which cygwin ignores. I tried playing around with the VmMap tool on windows sysinternals, but the closest field I got was was 'Private Data Size' on a Private working set. I'm not really sure if this is what I'm looking for.
I would take a look at the vmmap.exe from sysinternals, and see if it displays the information you are looking for, for a given process. If the information you are seeking is displayed there, you could take a look at the api calls the application uses, or ask on the sysinternals forums on msdn. I know this isnt exactly what you were looking for in an answer, but it hopefully points you in the right direction.
If you are talking about the :text segment in the PE itself, you can get that information from the debughlp library, and a number of other ways (there are a few libraries floating around for binary analysis).

Resources