Click here to Skip to main content
15,904,153 members
Home / Discussions / C#
   

C#

 
GeneralRe: UIS Application\MainDialog.Designer.cs Pin
Luc Pattyn29-Aug-10 5:43
sitebuilderLuc Pattyn29-Aug-10 5:43 
QuestionA simple question. Persistence block in C# text editor? Pin
Fred 3429-Aug-10 3:50
Fred 3429-Aug-10 3:50 
AnswerRe: A simple question. Persistence block in C# text editor? Pin
Abhinav S29-Aug-10 4:10
Abhinav S29-Aug-10 4:10 
GeneralRe: A simple question. Persistence block in C# text editor? Pin
Fred 3429-Aug-10 23:06
Fred 3429-Aug-10 23:06 
AnswerRe: A simple question. Persistence block in C# text editor? Pin
PIEBALDconsult29-Aug-10 5:18
mvePIEBALDconsult29-Aug-10 5:18 
Questiongetting "attempted to read or write protected memory in .net" when trying to create a AVI file. Pin
Member 425763228-Aug-10 20:36
Member 425763228-Aug-10 20:36 
AnswerRe: getting "attempted to read or write protected memory in .net" when trying to create a AVI file. Pin
Luc Pattyn29-Aug-10 1:46
sitebuilderLuc Pattyn29-Aug-10 1:46 
QuestionC# loading data Pin
C.CoderCreator28-Aug-10 16:23
C.CoderCreator28-Aug-10 16:23 
AnswerRe: C# loading data Pin
dan!sh 28-Aug-10 18:54
professional dan!sh 28-Aug-10 18:54 
GeneralRe: C# loading data Pin
C.CoderCreator28-Aug-10 18:55
C.CoderCreator28-Aug-10 18:55 
GeneralRe: C# loading data Pin
dan!sh 28-Aug-10 19:21
professional dan!sh 28-Aug-10 19:21 
GeneralRe: C# loading data Pin
C.CoderCreator28-Aug-10 20:00
C.CoderCreator28-Aug-10 20:00 
GeneralRe: C# loading data Pin
dan!sh 28-Aug-10 20:06
professional dan!sh 28-Aug-10 20:06 
GeneralRe: C# loading data Pin
C.CoderCreator28-Aug-10 20:11
C.CoderCreator28-Aug-10 20:11 
GeneralRe: C# loading data Pin
harold aptroot29-Aug-10 22:38
harold aptroot29-Aug-10 22:38 
AnswerRe: C# loading data Pin
Luc Pattyn29-Aug-10 1:49
sitebuilderLuc Pattyn29-Aug-10 1:49 
GeneralRe: C# loading data Pin
Mycroft Holmes29-Aug-10 2:20
professionalMycroft Holmes29-Aug-10 2:20 
JokeRe: C# loading data Pin
dan!sh 29-Aug-10 6:58
professional dan!sh 29-Aug-10 6:58 
QuestionPassing an unmanaged buffer to DataObject Pin
Code-o-mat28-Aug-10 8:27
Code-o-mat28-Aug-10 8:27 
AnswerRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn28-Aug-10 14:05
sitebuilderLuc Pattyn28-Aug-10 14:05 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Code-o-mat28-Aug-10 22:24
Code-o-mat28-Aug-10 22:24 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn29-Aug-10 1:40
sitebuilderLuc Pattyn29-Aug-10 1:40 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Code-o-mat29-Aug-10 1:47
Code-o-mat29-Aug-10 1:47 
AnswerRe: Passing an unmanaged buffer to DataObject Pin
Luc Pattyn29-Aug-10 1:51
sitebuilderLuc Pattyn29-Aug-10 1:51 
GeneralRe: Passing an unmanaged buffer to DataObject Pin
Code-o-mat29-Aug-10 2:18
Code-o-mat29-Aug-10 2:18 
I already did a few basic things to get aquainted with C#, it looks more friendly and welcoming as i originally expected it to be. I'm now experimenting with mixing managed and unmanaged code and drag and drop. What i did was to create a temporary jpeg image and try to drag-drop it. However, most of the time, the drag-drop of the image to applications results in no visible effect. I used ClipSpy to compare a dragdrop from the app and a dragdrop from the shell (expolorer), my guess is that most programs use the "Item IDList Array" in the data to open the dragged file, however, the dragged data from C# does not contain this. I googled around but didn't find anything satisfying, or i just googled for the wrong terms, so i wrote unmanaged code that generates the IDList array from a path into an array allocated with CoTaskMemAlloc and then i hit the problem of not knowing what to do with this buffer once i got it in C#. I might be trying to re-invent the wheel here but at least i am learning. Smile | :)
Am not yet sure if the article about writing a shell extension and avoiding the ItemIDList can help me or not.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

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.