Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

OLE to excel multiple ole clients setting target
Hi,

In an ole application I need to be able to specify which of several
copy of excel running on a computer is the target for ole data being
output to a new excel spreadsheet. Before each line is output I would
like to use a handle to point the application to just one copy of
excel.

I have an application that dumps data to excel spreadsheets. It uses
prop:createole to make a object then prop:create to make a new excel
spreadsheet. The application is souce code with now window or report
layout. It uses higly hand coded interface objects to get the required
data from sql, so I do not want to use any of the standard excel
report tools if I can help it.

It works fine unless the user opens another Excel spredsheet. Once a
second copy of Excel is opened on the desktop all the OLE data dumps
into the second spreadsheet. Open a third copy of excel and data
starts flowing to the third copy. As uses change the focus the top
copy of excel starts getting the rest of the data. I need the data to
flow to the copy of excel opened by the application, not one opened by
the user.

Thanks for your help.

Report this thread to moderator Post Follow-up to this message
Old Post
john nairn
09-28-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:35 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.