Hi,
This question is related to a Windows install of PHP5.
Doing a file unlink() makes it difficult for recovery.
Instead I would like to move the file to the Recycle Bin (without doing an exec()).
Do you have any idea?
Thanks for your help.
...
What is the best way to map a network share to a windows drive using Python?
This share also requires a username and password.
...
Hello
I found that Windows has some new Windows Data Types
DWORD_PTR, INT_PTR, LONG_PTR, UINT_PTR, ULONG_PTR
can you tell me when, how and why to use them?
...
I need the sniffer to test network traffic of applications developed by me for Windows and Facebook.
Basic requirements:
-display request and response
-display HTTP headers
-display the time it took to complete HTTP request
Now I'm using HTTP Analyzer.
A very good tool, but it terminates with some error after 10-15 min running on Vista....
Hi,
I have a python script calling an exe file. The exe file can be in the same folder as that of the python script or in a network drive. Is it possible to call the exe if it is in a remote drive/computer? Can this be done by setting the %PATH% variable
...
How do you find out the last log-in time for a windows machine(any user) through powershell?
...
This is the scenario:
We have a Python script that starts a Windows batch file and redirects its output to a file. Afterwards it reads the file and then tries to delete it:
os.system(C:\batch.bat >C:\temp.txt 2>&1)
os.remove(C:\temp.txt)
In the batch.bat we start a Windows GUI programm like this:
start c:\the_programm.exe
Thats al...
I am trying to create a website installer and am using wix. i am using this tutorial
http://www.dalun.com/wix/01.05.2007.htm
i had to change my script to use
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
because it was complaining about
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
so my script looks...
Is it possible to read input directly from a Alps touchpad? I am trying to turn my touchpad into a cheap drawing tablet so I need to read the raw unprocessed x and y coordinates of where it was touched relative to the physical touchpad. So if I touch the bottom left corner of the touchpad, it should correspond to (0,0) etc.
I am trying...
I have a small batch file to search and replace within a batch file. I am having difficulty removing things (eg replacing some text with a null value). Am sure it is simple but not found anything by searching!
This is the file:
Where you see xxxxx and yyyyy is where I need a blank!
Cheers.
@echo off
setlocal enabledelayedexpansion
...
How can I monitor a Windows process and start it up if it is not running? I'd like to have something that starts up as a Windows service and can handle multiple processes.
EDIT:
Hopefully there's a ready to use library/component I can use and just tweak or configure instead of having to implement it from scratch. I know in the *nix worl...
Hi all,
I have a windows console app (that accepts parameters) and runs a process.
I was wondering if there was any way to run this app from within a windows form button click event. I would like to pass an argument to it as well.
Thanks
...
I'm running Debian on VMWare Player on an XP SP3 host.
I'm using VMWare's folder share. I'm running jetty on Debian, and editing files in Windows.
I have the following stange behavior:
Jetty is running
I edit a javascript file (that's being served by jetty) in a editor in Windows, and hit save.
I reload the webpage in a browser, an...
My Win32 console applicaton uses a third-party library. After it exits WinMain global objects destruction begins and an AV happens somewhere deep inside. I'm really tempted to just write
TerminateProcess( GetCurrentProcess(), 0 );
somewhere near the end of WinMain. If I do this the application ends gracefully.
But MSDN says that doin...
Hi,
We are starting now a new software project. We are 5 developers, located in US and Asia.
We have a server hosted in the US and we plan to use it. We can set a SVN repository on it. It's a Linux server.
Below please find our requirements:
1. Windows good client. We develop on Windows (VisualStudio).
2. Private working-space on Windo...
Hi!
I want to check the current color depth of the OS to warn users if they try to run my application with a "wrong" color depth (using c++ & Qt).
I guess there's a win api call to get this information, but I couldn't find anything...
Thaks for any hint, Hannes
...
I am launching another process from by C# application, and came to a problem: is there any way to read process output char-by-char, not line-by-line? I desperately need that because the other process is a command-line engine, and I need to send a command to it, read output and somehow understand when it is done. The way it indicates that...
Hi, I developing program witch have to write some data in file whom are stored in network computer witch are protected by password.
Now I'm doing this way - open connection with cmd then write data.
static bool ConnectToSrv()
{
String myUser = "domain.local\\user";
String myPass = "pwd";
String cmdStrin...
Hi,
I'm building an application where I need to use a saveFileDialog. The problem is that I want to restrict the users from using some parts of the saveFileDialog (e.g. I don't want them to edit the name of the file). I've heard that it's very difficult to do this using Windows forms SaveAsDialog. Do you know how to do this in native c...
Hi,
I try to use the following technique in order to enable/disable the shadow effect for a window: (The CreateParams is of course overriden. The TToolWindow descends from TForm).
procedure TToolWindow.CreateParams(var Params: TCreateParams);
var
LShadow: boolean;
begin
inherited;
if (Win32Platform = VER_PLATFORM_WIN32_NT)
...