I have automated word document creation from templates using the "Microsoft Word 12.0 Object Library" in my project, but it is unacceptably slow. I'm looking for alternatives: I need to create a document from a template, run some macros and insert text and tables into various bookmark ranges (some text formatting options would be nice to...
I was able to access a bookmark in my word document using this code:
var res = from bm in mainPart.Document.Body.Descendants<BookmarkStart>()
where bm.Name == "BookmarkName"
select bm;
Now I want to insert a paragraph and a table after this bookmark. How do I do that? (exampl...
First, let me begin by telling you the details on the problem I'm trying to solve.
We have a third party application that uses Xml Documents to store all of it's business logic and look up tables and such. The application has a base set of Xml Files, and uses a kind of inheritance model to expose inherited Xml files that we're to edit t...
Heyho, I've got a big bunch of loglines (more or less without documentation) and need to parse the lines. The parsing itself won't be a big problem, but first I need to know how many different kinds of lines are inside the files.
Besides the fact that I've got really different lines like short errors, up to bigger lines which are only di...
I have a professional license of Flex 3.3. This allows me to create applications using the data visualization components (charts) without watermarks. However, all of release builds (test, production, etc) occur on our build server.
The build server only has the Flex SDK installed (not full Flex Builder). As a result the SWFs compiled...
I've been tasked with automating the collection of some reports from our remote locations. The machines are sometimes used locally by the staff at the location, and their usage is random. The software that generates the reports is somewhat limited and just allows us to print to the default printer. The department that's taking these r...
Basically, I have a file 'blah.txt'. That files gets parsed by a 'compiler' and from it will generate N output .c files. I want a makefile that will from that .txt file generate the c files then compile all of them and archive them in a libmystuff.a
I tought of something like this :
all: dogen libmystuff.a
dogen: source.txt
mycomp...
I am considering porting a WPF application to Silverlight. However, the WPF application uses Watin to spawn IE processes and automate certain tasks.
My question is if there is a way to automate tasks in Silverlight by spawning popups and performing tasks in them similar to how you would with Watin.
...
Is it a standard practice to automate outlook from a web application using ActiveX technology? How does this compare with a web scheduler like telerik's RadScheduler + telerik's Exchange Provider to schedule an appointment from the web application itself?
Thanks,
Sendhil
...
I am tasked to develop a very simple web layer for a very complex algorithm that is implemented as an Excel worksheet. This script would be called from a Ruby on Rails app that would be presenting the user with the forms, check validations and whatnot, and should return just a number. After perusing this site, my best shot is to auto...
Is there any software that anyone can recommend that we run nightly to check for 404's and/or any other types of errors that might affect our production site?
...
Sometimes I find myself needing to do something that could be automated or could be manual. E.g. I just ran a particular script 8 times, making a small change in between each run. I certainly could have written a script that would have automated this, but in this instance I decided it was quicker to just run it manually each time.
But...
Hello,
I have a project which exposes object model to use by different types of clients. Written in .Net 3.5 it exposes classes to COM. Problem is while all seems to work from test VB6 client, I faced strange errors while trying to automate it with JScript and Windows Script Host.
Here's code snippet:
var scComponent = new ActiveXObje...
I look at a lot of small Java programs. It would be convenient if I could set up a directory (or directory structure) on my Mac where any time I add a .java file, javac automatically runs and attempts to compile that file. I've briefly looked into Automator actions, but found nothing that fits the bill. Then I got to thinking: on my PC, ...
I've been wanting to write a python script that would run several instances of rsync in sequence for backing up data to a different computer.
At the moment I just have this text file with the commands I use and I've just been copy-pasting them into the terminal, and it seems kinda silly.
I want to be able to use python to do this for m...
We are using Stata to combine and analyze data for all of our agencies in a district each month. I'd like to somehow create reports of the data analysis automatically for these monthly reports. The report includes a summary table of the reported indicators, a couple of graphics of the key indicators, and an analysis table showing stati...
i have an excel data . the 3rd collumn contains phone numbers . i have to delete rows whose phone numbers have less than 10 digits . as the data is very large and not even one mistake is acceptable. i want to use pivot tables or automation script. pivot tables is better because the number of digits is variable and the collumn number is ...
i have a list of numbers in a excel sheet . i.e . one collumn about 20 rows of numbers. lets say its called list A
then i have some multi row multi collumn excel sheet2 in which collumn C may contain some of the numbers of list A.
how can i delete the rows in excel sheet2 which contain list A numbers in collumn C
...
I'm working with a C# WIA application and it seems that I have two ways of accessing the WIA device 1) store the object after the initial call to Select Device or 2) store the device's id and use the manager to access the device only when I need it.
I'm assuming that I can keep hold of the device object for as long as I want but I'm u...
Basically, I have a lot of Python classes (representing our database schema) that look something like this:
from foo import xyz, b, c
class bar(object):
x = xyz()
y = b()
z = c()
...and I want to change it to this:
from foo import b, c
from baz import foobar
class bar(object):
x = foobar()
y = b()
z = c()
...