I've been googling for a while now but I was surprised to be unable to find an answer to this, quite simple, question.
With mercurial 1.4, when I clone a repository on a windows client, symlinks appear as a file containing the path to the original file.
I don't use symlinks extensively, but I do use them for shared lib handling (libpng...
I Have a app running background. I use it to get the url on IE if the IE is running...
It's better if It is a hook not a loop enum the windows.
How can do that?
...
What would be a recommended solution for domain management when I have a mixture of linux and windows computers operating in my startups network? Preferrably free and using a linux central server. Would also like to use OpenVPN or any other open source VPN system to access both types of computers on the network.
Thanks in Advance
...
I want to make my Windows computer run a Python script when it detects that a flash drive which has a particular name (for example "My drive") has been plugged in.
How can I achieve this?
Should I use some tool in Windows or is there a way to write another Python script to detect the presence of a flash drive as soon as it is plugged ...
I have written a sample MFC application in which there are two threads:
-Main thread ( UI thread)
-Worker thread ( non-UI thread)
I have a specific requirement to create a Modal dialog in Non-UI ( worker thread).
When I create the CDialog object and call DoModal on the same, it works. The dialog gets created and acts as Modal t...
Hi,
I am working on a sample application which sends file to other device. I have 2 buttons on my window, one is to send and other is to stop file transfer. Send; send the file to destination and Stop: stops the sending process.
When I send the multiple files to destination, all files reach destination properly. But if I click send a...
Hello,
I'd like to reference a user account on a Windows machine, without knowing the host name of the machine.
Specifically, I am assigning permissions on a SQL server database, in a sql script, that will give permissions to a local user account on that machine.
For example:
CREATE USER [UserA] FOR LOGIN [MACHINENAME\UserA] WITH DEFA...
In the PyWin32 demos folder, the win32gui_dialog.py sample uses the classic windows controls.
Can the Windows Vista themed buttons also be displayed using PyWin32, and if so, how? I'm using ActivePython 3.1, if that makes any difference.
Sample:
...
Hello,
My questions regards DCOM servers and windows sessions:
I have a windows service, running in win 2008 platform. on some scenarios, this service has to show some UI (Open a window). Despite the ugly design , it is the service it self that has to trigger the window opening.
In order to do so, i have a DCOM server that is created ...
Hi,
We have lot of products and there are some common DLLs across each product's application. Right now we copy each common DLL into each product's bin directory and treat them as private assembly. This unnecessarily increase the msi size of each product and when a problem occurs in a DLL we have to build each product's msi comprising t...
Hi,
I just installed PyGame 1.9.1 (onto an existing python 2.6.4). Python and it standard libraries work, however, there is a problem with python even being able to find the pygame modules (correctly).
Traceback (most recent call last):
File "C:\foo\bar\firstGame.py", line 2, in <module>
import pygame
File "C:\python264\lib\sit...
I have created an additional thread in some small testing app and want to suspend the main thread from this additional thread. The additional thread is created via CreateRemoteThread from an external process.
Since SuspendThread needs a HANDLE to the thread which should be suspended, I want to know how to get this HANDLE from code runni...
Hi,
not so long ago I´ve created a small iphone app for my Daily use. Now I want to port this app to a Windows Mobile Device while using C# and the Compact Framework. But I really have no clue how to use the HttpWebRequest and the msdn doesn´t help me either. I think I have a lag of understanding on how Web Requests work in general.
In...
I tried to run the following code:
var top = new DirectoryInfo("C:\\");
foreach(var info in top.GetFileSystemInfos())
System.Console.WriteLine("{0}: {1}", info.Name, info.Attributes);
I got the following result:
$Recycle.Bin: Hidden, System, Directory
ATI: Directory
Documents and Settings: Hidden, System, Directory, Repars...
Hello,
I'm trying to do something like Rainmeter do to its windows, that is use the full transparency in a window but we still read the text of each window.
Anyone can explain me how this is done? how we set the full transparency in a window and show certain parts of this window (like text or other things).
I can do this with regions ...
I'm having trouble simulating character keypresses when a non-English input keyboard language is being used in Windows.
I tried calling SendInput() with KEYEVENTF_UNICODE:
KEYBDINPUT ki;
INPUT input;
int character = 0;
ki.wVk = 0;
ki.wScan = character;
ki.dwFlags = KEYEVENTF_UNICODE;
ki.time = 0;
ki.dwExtraInfo = 0;
input.type = IN...
Hello,
I´m trying to use a Webservice in a .Net Compact Framework 3.5 Project which has no WSDL and where I have to use HttpWebRequest.
I´ve tried my code on 2 Devices and on the Emulator but I get everytime the same Exception and I really don´t get why!?
First, my code:
internal void SendSms()
{
HttpWebRequest req = (Http...
Windows Vista, Ruby v. 3.3.5
C:\>gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
C:/Ruby19/bin/ruby.exe extconf.rb
checking for Ruby version >= 1.8.5... yes
Invalid drive specification.
Unable to get ImageMagick version
...
How do you rollback from Ruby 1.9 to Ruby 1.8 ?
...
Any suggestions?
C:\Users\Steve\barcoden>gem install ruby-debug
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.
C:/Ruby/bin/ruby.exe extconf.rb
creating Makefile
make
'make' is not recognized as an internal or external command,
operable progr...