Click here to Skip to main content
16,006,440 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralAccessing Public Members of the Main Form from Another Form Pin
Waleed Eissa25-Sep-02 12:11
Waleed Eissa25-Sep-02 12:11 
GeneralRe: Accessing Public Members of the Main Form from Another Form Pin
Richard Deeming26-Sep-02 8:49
mveRichard Deeming26-Sep-02 8:49 
GeneralAssembly resources Pin
Noam Ben Haim25-Sep-02 3:50
Noam Ben Haim25-Sep-02 3:50 
GeneralASP.NET examples Pin
Shaun Wilde25-Sep-02 0:31
Shaun Wilde25-Sep-02 0:31 
GeneralRe: ASP.NET examples Pin
Kevin McFarlane25-Sep-02 5:40
Kevin McFarlane25-Sep-02 5:40 
GeneralRe: ASP.NET examples Pin
mstephens25-Sep-02 23:29
mstephens25-Sep-02 23:29 
GeneralRe: ASP.NET examples Pin
Shaun Wilde26-Sep-02 4:26
Shaun Wilde26-Sep-02 4:26 
GeneralWriting (not using) Asynchronous Methods Pin
Heath Stewart24-Sep-02 14:17
protectorHeath Stewart24-Sep-02 14:17 
For a psuedo-serialization method I'm doing to persist a tree view (the reason it's psuedo is because I don't want the TreeNodeCollection serialized as an element), I have two method signatures like so:
C#
public void LoadNodes(XmlNode xmlRoot, ref TreeNode treeRoot);
public void SaveNodes(TreeNode treeRoot, ref XmlNode xmlRoot);

What I'd like to do, since this could be a fairly lengthy operation and needs to be done on 4 separate trees, is provide our framework application with Begin* and End* functions for asynchronous processing.

I've worked with threading a lot and have used asynchronous methods many times in the past, but I'm having problems imlementing it myself. I've written basic asynchronous methods were the state object is enough to pass custom values. I've read about all I can on it, and all the examples reference methods of the MulticastDelegate class that don't exist (I'm guessing these were .NET pre-release articles). I've also considered just returning Control.BeginInvoke and getting the object from Control.EndInvoke, but neither of my methods above return anything (hence, void - and there's a good reason for it).

Has anyone written any asynchronous methods that could help me? TIA

"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
GeneralRe: Writing (not using) Asynchronous Methods Pin
Heath Stewart24-Sep-02 17:22
protectorHeath Stewart24-Sep-02 17:22 
GeneralRe: Writing (not using) Asynchronous Methods Pin
leppie24-Sep-02 20:50
leppie24-Sep-02 20:50 
GeneralAutomating Word application in C# Pin
Noam Ben Haim24-Sep-02 4:30
Noam Ben Haim24-Sep-02 4:30 
GeneralRe: Automating Word application in C# Pin
Paul Riley24-Sep-02 5:06
Paul Riley24-Sep-02 5:06 
GeneralRe: Automating Word application in C# Pin
Stephane Rodriguez.24-Sep-02 5:15
Stephane Rodriguez.24-Sep-02 5:15 
GeneralRe: Automating Word application in C# Pin
Chad Smith26-Sep-02 8:01
professionalChad Smith26-Sep-02 8:01 
General.NET method corresponding to WNetAddConnection Pin
EnkelIk24-Sep-02 0:03
EnkelIk24-Sep-02 0:03 
GeneralAppDomains and CodeDOM Pin
mstephens23-Sep-02 12:09
mstephens23-Sep-02 12:09 
General.NET ComboBox Item Tags (SetItemData equivalent) Pin
Gaul23-Sep-02 7:34
Gaul23-Sep-02 7:34 
GeneralRe: .NET ComboBox Item Tags (SetItemData equivalent) Pin
David Stone23-Sep-02 12:51
sitebuilderDavid Stone23-Sep-02 12:51 
GeneralEiffel .NET for Visual Studio .NET Plug-in Pin
Kevin McFarlane20-Sep-02 1:51
Kevin McFarlane20-Sep-02 1:51 
QuestionAuto-updater? Pin
floydboy5817-Sep-02 16:46
floydboy5817-Sep-02 16:46 
AnswerRe: Auto-updater? Pin
Heath Stewart19-Sep-02 11:40
protectorHeath Stewart19-Sep-02 11:40 
AnswerRe: Auto-updater? Pin
SimonS19-Sep-02 11:50
SimonS19-Sep-02 11:50 
AnswerRe: Auto-updater? Pin
Richard Deeming20-Sep-02 7:35
mveRichard Deeming20-Sep-02 7:35 
Questionwho to creat service? Pin
imran_rafique17-Sep-02 15:08
imran_rafique17-Sep-02 15:08 
AnswerRe: who to creat service? Pin
Nish Nishant17-Sep-02 15:39
sitebuilderNish Nishant17-Sep-02 15:39 

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.