I am using WMI to detect a number of items about a network adapter's state. Among the things I need to find out are (a) speed and (b) duplex.
I have been able to detect the speed of a network adapter by using WMI and the following Python code:
from pycom.client import wmi
dev_name = r"\\DEVICE\\{287EB4BB-5C2A-4108-B377-15E1D0B0E760}"...
Hi
I've been writing an application in MONO C# and I need help, my problem is my aplication has to load some photos from my server which is running windows XP and i need to know how i have to write the photo's path. i mean for windows is somthing like this.
Im using the IO class to load as stream and close inmediately to release the fi...
Hello everyone,
I have a desktop computer that is hooked up to 3 different monitors of which only two can be active at any one time. One is a primary monitor and is always active. I can manually switch between the other two: one a monitor, another an HDTV.
The switch is a mechanical switch which only handles VGA (and at that, only the...
When a user puts in a CD and autoruns, I want to "browse" the CD but I want to do some extra processing of the disk contents. If I wanted to replace the ListView in windows explorer with one of my own, how would I start? What terms should I search for to find out how to do this. I want to get the treeview part that explorer provides, ...
Is there such a thing that finds numbers using regex and can perform simple arithmetic operations to it?
Imagine you have a source/config file storing positions and later changed the code which requires an offset now. How do you normally go about this without doing it manually?
Edit: I knew I should've added this bit with the orignal p...
It is possible to discover it programatically? It will use the Windows Registry? I'll need to take a screenshot of it and compare with the files on disk? Is it possible to discover even in the desktop slideshow mode?
...
I want to search a file duplicate by its hash. For performance purposes I want to know if there is a stored hash/checksum for each file in NTFS/FAT file systems. If there is, I don't have to compute them all to search my file.
If there is, how to access it using .NET?
If it helps, it will be JPEG files. Do they have a checksum?
...
I want to look in the list of processes to determine if OpenOffice Calc is running or if OpenOffice Writer is running. With QuickStart off, I get a scalc.exe and an swriter.exe so its simple.
However when the quick start is on I just get soffice.bin and soffice.exe
Is there a way of asking those processes which application is running?...
I have already checked This Question but could not find what i'm looking for. I am running Windows (the client), and the server is a legacy mainframe type server.
Basically I need to write a script, python code or whatever, to send some know commands to the server via telnet, and preferable capture the output. Then return when done.
...
Just trying to get a more thorough understanding of the major differences between windows(desktop) application and web application development. All my knowledge and experience has been as a web application developer, with c# and the .net framework. I am interested to know if it's common for developers to be skilled in both areas, i.e. WP...
Hi,
I'm a Windows (native, not .NET) programmer and I'd like to port an application to the Mac.
Actually, I believe it will be more of a rewrite, as the original depends on many activex controls.
As I have never used a Mac in my entire life, I'll need some guidance. O:-)
a) What book(s) would you recommend to make the move from Wi...
How can i make a dropdown list with checkboxes ?
I have a windows app ( vb.net) and the checkboxlist control is not real an option with the available space on my form.
Thanks.
...
In older versions of Windows, it was just open the Control Panel, select the System applet, select the Advanced tab, and then hit the Environment variables button. As a normal user, you could edit the "User variables" but not the "System variables".
In Windows Server 2008 R2, if I try to hit the Advanced System settings option in the S...
I am trying to convert a C++ struct to C but keep getting "undeclared identifier"? Does C++ have a different syntax for referring to structs?
struct KEY_STATE
{
bool kSHIFT; //if the shift key is pressed
bool kCAPSLOCK; //if the caps lock key is pressed down
bool kCTRL; //if the control key is pressed down
bool kALT;...
I'm trying to make my application support multiple languages. I've made some satellite assemblies and now I want to test what the app will look like when run on a French machine, for example.
In [Control Panel->Regional And Language Options] I can select French (France) in the Regional Options tab, and I can select French (France) in th...
Good day Sir, Im working on a project using a windows mobile PDA to Monitor ECG heart waves and vital signs from bluetooth devices on a patient.
Im trying to decide which bluetooth SDK to use to simplify and setup searching and connecting to these bluetooth devices. One such device is a mini USB heart monitoring device. Im using C# as i...
So I thought I had finally got everything setup on Windows ... then ran into this issue.
Current setup
URL: ssh://user@host:port/myapp.git
Already run Putty - and can connect using valid .ppk keys through the ~/.ssh/authorized_keys direct. In Git and TortoiseGIT - I set both to use "plink.exe".
Putty works fine - no issues - but ...
I see it a few times in my batch script, however I'm not certain what it actually does. The two occurrences of it are below an @echo (which prints out the text following it to the console) and are exact duplicates of the text that is printed with @echo.
...
I'm aware of %~dp0, which represents the fully expanded directory that contains the batch script, but what I'm looking for is either:
a method to invoke the batch script from Perl in such a manner that allows me to use the batch script without modification and have all directories in it be in relation to the batch script location
a sin...
I am doing an audit of a C++ app running on Windows, compiled against multithreaded debug DLL. It has a lot of third party dependencies which can spawn threads. I need to track why each thread is there and how much stack space it is allocating.
What is a good way to trace back to the start of a thread's creation so I can see where it ...