windows

Windows 7 Jump-List (Windows Forms, C#)

Hello, Does anybody know how to customize the Windows Jump-List feature related to my own application in C#? I know it can be done, but I cannot find anything C#/Windows7 related on MSDN yet. The only info related to W7 and C# I can find so far is just compatibility junk which I've already read. Thanks all Baeltazor ...

Detecting file modification on a remote SMB share using PHP

I'm writing a PHP process that will run on a Unix machine that will need to monitor a remote SMB server and detect new files that are being uploaded to that box via FTP. It's unlikely I'll be able to It will need to detect: New files being created File upload completing Files being deleted If it was an NFS share, I'd try using FAM ...

Can I generate Excel files with native Excel charts on Linux?

Is there a way to generate Excel spreadsheets with Perl on Linux so that I can open the spreadsheet on Windows and it creates native Excel graphics? I know that there are libs to draw graphics but all libs I know simply insert a picture to the Excel which looks weird when I open the spreadsheet on Windows. So I wondering is there a way t...

What limits my use of the stack in terms of memory?

In windows (or any other OS for that matter) what determines how much stack I can use? The name of this very website makes me assume it's possible to run out of stack so should I avoid putting large amounts of data on the stack? ...

Application runs from VS2008 but not from exe in bin\Debug

I've just encountered a rather strange problem. A Winforms (although that may not be relevant) app that I've been working on for a few months just started behaving oddly. Pressing F5 to debug in VS2008 gets it running perfectly but if I try to run the exe from the bin\Debug folder it fails straight away. Viewing more details from the not...

Windows Makefile and Setting Environment Variable

My Product is built using cygwin on Windows. but Windows Tools does not understand cygwin path like /home/lib/ How do I set those variables during runtime , like can I set environment variable set LIB_PATH=`cygpath -w /home/lib' Something like this. ...

How do you organize your work?

How do you work? More specifically, how do you keep your programming tasks organized. When I do Mac development at home I use software called an outliner to organize, keep notes and prioritize the tasks I need to do. I started out using a program called Deep Notes which is a nice simple free tool. But now I use The Hit List. I’ve be...

Launch scheduled task from script

On a Windows server, we have a task which runs occasionally, using "Scheduled Tasks" to control it. (best not to run it directly, since it might need to be run as a particular user, and the Scheduled Task configuration has all the appropriate passwords). We'd like to control this via a PHP script, so that visitors to a website can requ...

How to read, edit and write xls files, and then export to SQL Server

I have an excel file that have the list of contacts( about 10 k of them) that I need to push into my SQL Server database. So, I am writing an .net windows program using visual studio 2008 to read the files, generate random password for each contact, and then push these information in to my SQL Server database. It was easy to handle excel...

Accessing SharePoint structure and user infpormation from ASP.NET

I am looking at ways of limiting data (pages) visible to users based on their SharePoint group memberships. One option is to run my site on it's own, determine group membership in code, and limit data available, and the other, less attractive option is to deploy my site to several departmental sites, and then determine which data to pre...

How can I manually determine the CodePage and Locale of the current OS

Is there a way that I manually have a user look up the current Codepage and locale of their windows OS? Is there a registry setting that stores that information? It would also be useful if the technique worked all the way back to Windows 2000. ...

Script IIS 5.1 installation on Windows XP

I found an idea for scripting the installation of IIS7 on Vista I'm looking for a similar solution for IIS 5.1 on Windows XP. Any ideas? ...

Running Python's IDLE in windows

I messed up my IDLE shortcut. What is the way to start IDLE from the cmd.exe shell in Windows? ...

CheckedListBox populating a text control

Hi Everyone, I have a text box that is going to be populated with a comma spereated list that is driven by a CheckedListBox control. The idea is that as the user checks items off in the list, they will appear in the text field above. I have this working to the point where if I check an item and then click somewhere else inside the con...

Qt in a professional setting

While I have played with parts of Qt in the past I am thinking of putting some real effort into learning it but also wondering what the potential monetary payback might be down the road. So I have some general questions about Qt's future. What is Qt's place in the job market? Are there many, or do you sense a growing number of install...

time in DateModified changed by Windows

I just noticed something strange on my WinXP SP3 PC: When I change the sytemdate from 2 November (W.Europe Standard Time) to 2 August (W.Europe Daylight Time), Windows Explorer shows a different time in the DateModified field of all the folders and files. For example: I saved a file today and the value of DateModified is '02-11-2009 18:...

FileStream very slow on application-cold start

A very similar question has also been asked here on SO in case you are interested, but as we will see the accepted answer of that question is not always the case (and it's never the case for my application use-pattern). The performance determining code consists of FileStream constructor (to open a file) and a SHA1 hash (the .Net framewo...

In IE6, how can I determine if window.open is redefined?

I have this odd problem with a third party script. On our site a popup window loads a demo of one of our applications when a link is clicked. The third party script is supposed to popup an additional window underneath at the same time or sometime thereafter. (Yeah this sounds crazy but the popups must load in this way.) Of course this ...

What is the 'realtime' setting for, for process priority?

From what I've read in the past, you're encouraged not to change the priority of your windows applications programmatically, and if you do never to realtime. Could anyone clear up what the realtime process priority setting does as opposed to High, and Above Normal? ...

How can I add a spellchecker to a Richtext box?

How can I add a spellchecker to a richtextbox in my application? ...