windows

Can Subversion limit a developer to accessing only certain files?

I need to outsource some programming. I was thinking of setting up a computer the programmers could Remote Desktop into with a full test environment set up on that computer. I have never used subversion and was wondering if I could give them access to only certain modules so that could not even see the code to modules they did not need...

Python: gettext doesn't load translations on Windows

This particular piece of code works very well on Linux, but not on Windows: locale.setlocale(locale.LC_ALL, '') gettext.bindtextdomain('exposong', LOCALE_PATH) gettext.textdomain('exposong') Code from here Even if i specify the locale in locale.setlocale (I tried different formats) it doesn't work. One problem might be that the loca...

WMI namespace root\cimv2 not available on Win2k?

Hi, I'm trying to run the following VBScript code on a Win2k SP4: strComputer = "." Set oWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") It works on XP and Win7 without problems, but on this 2k box I get the following error: C:\test_wmi.vbs(3, 1) (null): 0x8004100E The ...

Can Ant's tar task set a Linux file permission even when the task is used on other platforms?

Starting with Ant 1.7, the TarFileSet is available which seems to allow file permission modifications in the tar archive. Does this feature work platform-independent, so that I can for example create a tar file on Windows and set execution permissions for script files in this archive which will have this flag if the file is unpacked on ...

How to install Qt-Jambi in Eclipse in windows 7?

I am new in programming and I want to install Qt-Jambi in Eclipse in windows 7. Can you explain it to me with a step-be-step procedure? I have searched but I didn't find a easy explaining procedure or tutorial. Thanks in advance ...

How can I let the application screen always on top? [Python]

I have a simple script that runs in to the cmd screen, the console screen... how can I let the console screen always on top? and if it''s possible, re size it? ...

How to get PID from PHP function exec() in Windows?

I have always used: $pid = exec("/usr/local/bin/php file.php $args > /dev/null & echo \$!"); But I am using an XP virtual machine to develop a web app and I have no idea how to get the pid in windows. I tried this on a cmd: C:\\wamp\\bin\\php\\php5.2.9-2\\php.exe "file.php args" > NUL & echo $! And it gets the file executed, but t...

Programmatically establish an SSL encrypted connection to a windows share

I'm trying to programatically make a connection to a windows share. So far, so good. I just use the WNetAddconnection2 API. Let's me pass userid, pwd, etc. Now I've been given the requirement that this connection be SSL. I can't find any information anywhere about being able to do this. WNetAddConnection2 certainly doesn't support ...

How to reset/change expired password for DB2 Content Manager 8.4.1

I had installed IBM DB2 Content Manager 8.4.1 months ago and now I wanted to access it to continue some more work. But when I try to log in using System Administration Client, it tells me the password is expired. The error is: DGL0394A: Error in ::DriverManager.getConnection;[jcc][t4][2012][11248][3.50.152] Connection authorization fai...

Trace unmanaged function calls at runtime?

Is it possible to generate a tree of function calls at runtime? I'd like to get a feel of what the program is calling. This is essentially the same as breaking at a particular location, stepping through each function, and recording down what the function names are. I have no performance constraints. I am using Visual Studio, but do not...

Publishing an (.exe) application.

Hello! I have an application and I would like to make a windows installer in order to deploy it. I'd need good and free tools in order to make a .msi. I googled a bit without any good finds :( . Thanks for anyhelp! ...

DLL linker issue

I am compiling a DLL twice (once for x86, once for x64) and I have set /ENTRY to "DllMain". I am using the /MT runtime library option to statically link against the runtime library. This all work fine when doing the x86 build, but the x64 build fails with this: error LNK2019: unresolved external symbol main referenced in function __tmai...

Having problem generating a certificate request from a sql 2005 server

Hi all, I'm trying to generate a certificate request from a sql 2005 / windows 2008 server, so that i can get a certificate made and thus enable encryption on my sql connections from clients. On the server, i do: start -> run -> mmc add 'certificates' snapin choose 'computer account' choose 'local computer' Right click the Certificat...

Getting windows media player currently playing song

Is there a way I can get currently plaaying song from Windows Media Player by C# with .NET? Any API that will work with all Windows Media Player versions? ...

Putting window inside the desktop

Hi, I am trying to make a kind of desktop widgets using C#. So far, I've managed to create a window that gets added to the WorkerW window containing SHELLDLL_DefView. This way, my main form is inserted inside the desktop window over the wallpaper. This is exactly what I want except that I have a little problem. It seems like there is an...

Problem with mass renaming batch file script - directories travelling

cd \. cd Source\2010 for /l %%i in (1,1,9) do ( if exist 0%%i\NUL ( cd 0%%i for /l %%j in (1,1,9) do ( if exist 0%%j\NUL ( cd 0%%j d:\Renamer\ReNamer.exe /rename "telegraf-rename" "*" cd .. ) echo 0%%i ) for /l %%k in (10,1,31) do ( if exist %%k\NUL ( cd %%k d:\Renamer\ReNamer.exe /rename "tele...

Is Windows Workflow Foundation Designed for a scenario such as this?

I work on a payment system. When a user attempts to pay an invoice a method is called that returns a reason code as to why/why not the user must get approval before an invoice can be paid. As the complexity of the "rules" keeps growing as well as the reason codes it can return I need to shift to a solution that will be easier to modify/m...

How to hide window from "Applications" tab in task manager?

Hi guys, I have question regarding the CreateWindowEx function. I have 2 windows, a main one and a popup one. I want a popup window to hide everywhere. It is currently not displayed in taskbar and it is not even visible in alt+tab menu. However it is visible on "Applications" tab in task manager. What flags do I need to use in CreateWin...

How to find why my application becomes unresponsive at unaccessible customer sites

My application is deployed at customer sites, that I can not access, and has no internet connection. There are complains that in serveral sites, once in a week or so, the application become unresponsive, so that the operators need to kill and restart it. We were unable to observe it in our site. Is there something I can do that may he...

Assigning a value to a non-static function pointer resulting in crash - WHY?

I have a function which is defined like this: typedef void (*logprintf_t)(const char* format, ...); logprintf_t logprintf void my_function() { logprintf = cast(logprintf_t)0x12345; } and it causes the application to exit. However, if I make the logprintf be static (I've seen this trick somewhere), i.e.: void my_function() { s...