windows

How to get the last current or visited Web URL in Windows?

I'm writing a Windows app. where you can create "links", it is easy to link files or folder (just use the standard dialogs for open files or browse folders), but for linking a Web URL I don't know how to get (from a Windows function or registry key) the current or last visited page. Maybe something like the recently used files, but refe...

Safari and downloading file issue

I have a website where I let users download mp3 files. The code snippet (partial) is as follows: Response.Clear(); Response.AppendHeader("Content-Disposition:", "attachment; filename=mike.mp3"); Response.AppendHeader("Content-Length", "1000"); Response.ContentType = "audio/mpeg3"; A customer complained that he is unable to download th...

View environment variable of process on Windows

How do I view the environment variable of a Windows process? Looking for Windows equivalent for something like environ file in procfs on Unix. ...

What software or service can I use to programatically make phone calls with?

I'm looking to programatically make phone call reminders to customers based upon their opt-in requests. I am NOT a telemarketer. I need to make a phone call, and play a message. I need to leave a message after the beep if an answering machine or voicemail is detected. I need to know if the message was successfully delivered. Ideally, I...

Which edition of Windows 7 is most suitable for software developers?

Possible Duplicate: Which version of Windows 7 should I install on my development PC? Just wanted get some opinions on which edition is best for developers. I'll be using Visual Studio 2010, IIS and various non-Microsoft development tools. ...

Embed a JRE in a Windows executable?

Suppose I want to distribute a Java application. Suppose I want to distribute it as a single executable. I could easily build a .jar with both the application and all its external dependencies in a single file (with some Ant hacking). Now suppose I want to distribute it as an .exe file on Windows. That's easy enough, given the nice too...

Adding .NET App to Registry to Launch after Reboot to Complete Certain Actions

If my app needs to reboot the system to change something and I'd like it to automatically continue its actions after the reboot, how can I add a key to the registry (more importantly, where in the registry) to launch the app on the first reboot? Just to be clear, I want this reboot-launch to happen only once. In other words, once the com...

MySql environment variable on windows

I have installed Mysql on my localhost and it works fine with phpMyAdmin. I have set my CLASSPATH to C:\xampp\mysql\bin\ but when I try and run 'mysql' from the command line it doesnt recognise it. If I navigate to C:\xampp\mysql\bin\ in the command line I can run mysql commands fine. Any ideas? Thanks, Joe ...

Please help me find a solution for “A generic error occurred in GDI+”

I am running windows vista business 64 bit. I have a web service that was written in .NET using C#. I also have a client-side script on a web page that communicates with the web service. This is a aspx page titled "Default.aspx". I setup IIS and moved my web service folder containing the web service and all of the files that are needed t...

Globally Unique IDs for files in Windows

I'm wondering how to get globally unique IDs for files and folders in Windows (XP, Vista and 7), and also be able to get the full path of the file or folder just by having the ID, something like getFileByGUID. I'm trying to do this in C++, C# and PHP. The globally unique IDs should stay the same even if the file is moved, so using the f...

Loading a Type Library via PowerShell and scripting Windows Live Writer

I'm very new to COM and Windows programming/scripting in general. What I was trying to do is scripting Windows Live Writer; according to the documentation before I can call $o = New-Object -c WindowsLiveWriter.Application I need to load the TLB first, so I should call the add-type command, unfortunately it fails: PS C:\Users\NoWher...

Weird problem with input encoding in IPython

Hello! I'm running python 2.6 with latest IPython on Windows XP SP3, and I have two questions. First one of my problems is, when under IPython, I cannot input Unicode strings directly, and, as a result, cannot open files with non-latin names. Let me demonstrate. Under usual python this works: >>> sys.getdefaultencoding() 'ascii' >>> s...

Where to find documentation for vfw.h?

I'm a Linux programmer adventuring on Microsoft territories, and I'm completely lost on where to find documentation for Windows APIs like VFW (Video for Windows). I'm trying to get a video stream from a webcam (OpenCV is not suitable for me). I'm looking for a description of functions, data structures, examples, howto's, etc. Searching...

iPhone development on PC

Can anybody shortly describe solutions to start develop for iPhone on PC? ...

How to add menubar in my program with Visual Studio 2008 ?

I managed to create the menubar in the menu editor by clicking and writing text to each menu item i wanted. I cant see any button to get the code to include the menu in my program. How i can get this menu working? C++ ...

Intercept ActiveX/COM methods

Hello. There is a VB6 application with VSFlexGrid control in it. On My WinXP machine OCX is here: c:\WINDOWS\system32\Vsflex7L.ocx I assume application calls AddItem method of this OCX to add new items to the grid. And I want to intercept this call and obtain data passed to AddItem method. The question is - what is the best way to do ...

Are files in the temporary folder automatically deleted?

If I create some file using Path.GetTempPath() - does it automatically get deleted at some stage, or is it up to me to delete it? ...

Determining if a Window Has a Taskbar Button

Hi, I am looking for a way to check if a given window has a taskbar button. That is, given a handle to a window, I need a TRUE if the window is in the taskbar, and FALSE otherwise. Conversely, I am wondering if there is a way to get a handle to the window that belongs to a given taskbar button, which I suppose would require a way to en...

how to monitor a windows service using a web page

I have built a web page that does a complex processing, and I realized recently that I need to convert it to a windows service running at the background and keeping the web page for monitoring and initiating the service. The service will process some files, and provides information messages to the user. I'm not sure how to implement t...

What COFF (windows .obj object file) viewers are available?

I am only aware of 2: dumpbin which is included with Visual Studio PEView from http://www.magma.ca/~wjr/. ...