Being very familiar with the subversion workflow and that fact that 99.9% of the time my computer is connected to the internet, I don't like doing 'hg ci' and 'hg push' separately.
I remember bzr had a 'checkout' command that would bind subsequent 'commit' commands to automatically commit directly to the server ('push').
Does mercuri...
Hi all
I'm trying to create a website that will automate project setup.
I want to create SVN directories using SharpSVN.
Here's what I tried:
SvnClient svnClient = new SvnClient();
svnClient.CreateDirectories(new[]
{
string.Format("svn://example.com/{0}/trunk/", ProjectN...
Friends,
In testing our Oracle Forms application on Vista I have found a interesting "challenge".
The application can invoke the Microsoft Word spell checker to perform a spell check on a field. When invoked, the user is shown the standard Microsoft Word spell checker dialog window. Word itself is invisble to the user.
The Spell Che...
Hi
I've inherited a large Excel spreadsheet that does some financial calculation magic using any number of simulation tables, and have been asked to write a web application as a front end. Now I could spend endless hours trying to figure out the sheet, or I could call the excel sheet from my web app. I seem to need the Office Primary In...
Is there anyway for design purposes that I can have son image host?
Currently if I need to share a desktop screenshot I have to:
open photoshop
Create new image
Past screen capture to new image
save fore web, sometime resize
then upload to an image host
Would be nice if there was something lightweight that would do this whole proces...
I am using urllib2 to post data to a form. The problem is that the form replies with a 302 redirect. According to Python HTTPRedirectHandler the redirect handler will take the request and convert it from POST to GET and follow the 301 or 302. I would like to preserve the POST method and the data passed to the opener. I made an unsuccessf...
Is there a way to write an application that can connect to a running instance of Visual Studio and issue commands to it? For example, could I write a WPF app with a button that, when clicked, issues a "Build.BuildSolution" command to an already-open instance of Visual Studio, causing it to start a build?
I'm sure I could use SendKeys to...
Greetings,
I have completed developing a suite of tests using Selenium RC and Java and I'm trying to integrate them with the build system so I can run the tests overnight. The process runs like this:
Cruisecontrol does a full build
A cron job on the Cruisecontrol server installs the build on a specific test cluster.
When the build in...
I'm picking up support on a project that is currently built with MyEclipse and has a decent sized development team that has been working without any CI processes.
From what I can tell, the MyEclipse folks don't see any value in being able to build outside of the Eclipse platform, which makes no sense at all to me. Continuous Integratio...
I am developing a web-based game, and there are some areas of the site that could be taken advantage of fairly easily by setting a simple auto-refresher on the user's browser. What would be the best way to detect this without having to have a CAPTCHA when just generally browsing the site?
The site is built using PHP and Javascript/AJAX...
I'm noob with Rails.
I would like to create a Rails powered website which can install automatically a Rails application (Redmine) when a user creates an account (create the application, setup user's preferences, configure the database, etc.) Each Rails application will use its own subdomain.
Any idea how to do that?
...
Hi, im using the following method
[DllImport("kernel32.dll", SetLastError=true)]
static extern int GetProcessId(IntPtr hWnd);
to try and get the processId for a running process and the only information I have is the HWND. My problem is that it is always returning error code 6 which is ERROR_INVALID_HANDLE. I thought i might...
Hi all,
I use C# to automate an excel file. I was able to get the workbook and the sheets it contains.
If for example I have in sheet1 two cols and 5 rows. I wanted o get the range for the occupied cells as A1:B5. I tried the following code but it did not give the correct result.
the columns # and row # were much bigger and the cells we...
Hi,
I have a simple WPF application which is already running. Can i access its objects like properties using reflection? So that i can use these object to do some operations like click on button or entering text in text box in the already running application.
Thanks in advance.
Akash Kansal.
...
Hi,
I'm trying to copy one or two specific files from a bunch of directories (hence why I don't want to/can't use *) from one directory to another using a batch script.
Basically I want to navigate into a "root directory" and from that list all the sub-directories using dir /AD-H /B then I want to cd into each of those directories and...
Is it possible to automate the following:
referencing MS Word Viewer to open a document programatically and then print it?
C# ideally
Im guessing if it is possible to open it then more than likely it will be possible to print it.
I've tried adding a reference to COM Object in Visual Studio .. MS Office 11 / 12 Object Library but MS Wo...
I am working on a .NET internal test tool at the moment. The tool is GUI based at the moment. One of the things I want the tool to be able to do is to run in command line mode. This way we can run it in an automated fashion and have it crunch on some data every day.
We started to put in a Command line mode in it but I am just not happy...
Hi,
Possibly, my questions do not presume a simple answer as I'm asking to share a specific experience.
What kind of issues you experienced trying to execute Excel macros through COM Automation?
Are there any specific requirements for creation of macros to be run through Automation?
Can you share your experience with data (scalar and...
I'm using so many git-svn repositories (at the same time) that it's becoming a chore to update them all. I'd like to write a script that automates this, so I can just run it every morning while I fetch a coffee.
Basically my workflow is like this
cd ~/module1
git svn fetch
git checkout master
git svn rebase
git checkout topicbranch
gi...
I think this is pretty simple. My program will create an Excel file on the server using Automation. After that, I want to force the user to choose whether or not to download it, then, regardless of the choice, delete the file so it won't just take up space. Any ideas on how I could accomplish this?
...