windows

Best technology to develop desktop applications

Hello! I want to know what's the best technology to develop desktop applications considering this: It's to run only in Windows. I do not need to connect to a DB or to the web The final application has to be run from a .bat file I'd like to avoid installing additional frameworks like .NET, I'd like the application to run on a basic win...

Stored User Names and Passwords

Hi, I'm writing an application which needs to store login data for multiple (XMPP) accounts on Windows. Currently the application stores them in Windows' "Stored User Names and Passwords" using CredRead and CredWrite. And here is the problem: The login name for an XMPP account cannot be changed (it's the account's JID), but Windows onl...

download a file using windows IStream

I'm implementing dragging a virtual file out of a website and onto the desktop with an activex control. How do I create an IStream on my http url, so Windows can execute the drop? The example I'm looking at uses SHCreateStreamOnFile to copy a local file; there must be an analogous function for other types of streams like http file dow...

Where can I find reliable information about Microsoft's plans for COM+ support in future versions of Windows?

When looking at a large web application with many competing priorities, one of the things I am faced with is a large number of COM+ components. At some point, these things need to be re-engineered in some other technology (WCF, .NET, whatever). Part of how I prioritize this effort will be "low long before Microsoft stops supporting it?...

How do I safely and correctly create a backup of the Windows clipboard?

Hi all, I'm trying to create a backup of the Windows clipboard. Basically what I'm doing is using EnumClipboardFormats() to get all of the formats that exist on the clipboard currently, and then for each format, I'm calling GetClipboardData(format). Part of backing up the data obviously involves duplicating it. I do that by calling Glo...

portable git configuration

I have installed the portable git version on my flash drive, but I don't want my repository to be in the same directory as the program. I can get to the directory using: $ git -- git-dir=../Gits --work-tree=..Gits But I don't want to enter that every time. So I found in this article on the gitconfig file. But it only shows how to set ...

Bypass Windows permission restrictions on program files folder

I have made a small application in C. It does some file manipulation, basically searches and changes some files names. But if it is used in Win Vista/7 in the program files folder the program says permission denied. Is there anyway to bypass this? Also, can Java bypass this? ...

Datagridview - drawing rectangle on datagridview problem c# windows forms

Hi I have 3 questions: wheter I am doing my task in a good way why when I scroll dataGridView, painted rectangles dissapear.. why painting is so slow... Here is the code in which I want to draw a colorful rectangle with text on groups of cells in each column, that have the same values, empty values shouldn't have rectangles void Da...

Is it possible to create a GetOpenFileName dialog in a fullscreen app?

I have a fullscreen application wrtten in C++ and would like to open a dialog window so the user can select a file to be opened without the app breaking out of fullscreen mode. On Windows, to run in fullscreen mode, I call ChangeDisplaySettings(&settings, CDS_FULLSCREEN). (Technically, I am using SDL, but this is the call it uses.) To ...

Cross-platform Audio Playback in Python

Is there a cross-platform Python library for audio playback available? The operating systems I am targeting are (in order of importance) Windows, Linux, and Mac OSX. The file formats which need to be supported are (in order of importance) MP3, OGG, WAV, and FLAC. Does something like this exist? I have tried a few of the Python libraries...

How to use SetWindowsHookEx in Vista and hook Admin apps with UAC?

I'm trying to figure out if there's a way to use SetWindowsHookEx and be able to affect apps that are run with Admin rights on Vista, with UAC enabled. This is an app that will need to add a small button to the caption bar of other windows to enable some multi-monitor-aware handling. I would have thought this couldn't be done, but I've...

Internet Explorer 8 in Windows XP

I have witnessed how Internet Explorer 8 (IE8) is in Windows XP and how it is in Windows Vista/7. Quite strangely, IE8 seems to be acting like IE7 for certain aspects of CSS and JavaScript (maybe for other elements too). Am I the one who is seeing things? Otherwise, if this is true why is this happening and what are the major differences...

Graphical Application in Windows, Linux, MacOS

I would like to build a graphical application that must work on at least Windows, Linux and MacOS. I would like to know what do you suggest I should use. I have some experience with Java and C++ but I thought about using Java Swing first. What do you think or further suggest (like maybe tools or frameworks)? I also may be needing to con...

Case typo on path in msysgit

I went out to my github repo and discovered that I had inadvertently added files to msysgit with a typo. Instead of adding files to a directory called "Domain", I added them to "DOmain". I tried git mv, but the path is case-insensitive in Windows and the move fails. What's the best way to resolve an issue like this? ...

Error installing windows azure sdk for 64 bit OS - Windows 7

I tried installing Windows Azure SDK on Windows 7 Professional, with IIS 7.5, but failed. The system says,et "To use this software you should enable windows internet information services 7.0 with Asp.Net support.See the product release notes for details" I also got into framework 4.0 from the commmand prompt and ran aspnetregiis -i , ...

hotmail or live id openid support ?

Is windows Live ID or hotmail ID supports OpenID based authentication ? if yes, what is endpoint url ? Do I have to register my application somewhere to use it ? or does it have their own api ? Thanks. ...

python curses.newwin not working

I'm learning curses for the first time, and I decided to do it in python because it would be easier than constantly recompiling. However, I've hit a hitch. When I try to update a seccond window, I get no output. Here's a code snippet: import curses win = curses.initscr() curses.noecho() curses.cbreak() curses.curs_set(0) field = curses...

Secure data transfer over http with custom server

hi I am pretty new to security aspect of application. I have a C++ window service (server) that listens to a particular port for http requests. The http requests can be made via ajax or C# client. Due to some scope change now we have to secure this communication between the clients and custom server written in C++. Therefore i am looki...

Winsock and other network possibilities in Windows

Hi, on windows, is there any other option when programming network communication then using Winsock? There are many socket libraries for c++, are they all just winsock based? ...

How can I make a T9 style on-screen keyboard for Windows?

Sometimes at night, I like to watch movies in bed, or TV shows online. This is convenient since my computer is right beside my desk, so I just spin one of my monitors around, disable my other screen and pull my mouse over. My keyboard doesn't quite reach without re-routing the cable in a way that doesn't work when I move back to my desk ...