Click here to Skip to main content
15,917,473 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Larry J. Siddens16-Dec-03 7:03
Larry J. Siddens16-Dec-03 7:03 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Heath Stewart16-Dec-03 11:06
protectorHeath Stewart16-Dec-03 11:06 
GeneralRe: Setting Up Computer to run IIS/ASP.NETwith C# Pin
Not Active17-Dec-03 3:22
mentorNot Active17-Dec-03 3:22 
Generalproblem with a shared assembly in a VS solution Pin
Tim Kohler16-Dec-03 3:19
Tim Kohler16-Dec-03 3:19 
GeneralRe: problem with a shared assembly in a VS solution Pin
Heath Stewart16-Dec-03 3:45
protectorHeath Stewart16-Dec-03 3:45 
GeneralRe: problem with a shared assembly in a VS solution Pin
Tim Kohler16-Dec-03 4:04
Tim Kohler16-Dec-03 4:04 
GeneralRe: problem with a shared assembly in a VS solution Pin
Heath Stewart16-Dec-03 4:07
protectorHeath Stewart16-Dec-03 4:07 
QuestionDrag Drop - Simple Theory - Simple Solution? Pin
Tristan Rhodes16-Dec-03 2:58
Tristan Rhodes16-Dec-03 2:58 
Would it be possible to combine the FileFormat.FileDrop with an automatic file construction?

For instance, when the mouse button is pressed, and dragdrop is intiated, when the mouse pointer leaves the managed enviroment, the program constructs the dragged item in the root / temp directory, and forwards the file name (With path) to the arguments used by the dragdrop, thereby, the file is created in the temp directory, and then moved.

This would negate the need to worry about interfacing with COM, and simplify the whole process.
The only things I am uncertain about are:

1) How to determine when the mouse has left the managed enviroment. (X,Y mouse coorinates mapped to the form size? This could be process intensive, so i'm not sure).

2) Deleting a file. Can it be done without security settings, or is that irrelivent?

3) Would it be worth constructing the file to begin with anyway? It could disrupt the drag drop if the file is large or there are many of them. Is there any way to manage a file constructing without chewing up 100% of the CPU? (Thread perhaps?)

4) What about multiple files? Can the drag drop method handle multiple objects? Construct 5-6 objects by stream, and then enable the drag and drop?

There are a number of problems I can see with this method, but there must be some way to manage it. If the file is being written to or is still open when the drop command is sent, then it won't work for one.

I'm just toying with ideas here.

Any thoughts?

Cata
AnswerRe: Drag Drop - Simple Theory - Simple Solution? Pin
Tristan Rhodes16-Dec-03 3:05
Tristan Rhodes16-Dec-03 3:05 
AnswerRe: Drag Drop - Simple Theory - Simple Solution? Pin
Heath Stewart16-Dec-03 3:42
protectorHeath Stewart16-Dec-03 3:42 
GeneralThe Objective / Solution Pin
16-Dec-03 4:27
suss16-Dec-03 4:27 
GeneralRe: The Objective / Solution Pin
Heath Stewart16-Dec-03 5:04
protectorHeath Stewart16-Dec-03 5:04 
GeneralRe: The Objective / Solution Pin
Tristan Rhodes16-Dec-03 5:27
Tristan Rhodes16-Dec-03 5:27 
GeneralRe: The Objective / Solution Pin
Heath Stewart16-Dec-03 5:29
protectorHeath Stewart16-Dec-03 5:29 
GeneralRe: The Objective / Solution Pin
Tristan Rhodes16-Dec-03 6:16
Tristan Rhodes16-Dec-03 6:16 
GeneralRe: The Objective / Solution Pin
Heath Stewart16-Dec-03 6:21
protectorHeath Stewart16-Dec-03 6:21 
GeneralRe: The Objective / Solution Pin
Tristan Rhodes16-Dec-03 6:33
Tristan Rhodes16-Dec-03 6:33 
GeneralRich Text box problem Pin
Abhi158116-Dec-03 2:43
Abhi158116-Dec-03 2:43 
GeneralRe: Rich Text box problem Pin
Heath Stewart16-Dec-03 3:36
protectorHeath Stewart16-Dec-03 3:36 
QuestionHow to report changes in FTP server? Pin
mkomasi16-Dec-03 2:43
mkomasi16-Dec-03 2:43 
AnswerRe: How to report changes in FTP server? Pin
Heath Stewart16-Dec-03 3:24
protectorHeath Stewart16-Dec-03 3:24 
Generalshortcut on text-less button Pin
troels_sorensen16-Dec-03 2:08
troels_sorensen16-Dec-03 2:08 
GeneralRe: shortcut on text-less button Pin
Heath Stewart16-Dec-03 3:23
protectorHeath Stewart16-Dec-03 3:23 
Generaldetecting and editing extended properties Pin
pekai15-Dec-03 23:50
pekai15-Dec-03 23:50 
GeneralRe: detecting and editing extended properties Pin
Heath Stewart16-Dec-03 3:21
protectorHeath Stewart16-Dec-03 3:21 

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.