Python, get windows special folders for currently logged-in user
How can I get Windows special folders like My Documents, Desktop, etc. from my Python script? Do I need win32 extensions? It must work on Windows 2000 to Windows 7. ...
How can I get Windows special folders like My Documents, Desktop, etc. from my Python script? Do I need win32 extensions? It must work on Windows 2000 to Windows 7. ...
(This may not be the site for this issue however i've already asked in the official mono forums and got no response) Hello: I have a GTK Label with useMarkup set to true and it works perfectly in Ubuntu 10.04 however in Windows 7 x64 it just shows the plain html text and not the representation of it (Both my Ubuntu and Windows PC's ha...
I'm trying to write a value to IO port 0x0466 in Windows. Normally, it is 0x0000. To change it, I can physically short-circuit two headers on the board, and the value changes to 0x0001. And it will stay 0x0001 even when I open the circuit, until I restart/etc. Now, the problem is, using software/IO port dll, I can write 0x0000 to port 0...
This has actually occurred twice now. I'm writing a cross-platform application, and some of my function names conflict with the Windows API. What I did (for example with LoadObject) was... #undef GetObject Is this an okay approach, or should I rename my functions? ...
Why does SSMS (MS SQL Server Management Studio) continue to increase the appending numbers to windows and queries even if I open a new one after closing all previous? For ex., the window header of a newly created query is shown as "SQL query6. sql - localhost.databasename (ComputerName\Administrator (52))". How one can reuse these "help...
Hi guys! I'm quite new in IT and would like to know the cost and Estimated time of deilvery of a facebook application. The program should be able to receive voice input from users and upload it onto the facebook site and also allow others to vote or like the music files. Would it be possible to do such an application within 2 weeks? Pre...
This is probably a very stupid question. But assume that I have a DLL (test.dll), with some exports, that when built generates an import library (test.lib). I have an application TestApp that uses this DLL. Now, if I want to change some functions' implementation in the DLL, and I keep the exports unchaged, do I need to rebuild my applic...
Though i'm currently interested in internet explorer address space i wouldn't mind a general answer. The question is how can i calculate the address space ( and by address space a mean the minimum and maximum address in memory -correct me if i'm wrong- ) of a windows process. Actually is this space fixed or varied ? Also do i get to kno...
I'm seeking of an API that can be used to dump most data structures,is there one in c/c++? ...
I am developing a custom version of a gina.dll for Windows XP, it has to behave differently when someone attempts to log on via RDP. The problem is in figuring out whether I am inside an RDP session or not. After researching this matter and reviewing various discussions, I established that the following approaches do not work: Check ...
I'm trying to make an Aduto-Forum poster with VB.NET windows form application This is the page, http://www.inviteshare.com/community/viewforum.php?id=9 First I'm trying to log-in automatically I insert username & pass but I can't click the Login button because there are 2 buttons with the same ID on the page. ( input type="image" name="...
I am developing a Python based GUI. I need to run a ruby file and get its output. I did it successfully using subprocess module. But I need to run the file in the background and I need to get its output as well. Can you please let me know how to achieve this? ...
Hi I am a newbie to Net-SNMP, I want to implement a Subagent using Net-SNMP on windows which will provide the information about my server statistics like calls processed, calls failed etc. I did the Net-SNMP installation as provided by http://forums.cacti.net/viewtopic.php?f=6&t=26151 and trying to compile the example given on the ...
I'm trying to setup and configure some AMIs on Amazon EC2 for some batch processing work we need to undertake. Having played around, I know that the default Windows Server AMIs with EBS backed storage are 30GB. However, I'd like to have the initial volume at 150GB. I've read around numerous articles (including this one), but it's not wor...
Here's what I'm getting now by wprintf: 1胩?鳧?1敬爄汯?瑳瑡獵猆慴畴?? Is utf8 just not supported by windows? ...
Hi, I am creating a Qt4 c++ application and i target Windows and Linux. For windows i added an entry in the registry to create a context menu in explorer. After adding this feature the windows users want me to add an icon in that context menu. It seams that the only way to add the icon is to use a shell extension(except for windows 7 whe...
I was wondering if it is possible to retreive from Windows a list of the applications installed INCLUDING their GUID and Upgrade GUID. I am having problems getting my upgrade to work for one of my programs, and need to check these values for the old version of the program. Thanks for the help! ...
The answer from TcKs gave me an idea, thus i tried following: system("mailto:[email protected]?subject=Test"); and STARTUPINFO info = {sizeof(info)}; PROCESS_INFORMATION processInfo = {0}; if (!::CreateProcess(NULL, "mailto:[email protected]", NULL, NULL, FALSE, 0, NULL, NULL, &info, &process...
Let's say I have a project with a dozen of different modules which produce one resultant DLL, how can I analyze it so that I can identify the actual file size that each module/functions contribute? I know it might be impossible with a Release build where much information has been stripped, but how about if I have the full source and can ...
I looked at MapVirtualKey() and ToAscii(). MapVirtualKey() gives me only the unshifted character. ToAscii() only works for vk codes that translate to ASCII values. I need to detect for example, "Ctrl + Shift + 3" as Ctrl active, Shift active and '#'. Any clues? ...