Guess I should have viewed the link before I replied.
I've already tried the method mentioned there with no success. So far,
using that technique combined with other methods, the best I've been able to
do is grab the table's html code, save it to a file, open it in Word, copy
the table to the clipboard from there, and then paste it into Powerpoint
(the intended destination). This is crude and prone to error-- Powerpoint
crashes if I attempt to paste the table (I'm assuming based on
troubleshooting that there is a timing problem, ie, events still processing
when I try the paste method). So the only way to get it to "work" is a
two-fold operation, where one button click creates the html and performs the
copy to clipboard and the second button click creates a Powerpoint instance
and copies the clipboard contents to a slide. I can't figure out how to
check the state of events to make this a one-click operation-- but then, I
don't like this insane workaround anyway.
If I use the example cited with no further massaging, all I end up with is
raw html pasted into Powerpoint instead of a table object.
This is extremely frustrating. What I thought would be a ridiculously easy
endeavor has turned into a MAJOR showstopper for migrating my department's
VB6 app to ASP.NET/VB.NET. One simple table copy/paste snafu is preventing
deployment of a significant improvement to the way we conduct business. I'm
flabbergasted to put it mildly. Previous requests for help in other forums
have gone unanswered, so I guess I've (sigh) once again stumped Microsoft...
Randall
"Ken Tucker [MVP]" <Ke**********@discussions.microsoft.com> wrote in message
news:14**********************************@microsof t.com...
Hi,
I would stay away from vbscript because it is only supported in the
internet explorer. Here is a link that shows how to do it with jscript.
http://msdn.microsoft.com/library/de...classtopic.asp
Ken
-----------------------------
"Randall Arnold" wrote:
I've got an asp.net page that dynamically generates an html table on the
server side. On the client side, I need to copy the rendered table to
the
clipboard programmatically (using vbscript). I just need to be pointed
toward a resource for accessing the DOM this way. I must be searching on
the wrong keywords because so far I can't find anything helpful, even on
Microsoft's site.
My development environment is Visual Web developer Express 2005. Thanks,
Randall Arnold