windows

Realtime File Sync solution for windows?

When I develop web applications I'm frequently need to sync files from a working folder to external server or another folder. I like keeping my code separated from the web sever. In open source world there is the eclipse with file sync that does the job pretty well. Unfortunately I can't find any good replacement for Visual Studio. I...

Can a windows form display the min and max buttons without the close button?

Is there any way (in C#) to display a form with just the minimise and maximise buttons? Without the close button? The only way of removing the close button (that I'm aware of) is: form.ControlBox = false; But this also gets rid of both the other buttons. ...

Adding a Application specific paths, so it works from the command line in Windows

Following the guide from Microsoft, http://msdn.microsoft.com/en-us/library/ee872121(VS.85).aspx , I am able to get my program to be able to make program able to resolve the dynamic libraries that are required in order for my program to work. So I add a value with the full name and path to my executable, and add subkey to this entry (n...

How to concatenate using lstrcat in Visual C++?

Hi, I would like to append two strings together so that I can rename a file using the MoveFile function. But my strings refuse to concatenate, so instead of adding "E:\" to "FILE-%s-%02d%02d%02d-%02d%02d.txt" to give me "E:\FILE-%s-%02d%02d%02d-%02d%02d.txt", it gives me just "E:\" as if nothing happened. Here is a snippet of my full c...

How does Snipping Tool do this?

I noticed that Snipping Tool (On Windows Vista / 7) has a Toolbar control. I'v used Spy++ and copied its exact styles but when I press down, it does not do like theirs. Theirs stays stuck on the clicked control, indicating that this tool is 'in use' I want to have this effect in my application. Thanks ...

Programming a virtual second monitor driver: where to begin?

There is an iPad app called Air Display which turns your iPad into a wireless second monitor for your computer. I haven't personally tried it so I can't vouch for its effectiveness, and I assume it has a significant amount of lag, but I think it would be very useful to toss something for reference onto the iPad screen and then work on yo...

The lan.Net 3.5 Application working in Windows 7 ultimate but not in Windows 7 professional.

Installation of application in windows 7 professional and Ultimate. In ultimate it is working fine but not working fine in professional. The application is developed in .Net 3.5 framework. Is there any possible difference in functioning of the application in Professional and Ultimate editions. By not working i mean the windows forms...

php - adding video to php

hi how can i add a ffplay.exe (ffmpeg) video to php script.can i use exec() to access the ffplay.please help me out.thanks in advance. ...

Select statement not working in Sqlite

i have a table with 19 columns. if i query using select * from tab where id=1; i'm able to obtain all the attribute values. whereas, if i query using select name from tab where id=1; i get no output. (name is defined as of type text in the schema) i don understand what the hell is going wrong.. ...

How to manage users with interactive logon rights?

Can anyone tell me how I can manage(or if not possible, monitor) programatically the people who are allowed to interactively logon(that is through actual physical access) on a windows machine attached to an active directory architecture? Something in BCL/FCL is preferred but COM interop/WMI is also fine. ...

error with parse funcion in lxml

Hi all! i have installed lxml2.2.2 on windows platform(i m using python version 2.6.5).i tried this simple command: from lxml.html import parse p= parse(‘http://www.google.com’).getroot() but i am getting the following error: Traceback (most recent call last): File “”, line 1, in p=parse(‘http://www.google.com’).getroot() File “C:...

svn+ssh checkout slow

I trying to checkout about 400MB of images from svn using svn+ssh. It is running extremely slow. (approx 3Kbytes/s) I am using TortoiseSVN as the client. The server is the standard svn server that comes with ubuntu. Any ideas how i can debug this. ...

Digitizer-Ink-Screen coordinates conversion

I would like to obtain digitizer coordinates using IRealTimeStylus and the final values should be "floating-point" screen coordinates. In other words since stylus is more accurate, I would like to get in-between pixels sub-coordinates too. From the device characteristics I can get conversion to Ink space and IInkRenderer can be used to c...

Idiots Guide to compiling curl with ssh in Windows

Hello, I am not a c developer, but I have been asked to to compile curl with ssh. I have downloaded the source for curl, libssh2 and openssl. I have managed to compile curl within VS2008, but I have no idea on to add the libssh2 and openssl. Any help would be grateful. Thanks ...

Knowing when an OpenGL rendering context gets destroyed

How could I get Windows to tell me when a particular OpenGL rendering context is destroyed? I am creating a small UI widget library that utilizes information stored in a single OpenGL rendering context per library context. To make the UI widget graphical resources available for other purposes, as well as to eliminate slow wglMakeCurrent...

Is there any distributed file system which runs on Windows except Hadoop?

I'm desperate to find any DFS which supports Windows. The only such DFS is Hadoop HDFS but it's very hard to deploy it other big number of Windows machines because it requires Cygwin + SSH. Almost all DFS systems work only on Linux and only one (HDFS) runs on Windows. I would be very grateful if somebody will be able to point me to oth...

Determine .exe Dependencies

I have a .exe file which I believe was created with VB6. Are there any tools in Visual Studio 6 or later that would let me see any dynamic libraries required for the application to run? ...

GetSaveFileName() not returning path of CD burning staging area on XP

I have a feature where I save a file to a location that user specifies. I'm using GetSaveFileName() to show the Save As dialog. I then use the path that it returns to write out the file to that location. I've noticed that it does not work when the user chooses the CD-RW drive on an XP machine. This same process works correctly on Vista a...

casting LPCWSTR to LPCSTR

got this code from a website that helped me in creating buttons and stuff. the buttons work but for some reason im getting an compiler error with the creating a static. cannot convert from 'const wchar_t [5]' to 'char' cannot convert parameter 3 from 'char' to 'LPCWSTR' is there a simply way to fix this? i tried casting lyrics into a...

How can i make a text box that changes input constantly?

So I want to create a text box "static if possible" that when my user interacts with the story game the text inside changes to accommodate his action. so im guessing i want a pointer to the char variable, but it seems that i cant figure out how to do this... can someone help me please. im thinking create the static box with a argument...