I have a Unix server on which a continuously running application generates a large text log.
(aprox. 100megs an hour).
My main development machine is a Windows computer and to see what's going on with the application I use Filezilla to download the log file to the PC where I use notepad++ to go thru log entries.
The whole process seem...
Hi my dev environment like this,
Winxp pro;
Kohana v3.03;
XAMPP Windows 1.7.3;
I followed the wiki guide to remove index.php file
http://kerkness.ca/wiki/doku.php?id=removing_the_index.php
But when i try to rename example.htaccess to .htaccess . Windows alert "you must type a file name"... Is there any solution about it?
Appreciate...
i have a Qt application.
when i run this application, there is a console opening behind the application. in development it is nice because i see debug outputs on the console.
now, i want to give this executable to the customer and i dont want to any console window.
how can i hide it??
(ps. i use Visual Studio 2008)
...
I'd like to know what is the Windows API function (if any exists) that provides information about the last Windows reboot source. There are three main possible causes:
The computer crashed on a blue screen
A user or a program shutdown/restarted the computer
A power lost
The more details I can get the better. However, I need to know a...
Is there a way to elevate privileges to the level required to write files to a network folder with our Delphi 2006 (Win32) application?
The user running the application does not have permission to write (or view) files in the network folder in question.
Any recommended techniques or alternative suggestions?
...
This seems to be a pretty popular problem/question these days but I cannot seem to find a solution to the problem.
I have created a simple windows service in c# for sending out emails. The app works great except for it's memory usage. The front end of the app is web based and the service is queued by a text file being created in a direc...
I've been trying to install PyQt 4.7 on Vista, but I am getting an ImportError when I try to do: from PyQt4 import QtCore, QtGui.
ImportError: DLL load failed: The specified module could not be found.
I've checked my System Path, and C:\Python31\Lib\site-packages\PyQt4\bin is on there.
I can't run any of the examples, but the Des...
Hi!
I want to create a simple program which is working very similar to RAID1. It should work like this:
First i want to give the primary HDD-s drive letter and than the secondary one. I will only write to the primary HDD! If any new data is copied to the primary HDD it should automatically copy it to the secondary one.
I need some help ...
I'm looking to get an executable's application icon in .Net. How can I do this? I'm thinking I'll have to query its resources, some how, but I'm open to any general-case solution.
...
Possible Duplicates:
Commercial version control
Best Version Control System for IIS?
Ok, I am looking for a good revision control system for windows that I can use locally while developing some web apps. Is there any particular standard application that everyone uses or is it pretty varied?
...
I'm using CredUIConfirmCredentials in combination with
CredUIPromptForCredentials.
I set the EXPECT_CONFIRMATION, and when the credentials are first provided by
the user the call to CredUIConfirmCredentials returns NO_ERROR as expected.
However, on all subsequent calls to CredUIConfirmCredentials, with the same
credentials, ERROR_I...
There is a VBScript (.vbs) script that someone made here at my company. It opens and closes certain application, this application has a tray Icon and each time it closes (kills via console) the application the tray icon remains. So after one or two days running the script millions of icons of the application remain on the taskbar.
Is th...
IIS 7 on Vista does not limit the number of allowed connections as IIS on XP did but limits concurrent requests to 10 (Windows Vista Ultimate, Business, and Enterprise Editions) or 3 (Vista Home Premium). Additional requests are queued which hampers performance but they are not rejected as with XP.
This is what I got from wiki, but I wo...
I'm developing a parental monitoring/tracking application that has a feature to lock down all internet activity. While disabling the network adapter would seem like a simple solution, the application must have the ability to turn the internet back on remotely -- so the network needs to remain enabled, to a certain limit.
Unfortunately,...
When using sprintf, the compiler warns me that the function is deprecated.
How can I show my own compiler warning?
...
I'm developing a program in wxwidgets that has one worker thread that does COM stuff. I just noticed that it has two entries in the task manager. Looks like
myapp.exe*32
myapp.exe*32
Is this duplicate entry normal? I noticed most other processes don't. Hmm. What could cause this?
I'm using Windows 7 Ultimate 64 bit.
...
I have a batch file that tries to run the program specified in its first line. Similar to Unix's shebang:
C:\> more foo.bat
#!C:\Python27\python.exe
%PYTHON% foo-script.py
C:\>
What I want to know is: is there a way to automatically set %PYTHON% to C:\Python27\python.exe which is specified in the first line of the script following the...
Hello everybody,
I am making a program in vb.net (visual basic) that has two forms. I have one as a sort of "main" base which will be behind everything. Then I have another additional form which is suppose to go on top of the "main" form. Well I get this to work when I show both of the forms, but I want the smaller (additional) form to ...
Hi all, I'm trying to use safe practices in handling input with numbers only in C++, so I use a stringstream object as so:
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
int main()
{
int first, second;
string input;
stringstream sstream;
cout << "First integer: ";
getline(cin, input)...
The usual check to differentiate between running Python-application on Windows and on other OSes (Linux typically) is to use conditional:
if sys.platform == 'win32':
...
But I wonder is it safe to use today when 64-bit Python is more widely used in last years? Does 32 really means 32-bit, or basically it refers to Win32 API?
If t...