473,320 Members | 1,823 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,320 software developers and data experts.

Drag drop in web deployed app

Has anyone ever successfully gotten a web deployed exe to have Drag Drop
capabilities?
I'm currently getting the message:

An unhandled exception of type 'System.InvalidOperationException'
occurred in mscorlib.dll
Additional information: DragDrop registration failed.
Any help would be greatly appreciated.

Thanks,
Dante

P.S. I already have the [STAThread] attribute on the Main.
Nov 16 '05 #1
2 1394
Nevermind... I have solved the problem.

All I needed to do was paste
"System.Threading.Thread.CurrentThread.ApartmentSt ate =
System.Threading.ApartmentState.STA;" into the main before the
Application.Run call.

"Dante" <da*****@hotmail.com> wrote in message
news:cj**********@news.xmission.com...
Has anyone ever successfully gotten a web deployed exe to have Drag Drop
capabilities?
I'm currently getting the message:

An unhandled exception of type 'System.InvalidOperationException'
occurred in mscorlib.dll
Additional information: DragDrop registration failed.
Any help would be greatly appreciated.

Thanks,
Dante

P.S. I already have the [STAThread] attribute on the Main.

Nov 16 '05 #2
Apparently this did not completely solve the problem.
It has solved the problem on my local machine but when
I try it on a remote computer I still get the same error.

Does anyone have any ideas?
"Dante" <da*****@hotmail.com> wrote in message
news:cj**********@news.xmission.com...
Nevermind... I have solved the problem.

All I needed to do was paste
"System.Threading.Thread.CurrentThread.ApartmentSt ate =
System.Threading.ApartmentState.STA;" into the main before the
Application.Run call.

"Dante" <da*****@hotmail.com> wrote in message
news:cj**********@news.xmission.com...
Has anyone ever successfully gotten a web deployed exe to have Drag Drop
capabilities?
I'm currently getting the message:

An unhandled exception of type 'System.InvalidOperationException'
occurred in mscorlib.dll
Additional information: DragDrop registration failed.
Any help would be greatly appreciated.

Thanks,
Dante

P.S. I already have the [STAThread] attribute on the Main.


Nov 16 '05 #3

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

Similar topics

2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
3
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
6
by: jojobar | last post by:
Hello, I look at the asp.net 2.0 web parts tutorial on the asp.net web site. I tried to run it under firefox browser but it did not run. If I want to use this feature in a commercial product...
5
by: Romulo NF | last post by:
Greetings, I´m back here to show the new version of the drag & drop table columns (original script ). I´ve found some issues with the old script, specially when trying to use 2 tables with...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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)...
0
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...
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

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.