automation

C# office 2010 automation

hello , i'm trying to make a program that inserts data into specific places in existing word document and saves a copy of it. and i have no clue how to do it , and i cant find any good resource on office 2010 automating. can anyone point me in the right direction and/or give me some examples. thanks in advance. found a solution will ...

Running a javascript function in an instance of InternetExplorer

I'm using SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer() to control/automate an instance of internet explorer. On certain pages I'd like to run a javascript function (init()). It seems the best way to do this is to use an HtmlDocument's InvokeScript method and I've been trying the following with no luck: void ie_Docume...

Visual Studio 2010: Automation/Packages/Macros, what to use?

Microsoft seems to have little discoverable content on the differences between all the different kinds of Visual Studio extensibility. The closest thing I've found to a description of the differences was an MSDN page that had a general "when to use which" list that could have been summed up with "it depends" for all cases. I am curious ...

Automatic acknowledgement after downloading some content.

PersonA sends a link to download a content(say an ebook) to person B. is there a way to acknowledge personA automatically that the download is completed by PersonB? Thanks Senthil A Kumar ...

whats meant by 'path' in adsutil.vbs

I am trying to start and stop a website hosted in IIS with windows batch file and found that there is an option that with cscript.exe you can make use of adsutil.vbs file with START_SERVER option. I know that the following command will do that, but I don't understand what I am supposed enter for 'path' cscript.exe adsutil.vbs START_SE...

How do I add an audio track to my "Play To" list using C# in Windows 7?

I poked around for a while on Google and Windows Media player looking for a way to do this, but I can't and I think I should be able to, so I'm asking the fine people of StackOverflow. I'd like to be able to write some code to do one of the following: Add an audio file from my WMP media library to the current "Play To" playlist. Add a...

Are there any tools for testing installer packages?

As part of our nightly build on windows, an installer package is created using NSIS. I would like to automatically test the "correctness" of the installer. This might be things like: Checking the platform of dll files. Checking the install folder. Testing the uninstall function doesn't leave any files behind. Checking registry keys ar...

We need to test a mixed windows-Linux environment. Is there a automation tool that supports both?

We are trying to automate an aplication that lives in a mixed windows-linux environment. We need a test automation tool that supports both environments. Any recommendations? We are evaluating SeeTest (www.experitest.com) that claims to be capable of supporting both Linux and Windows . Does anyone have any experience using it for such...

vbscript: how to print multiple files with printer selection dialog once

I have to write vbscript that prints all files in a folder. Printer dialog should popup at the very beginning to allow user to select printer to use. Than all files should be send to printer silently How can I do that? Thank you in advance! ...

data entry constructor open source project

I was wondering if there exists some open source toolkit or application for generating one-form data entry applications based on some data model description? Host language is probably irrelevant, and the data-model might be very simple. I know, that it is not very complicated to implement such a constructor, but I do not want to re-inv...

How to automate generating and running input files and parsing output files.

I have tried to do it myself--asking for help on specific functions, but the more I think about the possibilities, the more lost I get. I have some software (quantum chemistry packages). That reads input files and generates output files that are basically clumps of data of the form: Energy:[many spaces]6.3432 H 5 O 33 OHO 32 And weird st...

convert awt to swing automatically

From what I know and have been reading, converting from awt to swing seems to be quite mechanical. With the exception of the different threading model, most of swing components generally map well with the awt ones. Was looking for a tool to do this conversion automatically. Understandably, this may not be a 100% conversion, but at least...

How to automate activex control UI

We are automating application UI with MS "AutomationElement Class". In same application few activex controls are also available and we are currently unable to automate the controls which are available in Activex. Can you please let me know whether there is any way to automate activex controls. ...

.NET programmatically locate text box in ActiveX control, modify its text and submit it

I have an ActiveX control (Adobe PDF Reader) with a toolbar. This control doesn't expose some functions available through toolbar (mainly search function). I'm looking for a way to programmatically locate Search field on the toolbar, enter the text and invoke search (equivalent of pressing Enter in this field). What's most accurate way t...

Having trouble running this C# code on XP

I'm writing an application that can run PowerShell scripts which I'd like to be run on the application's thread. The following code: Runspace runspace = RunspaceFactory.CreateRunspace(); // create Powershell runspace runspace.ThreadOptions = PSThreadOptions.UseCurrentThread; Works and compiles fine on Windows 7, but can't be compiled...

How to use variant arrays in Delphi

Hello all! I have two Delphi7 programs: a COM automation server (EXE) and the other program which is using the automation server. I need to pass an array of bytes from one program to the other. After some searching I've found that using variant arrays is the way to go (correct me please if you know any better methods). My question is...

Automatically generate buttons in PDF

Hi everyone, I am looking for some creative ideas for making numbers clickable in PDF file. The PDF file is very large, and each page contains many numbers in the following format: [00-00] What is the best route to explore? Right now, the only idea that I have brainstormed is: The PDF is created from Adobe InDesign. Perhaps "hooking...

Automation of application testing

Hi, I need to fire up an application acting as a web server and wireshark, wait for a connection, exchange data, take screenshot of the web server application and wireshark debug window, and close both applications. I need to repeat this every hour. What are the best programs for this? ...

how to launch my COM out of proc server from a managed com interop dll

I have written a c# com out of proc automation server which references my managed COM Interop dll which holds the application object model, it all works fine. When importing my dll from say unmanaged C++ it works fine it launches the out of proc server and everything works by using COM to access it, but when i do the same from managed...

wait for web page to load completely using python

Hi , Is there any way that I can find out using webbrowser or anyother package in Python if a browser window that I've opened has loaded completely or not? Once it's loaded completely I want to take a screenshot of it and save it. ...