C# Class to facilitate drag drop from Outlook

Fertiggestellt Veröffentlicht Oct 2, 2009 Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

The internet has many examples of how to handle Drag/Drop from Outlook 2007.? But I dont have time to translate these into what i need, so i am posting this project.? I need a quick turnaround.

Write a C# class that will handle all the details of Outlook 2007 drag/drop for me.? ? It will? encapsulate all the Outlook specific parsing and com stuff - so my code will remain fairly clean.? ? I propose it looks like this:

using [url removed, login to view];

using [url removed, login to view];

public class OutlookDropHandler

{

? ? ? public OutlookDropHandler(DragEventArgs args, Directory outDir)

? ? ? {

? ? ? ? ? ? ? ? // args is the object recieved? by the Drop event

? ? ? ? ? ? ? ? // outDir is a directory to store the files

? ? ? }

? ? ? ? public bool Success {get;}? // true if? drop parsed successfully

? ? ? ? public int FileCount {get;}? // return number of files

? ? ? ? public string[] FileNames {get;} // returns list of file names

? }

I would instance this object from my form's DragDrop event? like this:

private void Form1_DragDrop(object sender, DragEventArgs e)

{

? ? Directory tempDir = ...

? ? OutlookDropHandler dropHandler = new? OutlookDropHandler(e, tempDir);

? ? if ([url removed, login to view])

? ? {

? ? ? ? ? ? ? ? foreach (string fileName in [url removed, login to view])

? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? ? ? DoSomethingWithFile(fileName);

? ? ? ? ? ? ? ? }

? ? }

}

## Deliverables

Provide this class as a single C# (.cs) file.? ? Also provide a test project (VS2005) or executable (if you use VS2008) which demonstrates that it works.? This test project should have a Form which handles the drag drop from outlook 2007 and, when files are dropped on it, ? displays (in a listbox) a list of the files dropped.? The file names should retain whatever identifying information is possible.? For example, a PDF document should end if .PDF, a word document with .DOC, etc...

C# Programmierung Ingenieurwesen Microsoft MySQL PHP Softwarearchitektur Testen von Software Windows Desktop

Projekt-ID: #2903805

Über das Projekt

5 Vorschläge Remote Projekt Aktiv Oct 3, 2009

Vergeben an:

DebasisB

See private message.

$34 USD in 2 Tagen
(151 Bewertungen)
7.1

5 Freelancer bieten im Durchschnitt $27 für diesen Job

anurag7vw

See private message.

$34 USD in 2 Tagen
(65 Bewertungen)
4.9
microisv

See private message.

$29.75 USD in 2 Tagen
(1 Bewertung)
2.5
kiserbd

See private message.

$34 USD in 2 Tagen
(1 Bewertung)
1.5
rndsimulator

See private message.

$4.25 USD in 2 Tagen
(0 Bewertungen)
0.0