473,325 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Use clipboard in web app

In my app, I use clipboard to paste some html text into ppt. The
program runs correctly in VS2005 development server, and IIS 5.1 in
WinXP SP2. But it failed on WinServer 2003. The thread blocks when any
clipboard functions are called.( ClipBoard operations must be in a STA
thread, so I create a new thread to do it)

What should I do if I want to use clipboard in IIS 6? Is there any
config work about clipboard permission need to be done?

By the way, is there any way of showing html in ppt without using the
troublesome clipboard?
Apr 3 '08 #1
2 2589
Your html is on the client machine. So is the clipboard. Your server app is
on the server. How are you providing data from the client's machine
clipboard to the server?

In your development environment the server and the client are on the same
machine, that's why it worked, not because of IIS versions.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Fade" <Fa*******@gmail.comwrote in message
news:56**********************************@s8g2000p rg.googlegroups.com...
In my app, I use clipboard to paste some html text into ppt. The
program runs correctly in VS2005 development server, and IIS 5.1 in
WinXP SP2. But it failed on WinServer 2003. The thread blocks when any
clipboard functions are called.( ClipBoard operations must be in a STA
thread, so I create a new thread to do it)

What should I do if I want to use clipboard in IIS 6? Is there any
config work about clipboard permission need to be done?

By the way, is there any way of showing html in ppt without using the
troublesome clipboard?

Apr 3 '08 #2
On 4ÔÂ3ÈÕ, ÏÂÎç5ʱ19·Ö, "Eliyahu Goldin"
<REMOVEALLCAPITALSeEgGoldD...@mMvVpPsS.orgwrote:
Your html is on the client machine. So is theclipboard. Your server app is
on the server. How are you providing data from the client's machineclipboardto the server?

In your development environment the server and the client are on the same
machine, that's why it worked, not because of IIS versions.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]http://msmvps.com/blogs/egoldinhttp://usableasp.net

"Fade" <Fade.t...@gmail.comwrote in message

news:56**********************************@s8g2000p rg.googlegroups.com...
In my app, I useclipboardto paste some html text into ppt. The
program runs correctly in VS2005 development server, and IIS 5.1 in
WinXP SP2. But it failed on WinServer 2003. The thread blocks when any
clipboardfunctions are called.(ClipBoardoperations must be in a STA
thread, so I create a new thread to do it)
What should I do if I want to useclipboardin IIS 6? Is there any
config work aboutclipboardpermission need to be done?
By the way, is there any way of showing html in ppt without using the
troublesomeclipboard?- Òþ²Ø±»ÒýÓÃÎÄ×Ö -

- ÏÔʾÒýÓõÄÎÄ×Ö -
Maybe you misunderstand me. It is the server clipboard that I want to
use. I use clipboard to help with generating PPT file on the server,
because I don't know any other way of putting some html text into a
PPT. I put the text in clipboard, then use TextRange.Paste(), paste
the text into a PPT textbox, the html will be translated to richtext
automaticly. All these happen only at the serverside.
Apr 5 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: xyz | last post by:
I have a menu item to handle clipboard actions (cut, copy, paste). When I paste text that I copied from a Hungarian web page, the display looks normal on my RichTextBox, but the text retrieved from...
8
by: LG | last post by:
Just have a question with regards to the clipboard, and how to read what other applications (Adobe InDesignCS) place in the clipboard. I am currently in the process of creating a booklet from a...
7
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
0
by: James Russo | last post by:
Hello, I have an application which requires an image to be retrived from the clipboard. So, I am writting a quick C# windows application to take images from a webcam and store a single frame on...
7
by: Newbie | last post by:
How do I clear the clipboard in VB.NET 2003? TIA Newbie
15
by: Peter Duniho | last post by:
I'm trying to use .NET and C# to draw a metafile copied to the clipboard by another application (Word 2003 in this case, but it shouldn't matter). I naively thought that I'd be able to use the...
1
by: Figmo | last post by:
Wow.....this is darned odd.... I have an app that integrates with other applications. It registers a global hotkey with Windows. When the hotkey executes it sends a CTRL-C to the active...
8
by: active | last post by:
Guess I'm looking for someone who likes to work difficult puzzles. I can't seem to ever retrieve a palette handle from the clipboard. Below is a simple test program that demonstrates the...
20
by: Joe Duchtel | last post by:
Hello - I have the following code to get a bitmap from the clipboard and to save it to a *.png file ... Dim lData As IDataObject = Clipboard.GetDataObject() If...
23
by: Over | last post by:
Hi it's possible with language C, (Mingw or Djgpp) copying the clipboard of WinXp into file.txt? which function must be use. Thanks
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.