windows

How to start a COM server implemented in python?

I am using python for making a COM local server. In fact, the whole COM part is implemented in a dll and my python script is calling that dll thanks to ctypes. It works ok when I run the script manually. I would like to see my server automatically ran when a COM client request it. I know that it is possible by giving the command line as...

What is your experience with CI server git support (Windows)?

I read the feature description of all kinds of CI servers, but they don't tell me how good the support is in practice. What is your experience? ...

Source file X is under Windows System File Protection in c#?

I got an error during creating a installer for my web application(c#). The error is Error 19 'msado20.tlb' should be excluded because its source file 'C:\Program Files\Common Files\system\ado\msado20.tlb' is under Windows System File Protection. what does mean? ...

progressBar while MainFrom initialize

Hi guys, I have a windows form application that needs to load a bunch of things before loading the Main window. I thought this would justify a progressbar, so I thought I display another form that contains the progressbar control using the constructor of my main form. It all works fine but if I try to put text in a label on the intro f...

Clipboard size limit

Is there any limit of the size of data that can be copied to clipboard? I am using VB6 and need to copy blocks of data to the clipboard. ...

how to access current word in any program

Answers.com has a taskbar application that when you ALT + mouse-click on a word in any program it will pop up a window with information pulled from their website. My question is-- what are the actual programming mechanics and APIs used to do something like this? I don't have Windows application programming experience and am trying to f...

Windows Media Services 2008 Programming

Hi All, I'm looking in to Windows Media Services 2008 development. I've been able to set it up and create a publish point using Server Manager in Win 2008. But what I really want to do is to do this programatically. I'm currently downloading windows 2008 SDK since it should have support for media services programming. What I want to kn...

Editor to draw program logic and focus on big picture?

Hello This question has probably been asked before, but I don't know what keywords to use to find previous answers. When writing code, I tend to get lost in details, and would like some editor that I can use to be able to move from the little picture (actual code) to the big picture (big blocks of logic). Ideally, it should integrate ...

Windows Shell Context Menu option

I need to create an option for all files that would run a batch file located in Windows directory or any other directory. The batch file will basically delete the files and will also delete it from another server. I have the batch file wworking just need the context menu option. Thanks. ...

How to set wirble colorize on XP

I'm having problems setting up wirble on XP machine. when i run IRB i get sth like this: "foo".capitalize => ←[0;31m"←[0;0m←[0;36mFoo←[0;0m←[0;31m"←[0;0m this occurs only if I call colorize on wirble either in .irbrc or after starting irb. I installed ruby 1.8.6 with the all-in-one installer. Any ideas on how to get col...

Enable Vista glass effect on a borderless WPF window

Hi, I wrote an attached property that I can set on a window to extend the glass frame into the client area (using the DwmExtendFrameIntoClientArea API). It works fine in most cases. Now I want my window to be borderless, so I set the following attributes on my window : WindowStyle="None" ResizeMode="NoResize" Background="Tr...

Can't create a folder with mkdir

Environment info: *Windows Vista *PHP 5.2.9-2 I'm working on a project. Let's say it's name simply "project". My php files meant for user-interaction will be found at project/file.php Now, I have a database behind this and some maps, which contain classes and configuration files in general. There is also a map for the users, in w...

In Windows Forms, how to stop the the UI thread from blocking when the user clicks a scrollbar?

No other control does this other than the scrollbars of panels, etc. Clicking and holding a button, a label, a link, a tab, whatever other control does not have this effect. But as soon as a user clicks the scrollbar, or clicks and drags the scrollbar, all other processing on the UI thread is halted. This is something that is a big pr...

Using File Bit Flags for Other Purposes

I'm conflicted on this one. Here's the situation - I have a bunch of PDF files arriving in a folder from an external application (beyond my control) on a Windows 2003 server. These PDF files eventually get printed by my application by looking at the dates on the file (i.e. "print today's PDFs"), and then are generally held for a month o...

Convert HTML in CWebBrowser2 element into VECTOR metafile

I have tested a number of solutions to capture the HTML content of a CWebBrowser2 element into a vector metafile. I can get either part of the web page as vector emf, or I can get all of the webpage as a raster bitblt wrapped in an emf wrapper. What I want is All of the webpage as vector with only original bitmaps, flash, etc represent...

easiest way to program a virtual file system in windows with Python

I want to program a virtual file system in Windows with Python. That is, a program in Python whose interface is actually an "explorer windows". You can create & manipulate file-like objects but instead of being created in the hard disk as regular files they are managed by my program and, say, stored remotely, or encrypted or compressed...

Subversion: How do you avoid forgetting to check stuff in?

Working on three different computers at two different locations, on projects that are in subversion, I once in a while forget to check in stuff at one location, so that I cannot work on the latest code, when I want to continue working on the project at another location. I am sure other have had similar problems. What are some things I ...

Making a local package installer

I'm going to be building a package manager and installer for my home network, and I'm unsure of the technologies i should use. I was thinking WPF for the interface and SQL for actually storing package data, as well as some sort of scripting for configurable installation. However, i don't know if I'm missing anything. In short, here are m...

Accessing Remote Kernel Objects In Windows

Is it possible to access kernel objects on remote computers? I was reading that you could access remote kernel objects by using a symbolic link to \Device\Mup\server\object but I am not sure if that would work. Thanks for the help! ...

Best Tools for helping debug an Interop issues

Hi guys, One of our customers is getting an interop issue, there is nothing in the stack trace that is worth noting, just ComException with an InterOp issue. I've tried Process Monitor and Dependency Walker, but nothing seems to pop up. It is C++ Managed running on .net 1.1. Any helps with any tools would be a life saver!? ...