windows

What is the DosDevice?

What is the definition of DosDevice? Is a C: DosDevice? And are COM1 and CON DosDevice either? ...

Windows Kiosk App

So, I need to build a kiosk type of application for use in an internet cafe. The app needs to load and display some options of things to do. One option is to launch IE to surf. Another option is to play a game. I've been reading that what I probably want to do is replace the windows shell and have it run my app when the OS loads. ...

Downloading a full remote directory via FTP from the command line

Hey guys, I'm looking to put together a simple scriptable backup utility to grab all the files on a remote ftp server and drop them in a backup directory on my machine. I already tried the built-in Windows "ftp" command and Filezilla's limited command line options, but neither seems to be able to grab the whole document tree in one go. ...

Nano-X (Microwindow) Programming guide ?

Hello All, I want to know some basic programming guide for Nano-X (Microwindow, Embedded GUI). I know it's windows based programming but i want some of the tutorials where i can learn it something better. I also want to display icon or images on LCD, so how it is possible in Nano-X or Microwindow ? I also want User API manual for Micro...

modifying small part of an existing file

I looked at boost's mapped_file, and CreateFileMapping/MapViewOfFile, but they seem overly complicated to use. Anything simpler I can use to overwrite a few bytes here and there in an existing file? Performance is not a very high consideration. ...

How to set up Git as VCS on windows workstation/server for web projects(ASP)?

Hi Guys! We have 5 people in the team working on some ASP projects. There's one local server in LAN running Windows Server, we don't use it much just make it as a storage for backup. And we also have a remote server running Windows Server as well. We publish our final product there and use Remote Desktop Connection to work on it. Our...

Crystal report shows database login requirement?

Hello All, I have created a crystal report using MySql 5.1, using XML (Dataset save as xml in application root folder) now when i run on my machine it works fine. But when app is installed on other machine it give database login required. how can i remove that login window ? The code is given below cDataSet.DataSetNam...

Trying to compile libdwarf, gives undefined errors

I'm trying to build the libdwarf api under windows but I'm receiving the following compile errors. in dwarf_elf_access.c undefined type Elf32_Ehdr, undefined symbol EI_CLASS undefined symbol ELFCLASS64 undefined symbol ELFDATA2LSB ... I did a search through all the header files and source files and I couldn't find them defined anywher...

Uniquely identify a user session on Linux/Windows

Hi, We do have a client software which communicates to a server. On every start of the client the user has to put in username/password. Now it would be nice if the user did login once (assuming he is still in the same operating system session) subsequent logins wouldn't require a password. (Sidenote: the security requirements aren't rea...

Create Windows service from executable

Is there any quick way to, given an executable file, create a Windows service that, when started, lauches it? ...

How to list all the modified files in a shadow-volume?

When a Restore Point is created, Windows starts monitoring the volume and any changes are recorded in a proprietory diff file inside System Volume Information folder. Thorough VSS-SDK api, we can expose the volume, but it shows us the whole volume and all the files/folders which have or have-not been modified since snapshot creation, an...

Getting GLE=5 (Access Denied ) Error While creating Named Pipe

I have tried creating a named pipe but getting GLE 5 (access denied Error) #include <windows.h> #include <stdio.h> #include <conio.h> #include <tchar.h> #include "iostream.h" //#define PIPE_ACCESS_DUPLEX 0x00000003 //#define PIPE_ACCESS_INBOUND 0x00000001 //#define PIPE_ACCESS_OUTBOUND 0x00000002 #define BUFSIZE 512 int main() { ...

Application to make sense of HTML?

Is there a Windows application that I could use to simply paste the HTML source of a page, and have it parsed so that I can see where each section starts and ends? When lines are wrongly indented, it's a pain to figure out the logic of a page. I'd rather a stand-alone utility rather than an add-on to a browser. Thank you. Edit: If ...

How can I make my local server case-sensitive?

I'm on Windows Vista Home Premium 64 bit OS. I use Apache Friends XAMPP server as my localhost. And I develop PHP, MySQL. The problem is my local server is tolerant of case mistakes, especially in file/folder names. When that running program on my server goes on linux servers, it's really a headache to locate and correct all the case e...

Windows 2008 schtasks and Task Scheduler Library folders

Hi, I have an old scripts which kicks off a scheduled task: schtasks /end /tn MyTaskName /s HOSTNAME I am now trying to use it on Windows 2008, but it doesn't work. I think it's to do with the fact that the new Task Scheduler allows you to specify subfolders under the main "Task Scheduler Library" and I have put MyTaskName in a subfold...

What is the best way to store a secure information for further usage?

My desktop application asks a user for proxy-server credentials to use it later. But what is the best way to store this secure information for further usage? ...

Large File download in WCF and Windows Service

I have been creating a new service to download large file to client. I want to host the service in a Windows Service. In service I am writing : public class FileTransferService : IFileTransferService { private string ConfigPath { get { return ConfigurationSettings.AppSettings...

Rotate Text by 90 degrees with GDI+

I want to draw text to a GDI Surface and rotate this text by 90 degrees counter clockwise. I would prefer to use DrawText to draw the text because it supports carriage return. I tried to use a font with lfEscapement (see the code below) but the line is not rotated - one line gets rendered over the other. Is there any possibility to rotat...

I am running a windows server 2008 with terminal services which i am using a xenserver is there a way I can watch the schedule task run

I am running a windows server 2008 with terminal services which i am using a xenserver is there a way I can watch the schedule task run in terminal services / xen server. I know a majority of any thing you set to run in schedule task is run in the back ground. However i have seen some schedule task interact with the desktop and you are a...

How to force a process to run on the console on Windows 2003 server?

I have a funky situation where a certain batch-type application works correctly when run on the console (via RDP or when physically logged on to the box), but doesn't work correctly when run via RDP on a non-console session or, for that matter, when executed by the Windows Task Scheduler. I know how to determine programmatically if my p...