I'm creating a backup strategy for a sharepoint server I'm setting up.
Have got a backup running daily.
In the long term I'd like to keep:
* Daily backups for the last week.
* Weekly backups for the last month.
* Monthly backups for the last year.
* Yearly backups.
If I was writing in bash/cygwin I would find it fairly easy to write...
I would like to know if its possible to "WinWaitActive" for "WindowWithThisTitle" and "WindowWithThatTitle" at the same time. I'm executing a command and there could be a window telling me that the connection failed or a user/pass dialog coming up.
Is there another way doing it as this?
WinWaitActive("Title1", "", 5)
If(WinExists("Titl...
Hello,
I'm having problems with this site - http://www.polivision.tv/test.html
In firefox and chrome on my macbook the video plays full screen in the background.
However, my client is complaining about it not working at all on windows computers. While I thought that most browser compatibility issues were mostly browser based and not...
Edit For anyone having an issue, it turns out to be, as usual, a simple problem to solve. The keys need to be installed under the service account. Log on to the workstation under the service account, install the keys, and then it can be run from any session that would be launching it under the service account context. Problem solved.
...
Like blocks until the file is done playing, what's the principle and how to implement this?
...
I'm curious about how some features are implemented under the hood,like :
pEvent->WaitForCompletion(INFINITE, &evCode);
I tried to step into it but failed.
Is there a way to do that?
...
For debugging purposes, when I'm writing an app, the first thing I do is put the following into the stdafx.h:
// -- leak detection ----------------------------------------------------------
#ifdef _DEBUG
// http://msdn.microsoft.com/en-us/library/e5ewb1h3(v=VS.80).aspx
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg...
I thought flush(); would work, at least from what Google/Stackoverflow tell me, but on my Windows WAMP (Windows, Apache, MySQL, PHP) system it doesn't work.
Is there some PHP setting I have to set to make flush() work?
Here's my code:
<?php
echo "Fun";
flush();
sleep(5);
echo "<br>Mo";
?>
The code just outputs all together when t...
Hello,
I have a Windows Service written in C# that controls a device connected to the computer by RS232 (gathers data and allows to control the device). It's named DeviceService and it's working properly. Now other applications use it by WCF services.
But now I need to expose some of functionalities as COM+ Component, so applications i...
Hi
I have a perl script (Cgi / Apache / Windows) which executes some programs on the computer, and formats the output for the web. The script takes about 4-5 minutes to completely run.
My problem is that when someone cancels page load (or closes the web browser) while the script is running, the perl process in the server will keep runni...
When I type:
gem env
on my Windows system, it produces this info:
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.5
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
- INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: C:/Ruby/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/Ruby/bin
- RUBYGEMS PLATF...
I've got a simple .NET program, which checks to see if another instance has been started:
Mutex mutex = new Mutex(false,"MyMutexName");
if (!mutex.WaitOne(1))
return;
try{
//do stuff
}
catch{ //exceptions}
finally
{
mutex.ReleaseMutex();
}
My question is, what exactly happens to the...
I am making a taskbar in C# and I know how to get a list of open windows, but I must know what windows I must show in the taskbar. How can I do this?
...
Hi,
I'm making an application that will collect some information on the user computer for statistical reasons, eg. What programs are installed, does it use wired\wireless connection, default browser, Does it use ms office, open office, other?, etc.
I want to know what are the most used programs on the computer. I know windows keeps trac...
I have created a screen saver (C#, .NET 4.0 if that matters) but I have a couple of problems (on a more cosmetic level, though). These are probably easy to solve, but I have prettu much never used the Win32 API, so I can easily miss the obvious when it comes to that.
Q1: I set up the small preview window like this:
SetParent(Handle, h...
Hi, I recently made my first device to PC connection using USB. for Pc side, I used LibUSB-win32 library. This experience made me think - are system drivers (those who came with OS) written on some special level, which cannot be achieved otherwise? More exactly, are they so deep integrated into OS that no user-written driver can be writt...
Is it possible to change the background color and the title text of compiled command line program ?
I do not have the source files.
...
My client asked me to write an custom encrypted executable to prevent easy cracking of the licensing system. Now, I understand that this is a false sense of security, but despite this he insisted on it.
So, I dug up my knowledge of portable executables and came up with this idea:
Encrypt the executable
Stick this to the end of a loa...
I know that when developing for Xbox in XNA, you basically just set the resolution to 1280x720 and the Xbox will just take care of things, but on PC I'm having some trouble getting the resolution handled correctly.
I would like it to be able to run at other resolutions, but I'm actually happy to make the game always widescreen and just...
Is there easy way to install SSH in xampp for windows ?
...