windows

Running lighttpd as a Windows service

Is there any up to date guide on running lighttpd as a Windows service? By googling I've found this forum post from 4 years ago, I just want to be sure there isn't anything more up-to-date or any gotchas I should be aware of, before I spend too much time yak shaving ...

Will upgrading of windows server 2003 to windows server 2008 results in loss of data

I have installed operating system windows server 2003 on my PC. I have installed some additional softwares like visual studio 2010, sql server 2008 & MOSS 2007 on windows server 2003. Now I want to upgrade my windows server 2003 with the new operating system windows server 2008. I am not aware about the whether upgrade will loose data st...

I'd like to run a command over ssh from a windows box running using c#

Note that this has to be on a windows box as I am using c# to access information about windows (I need information from both a windows box and a linux box, plus I think that making a program/script that runs without gui and accesses windows from a linux box without user intervention would be more difficult, if this is not true please te...

did anyone know why the prg shows no subitem ?

the listview shows in this test no subitem, the base is net cf 3.5 and wm6. and i become no error and no subitem but why Dim i As Integer For i = 0 To 3 Dim item As New ListViewItem piclist.Images.Add(getuserpic(Mainform.nickname_1.ToString, Mainform.mainurl)) item.ImageIndex = i item.Text = "tester...

How do I use hg push in Mercurial

Hi, I've spent some time converting my SVN repository to Mercurial. I've setup Mercurial under IIS7 on Win 2008 R2. I have nearly everything working. However I can not push changes back to server. $ hg push http authorization required realm: pandora user: rich password: pushing to https://pandora/dev/test searching for changes abort:...

What are the benefits of Windows Certificate Store?

I just bought a code-signing certificate for the first time. I'm successfully signing my code from script/command line using signtool sign /f <pfx file> /p <password> <exe file> I noticed that signtool also has a /a option that will "choose the best certificate", which I believe uses any certificates imported into the Windows Certi...

How can I log on to Windows using a service?

Hi, I have written a Windows service and I am hoping to find a way of having that service log the machine onto Windows. I understand that services and desktops are seperated for security and that the windows logon desktop is probably also secured in other ways - but this must be possible? ...

How do you update the Window's Desktop WorkingArea?

Hello, I am developing a security and kiosk library in my framework. The problem here is I have the proper methods and routines to disable various features of the Windows Shell. The main feature I am discussing here is the Windows Taskbar. I have properly disabled, and hid the Windows Taskbar. The problem is that the WorkingArea of the ...

Is there a portable C compiler for windows?

I want to carry one in my flash drive and run it. Thanks ...

How to read available input without blocking on Windows

Hello. On Linux, I can read available input without blocking the process: fcntl(STDIN_FILENO, F_SETFL, fcntl(STDIN_FILENO, F_GETFL, 0) | O_NONBLOCK ) char buf[n]; int r = fread(buf, 1, n, stdin); if (r == 0){ printf("nothing\n"); } else { printf("read: "); fwrite(buf, 1, r, stdout); printf("\n"); } The input origin ca...

Help with Tkinter Alpha

I have a python program that has no windows frame and doesn't show up in the taskbar because of self.overrideredirect(1). This program has an options menu (a top level widget) that allows for the alpha to be adjusted with self.attributes("-alpha", 0.85). However when I close out of the options menu my program shows up in the task bar. Ob...

What to do when an out-of-memory error occurs?

Possible Duplicate: What's the graceful way of handling out of memory situations in C/C++? Hi, this seems to be a simple question a first glance. And I don't want to start a huge discussion on what-is-the-best-way-to-do-this.... Context: Windows >= 5, 32 bit, C++, Windows SDK / Win32 API But after asking a similar questio...

How would I find the height of the task bar?

In my windows application, I am trying to find the height of the task bar. While I can hard program this into my program, I would like to find it programmatically to support past, present (win7) and future windows versions. So, how would I do this? ...

What Microsoft UI technology was used to create Zune Media player (marketplace software, not device os)?

UI looks like it could me made with silverlight, but it's not a web app. ...

How to erase entries from vector in C++ ?

I'm basically looping through all the entries to check whether some entries is to be erased, but seems in a wrong way: std::vector<HANDLE> myvector; for(unsigned int i = 0; i < myvector.size(); i++) { if(...) myvector.erase(myvector.begin()+i); } Anyone spot the problem in it? How to do it correctly? ...

How to capture video out of stream in c/c++ in windows?

What's the most recommended way to go? ...

Seed random from milliseconds in Windows and Linux

Hey, I need to seed the random number generator in boost (which is loaded from an int) for a few processes, for a program that has to compile and work both in Windows and in Linux. I used std:time(0), which worked, but since the processes are jobs which are run simultaneously, some of them would run at the same second, producing the s...

Is there any development materials about ATL service

I want to develop a Windows service and choose ATL service as I want to use native C++, but it seems there are not much materials on this topic, I only found some concept description here, which is not enough for me to develop my service application. Do you know any tutorials or samples on developing a ATL service? Thanks so much. ...

Windows Explorer, shell extension, a new view type.

Hello, Is it possible to write shell extensions that add a new view type to the view menu in Windows 7? For example, at the moment I have List, Details, Tile, Content, etc. in the drop-down, but I have an idea for a new type. I've done a little Google on shell extensions but the examples I see are more related to custom content within...

Owner draw TextBox for use in WinForms

I need a lean & mean TextBox solution. A RichTextBox proves too slow, so I want to go the way of owner drawing, or custom control building. My need is for a textbox that can handle large text content and offers simple highlighting by drawing colored backgrounds around words or single characters. Important is, that the text string itself...