<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>Anybody happen to know how to go about creating a COM object that RegisterDragDrop() will actually accept?<br><br>print dropTarget<br><COMObject Python.PyIDropTarget><br><br>pythoncom.RegisterDragDrop(_id, dropTarget)<br><br>Traceback (most recent call last):<br> File "C:\Python25\DragAndDrop.py", line 82, in <module><br> main()<br> File "C:\Python25\DragAndDrop.py", line 41, in main<br> pythoncom.RegisterDragDrop(_id, dropTarget)<br>ValueError: argument is not a COM object<br><br>Any help appreciated,<br><br>Thanks<br>Alex<br></div><br /><hr />Miss your Messenger buddies when on-the-go? <a href='http://messengergonemobile.com' target='_new'>Get Messenger on your mobile!</a></body>
</html>