Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: MDIChild help Pin
robmays1-Apr-04 9:14
robmays1-Apr-04 9:14 
GeneralGive a panel a focus Pin
Jonathan Slenders1-Apr-04 8:22
Jonathan Slenders1-Apr-04 8:22 
GeneralRe: Give a panel a focus Pin
Heath Stewart1-Apr-04 8:55
protectorHeath Stewart1-Apr-04 8:55 
GeneralRe: Give a panel a focus Pin
Jonathan Slenders5-Apr-04 7:50
Jonathan Slenders5-Apr-04 7:50 
General2 dimension textbox array Pin
hkl1-Apr-04 8:00
hkl1-Apr-04 8:00 
GeneralRe: 2 dimension textbox array Pin
Heath Stewart1-Apr-04 8:53
protectorHeath Stewart1-Apr-04 8:53 
GeneralRe: 2 dimension textbox array Pin
hkl1-Apr-04 9:30
hkl1-Apr-04 9:30 
GeneralDragDrop registration failed - Error Pin
Tristan Rhodes1-Apr-04 7:19
Tristan Rhodes1-Apr-04 7:19 
I've created a component Library, and i've built the P/Invoce commands into it to build a windows style component. However, when i try and run the following lines internaly from the component, or Externaly from the parent window, i get the "DragDrop registration failed."

<br />
			pTHEME = ThemeAPI.OpenThemeData(this.Handle,"Window");<br />
<br />
			IntPtr pDC = ThemeAPI.CreateCompatibleDC(IntPtr.Zero);<br />


I put a break point after these two lines, and they process ok for each window, producing pointers and executing successfuly. However, the program then skips to the end of the Main method, and throws the error.

Why is it doing this? I've read that it's a problem with Web Deployed Apps in .NET v1.0. But i have V1.1 and it's not a web app.

What can i do to solve it?

Cheers

Cata

Note: I have enabled windows styles as well, so that's not the problem.
GeneralRe: DragDrop registration failed - Error Pin
leppie1-Apr-04 7:43
leppie1-Apr-04 7:43 
GeneralRe: DragDrop registration failed - Error Pin
Tristan Rhodes1-Apr-04 9:34
Tristan Rhodes1-Apr-04 9:34 
GeneralData Mining for intrusion Detection Pin
srilakshmib1-Apr-04 6:46
srilakshmib1-Apr-04 6:46 
GeneralRe: Data Mining for intrusion Detection Pin
Daniel Turini1-Apr-04 20:42
Daniel Turini1-Apr-04 20:42 
GeneralRe: Data Mining for intrusion Detection Pin
aslan200425-Dec-11 18:04
aslan200425-Dec-11 18:04 
Generalpost form fields to a page programmatically Pin
1-Apr-04 5:56
suss1-Apr-04 5:56 
GeneralRe: post form fields to a page programmatically Pin
Heath Stewart1-Apr-04 6:06
protectorHeath Stewart1-Apr-04 6:06 
GeneralRe: post form fields to a page programmatically Pin
partyganger1-Apr-04 9:50
partyganger1-Apr-04 9:50 
QuestionOCX Control .NET Heath Can you help? Pin
sbeausol1-Apr-04 5:32
sbeausol1-Apr-04 5:32 
AnswerRe: OCX Control .NET Heath Can you help? Pin
Heath Stewart1-Apr-04 5:53
protectorHeath Stewart1-Apr-04 5:53 
GeneralRe: OCX Control .NET Heath Can you help? Pin
Dave Kreskowiak1-Apr-04 6:00
mveDave Kreskowiak1-Apr-04 6:00 
GeneralRe: OCX Control .NET Heath Can you help? Pin
Heath Stewart1-Apr-04 6:07
protectorHeath Stewart1-Apr-04 6:07 
GeneralRe: OCX Control .NET Heath Can you help? Pin
sbeausol1-Apr-04 8:28
sbeausol1-Apr-04 8:28 
GeneralRe: OCX Control .NET Heath Can you help? Pin
Nick Parker1-Apr-04 10:15
protectorNick Parker1-Apr-04 10:15 
GeneralRe: OCX Control .NET Heath Can you help? Pin
sbeausol1-Apr-04 10:23
sbeausol1-Apr-04 10:23 
GeneralRe: OCX Control .NET Heath Can you help? Pin
Heath Stewart2-Apr-04 8:51
protectorHeath Stewart2-Apr-04 8:51 
GeneralRe: OCX Control .NET Heath Can you help? Pin
sbeausol2-Apr-04 10:32
sbeausol2-Apr-04 10:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.