PC Review


Reply
Thread Tools Rate Thread

Automation Problem and a chance for some paid work

 
 
Gordon Fecyk
Guest
Posts: n/a
 
      2nd Jan 2004
I'm looking for one or maybe two starving programmers to help with a weird
problem.

I'm a network admin who has to deal with poorly written programs from travel
reservation outfits. These guys are almost totally unresponsive to
comments, complaints or even positive feedback.

While I know enough programming to be dangerous, ie: I can write DLLs and NT
services, some of what I need to do is beyond my capability. And I need
this stuff done yesterday. :-)

If anyone is interested in what I need done, and wouldn't mind getting a few
bucks for it (I can pay C$14.00/hour - higher rates are negotiable), please
write me directly or post a followup to the group.

There are two problems I've been unable to solve so far. Here's problem
one:

I need to run an application as an NT service. The application is a print
spooler for printing paper air tickets, invoices, itineraries and so forth,
which was originally written for Windows 95. This by itself is easy - use
SRVANY - and I'm already doing this. The problem is the application is
finicky. It launches another process of its own and only closes this
process
down when it exits gracefully. Sometimes I also need to prod this thing to
reconnect to the reservation network once in a while, and I can't do that
without stopping the service, killing the child process it launched,
restarting it as an application and reconnecting it manually, then exiting
it and FINALLY restarting it as a service.

What I want done is a proper NT service (it will run on NT 4.0) that will
launch this application, send it key strokes or menu commands, and monitor
it. When I want to stop the service, I want it to send a proper File/Exit
command to it so it closes its child process gracefully. The application
already writes Event Log entries by itself, so the service that launches it
doesn't need to do so.

The challenge is how to send menu events or key strokes to the application
when its window isn't visible on the desktop, and monitoring the application
by reading its controls - it has some read-only checkboxes indicating its
connection status and such. Because of the proprietary nature of the
application in question, I can't post details publicly. I can explain more
directly if you want.

The second challenge is more for VBA developers, I think:

The same client runs an application that can copy text output from itself
and send it to another application or store area (Notepad, the clipboard, a
text file, e-mail, or a user-specified app such as Word). The catch is I
want to be able to have such output redirected to a new Word 2000 document
created from a predefined template, such as a company letterhead. Currently
they do this by targeting the clipboard and pasting into Word, but this is
error-prone.

I've tried command line parameters that cause Word to create a new document
based on a specified template, but Word proceeds to create a new doc with
the template AND open the captured text in yet another new document - using
the Normal template. No, replacing the Normal template isn't a good option.
What I want, I guess, is an "in-between" application or script that can copy
the captured text into a new Word doc created from the specified template,
bypassing the clipboard entirely and saving a bunch of user steps. Again, I
can explain more if you're interested. Perhaps this could be done in a
macro in the template or something, or with an external app or script that
launches Word with the needed template and pastes automatically.

--
PGP key (0x0AFA039E): <http://www.pan-am.ca/(E-Mail Removed)>
What's a PGP Key? See <http://www.pan-am.ca/free.html>
GOD BLESS AMER, er, THE INTERNET. <http://vmyths.com/rant.cfm?id=401&page=4>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any chance my monitor will work with Vista? pdsnickles Windows Vista Hardware 11 27th Mar 2009 08:39 PM
Star LC-10 9 Pin dot Matrix printer any chance in hell to work in XP ?? Its JUST ME!!! Printers 3 4th Nov 2004 04:59 AM
ATTN Herfried Re How do pass arguments between forms in vb.net TIA any chance of some code TIA Microsoft Dot NET Framework Forms 1 21st Apr 2004 10:01 PM
How do i chance back some of my bottons in IE 6.0 Jamie Wynder Windows XP Internet Explorer 1 12th Feb 2004 10:54 PM
Need 5 talented windows gurus ASAP - Work from your house - paid weekly John Barden Windows XP General 0 17th Nov 2003 07:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:43 AM.