Is the expected time shown during file copy the best time or worst time?
When we copy files in windows, we get an expected time of completion. Is that time the best time or the worst time? Also are you assuming the environmental variables? ...
When we copy files in windows, we get an expected time of completion. Is that time the best time or the worst time? Also are you assuming the environmental variables? ...
We have an MDI form which contains some number of child forms which have varying captions showing the currently loaded document's filename. When the child forms are maximized their title text gets placed in the parent window's title bar which often results in the text being too long to fit in the bar and Windows is nice enough to add el...
I want to create a virtual printer driver for Windows. Where should I start? The WDK has some printing drivers examples, but nothing I can use. MSDN doesn't seem to be very helpful. There are a lot of virtual printers for Windows out there (mostly they generate PDFs), how do they do it? Any links to the documentation I seem to miss are...
I'm helping get the SCM set up for a new program, and we're currently in the process of deciding on a VCS. The main contenders at this point are SVN, ClearCase, SVN+DVCS, and just a DVCS. At the moment, the team is leaning towards either SVN or SVN+DVCS. We want to avoid the expense and administration costs of ClearCase, but want the ...
I have a file that I'm try to move via a batch file on a timed schedule. move sourceFile destinationFile. Destination file is on a mapped network drive Z. So for example, the command would be: move C:\myfile.txt Z:\myfile.txt When I execute the batch file in Windows by double clicking it, it works fine. But when I schedule it via T...
Hi, I'm working on a project in C# on Windows XP where we have to capture a file dialog which allows users to select mulitple files (such as shown here: http://www.uploadify.com/demo/). Is it possible somehow to restrict access to local drives, such as C:, etc...? So the list of available drives would only contain drives that aren't e...
Hello, I'm getting the following error when I try to start JBoss 10:10:43,298 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 10:10:43,938 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=Naming state=Create mode=Manual requiredState=Installed java.rmi.server.ExportException: Port alre...
I realize that this question is "answered" at the following thread: http://stackoverflow.com/questions/447774 However, I'm still having trouble understanding the answer and seeing exactly what the result would look like for my situation. My schtasks command looks like this: schtasks /create /tr "C:\Program Files\Java\jre6\bin\javaw.ex...
I have a rake task I need to run as a daily job on a Windows XP machine. I discovered the Windows "scheduled tasks" control panel. I'm trying to figure out how to get it to run my Rake task. Two of the fields are "run" (with a browse button) and "start in". I tried to enter rake mycategory:mytask into "run" and my Rails project dir cont...
Please don't respond with "a lot less malware/viruses for OS X". And please no hype and no fan-boy answers. The reason why I am asking this here is because I want feedback from developers who write software for both systems and have intimate knowledge of the security restrictions in which to operate. Using both Windows and OS X concurre...
The "joke" question Joel asked during podcast #58 made me all nostalgic for Logo, which was the second language I ever programmed in, after Basic, and which is why I never had any trouble with recursion in college. Are there any implementations of Logo for Windows or Linux (the platforms I can use) or Mac (because I know I'm not alone i...
I've always admired the original uTorrent program. It looked great, was less than 64kb, was extremely fast and had all the features I needed. Unfortunately the program is closed source (and becoming more bloated by the day) so I come to Stackoverflow for inspiration. What methods do you recommend in writing fast, memory efficient and el...
Hello! I'm currently trying to make a small testing application for various programming tasks. It will run executable file which will generate output on another file and then compare it with answer. This far I think I will be able to get easy, but I have a problem... I want to limit the time that this executable file can run, for examp...
I'm trying to connect from a Windows XP system to an SVN server but I'm getting weird behavior. When I run this... svn ls svn+ssh://[email protected]/path/to/svn_repository ...the cursor just freezes as if it's a long-running process with no output. I've tried the above in both a Windows console and a MINGW32 console. I can pin...
When I creat a .exe, I can right click it and go to properties->details. Then I get a list like: File Description | Type | Application File Version | Product Name | Product Version | Copyright | Size | 18.0 KB Date Modified | 6/16/2009 8:23 PM Language | How do I change these prop...
I am trying to use Rails 2.3.2 with MySQL 5.0 on Windows XP with no luck. I have installed MySQL and am able to run it, add tables etc. In ruby, the require 'mysql' statement passes but onde it reached the first action then I get > C:/Development/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/mysql...
I have an application to generate a log file (text file) with three log flags: debug, warning and error. The debug flag is used to log detail information about application execution such as object values and status. The purpose of this flag is for debugging and support. The problem is that if the flag is on, then it is possible to get ...
Hello, I have created a tutorial for creating a dzone protocol (so that I can type dzone:n in firefox to get the new links for example), it works great but when at the end I want to create a new alias protocol dn which points to the same handler, Vista doesn't want to take this new path though registry entry is ok (I check by renaming d...
When my process crashes, how can I print to log a core dump file stack, C++ over windows? I know that in Unix there is a way to do it using some signal handlers but never did it myself. How can I do it in windows (prefer not to use ACE)? Thanks. ...
Hi, I am trying to create an application that makes a window (external to the app) transparent when it loses focus. Most of things (getting window id, seting transparent, etc.) would be easy, except one thing - how do I hook windows? ...