Betreff |
Von |
Datum |
|
  |
Re: How to know that a thread has finshed.
Hi Theo,
yeah i know where you made a mistake.
Private WithEvents evBFMF As clsFilesAndFolders
You never use it in the code sample but the ThreadComplete event is only handled for this... |
 |
 |
 |
|
|
Christian
Hehtke
|
15.04.2006 18:50 |
|
  |
Re: How to know that a thread has finshed.
Oh sorry i forgot to post you a little example of how to implement such a scenario under use of delegates.
Here it is. It executes a "verylongrunningtask" and then pops up a messagebox.
... |
 |
 |
 |
|
|
Christian
Hehtke
|
15.04.2006 18:54 |
|
  |
Re: How to know that a thread has finshed.
Daer Christian,
Thank you very much for your answer. MY first problem solved. After I changed the HANDLER I got the message.
The solution is out of my intellectual range (newbie), that means I... |
 |
 |
 |
|
|
G.
Guest
|
16.04.2006 20:40 |
|
  |
Re: How to know that a thread has finshed.
Hi Theo,
i would prefer a class like this you have a progress and you have a complete event and you can cancel the operation. i did not test the cancel method ;)
hope it works for you... |
 |
 |
 |
|
|
Christian
Hehtke
|
16.04.2006 23:36 |
|
  |
Re: How to know that a thread has finshed.
Dear Christian, Thank your very much for your effort to help me.
I have made another Project to test your code. It seems, your code is working fine.
In course of the next week I'm going to try... |
 |
 |
 |
|
|
Theo
Driemann
|
17.04.2006 00:54 |
|
  |
Re: How to know that a thread has finshed.
Dear Christian,
It is hard for me to follow the code you wrote, but it still works and I think it is even faster than my one. I added some lines, to catch errors when the program tries to access... |
 |
 |
 |
|
|
Theo
Driemann
|
17.04.2006 18:39 |
|
|
G.
Guest
|
18.04.2006 08:56 |
|
  |
Re: How to know that a thread has...
Dear Christian, Maybe you have time to answer the my last 2 question.
First, the stop method wasn't working, until I declared Dim fs As New clsSearchFiles.FileSearcher(_StartupDir, New... |
 |
 |
 |
|
|
G.
Guest
|
20.04.2006 20:55 |
|
  |
Re: How to know that a thread has finshed.
Dear Christian, Maybe you have time to answer the my last 2 question.
First, the stop method wasn't working, until I declared Dim fs As New clsSearchFiles.FileSearcher(_StartupDir, New String()... |
 |
 |
 |
|
|
Theo
Driemann
|
20.04.2006 21:28 |
|
|
G.
Guest
|
21.04.2006 09:16 |
|
  |
Re: How to know that a thread has...
hi,
i think you should read a book about object orientation.
if fixed the code and dropped the class you build because i did not see any sense in it sorry.
this is a short example... i let... |
 |
 |
 |
|
|
Christian
Hehtke
|
22.04.2006 12:07 |
|
  |
Re: How to know that a thread has...
Dear Christian.
Thanks a lot. Know I can use your code complete.
Your are right I have to read a book. But you remember, at the beginning of our dialog I mentoined that I am a newbie.
I'm in... |
 |
 |
 |
|
|
Theo
Driemann
|
22.04.2006 17:59 |
|
  |
Wo kostengünstig VS-Standard-Version kaufen?
Wo kann man möglichst kostengünstig die VS-Standard-Version erwerben? Der Durchschnittspreis scheint so bei ca. 340 Euro zu liegen. Ich benutze derzeit die Express-Version. Bei der fehlt mir aber... |
 |
 |
 |
|
|
G.
Guest
|
15.04.2006 17:06 |
|
  |
AW: Wo kostengünstig VS-Standard-Version kaufen?
ich hab gesehen das es bei den Amis im MSDN Bereich eine Standard umsonst gibt wenn man webcasts anschaut oder bei einemonline Kurs teilnimmt. Die Professional Version von Visual Studio 2005 gibts... |
 |
 |
 |
|
|
Hannes
Preishuber
|
16.04.2006 17:57 |
|
  |
Funktion in einer Anwendung aufrufen
Hallo, ich bin auf der Suche nach einer Lösung um eine Funktion in einer .NET Application von einer anderen .NET Applikation heraus aufzurufen. Also zwei voneinander getrennte und unabhängige... |
 |
 |
 |
|
|
Stephan
|
15.04.2006 11:07 |
|
  |
Re: Funktion in einer Anwendung aufrufen
Moin Stephan,
es gibt sicher mehrere möglichkeiten das zu realisieren. Z.B. Windows messages oder du liest dich mal in remoting ein. sollte sein was du suchst. das jetzt exakt zu erklären würde... |
 |
 |
 |
|
|
Christian
Hehtke
|
15.04.2006 12:01 |
|
|
Stephan
|
15.04.2006 12:39 |
|
  |
E-Mail versenden über WebForm mit SMTPClient
Hallo zusammen, ich habe mir ein Kontaktformular in meiner Web Site eingebaut. Leider funktioniert das ganze nicht. Ich stell einfch ml den Code rein. Kann mir hier bitte jemnd helfen? Grüße aus... |
 |
 |
 |
|
|
G.
Guest
|
14.04.2006 13:37 |
|
  |
Re: E-Mail versenden über WebForm mit SMTPClient
Frohe Ostern,
da du leider keine exception angegeben hast ist es natürlich ein ratespiel ich denke der smtpclient findet einfach deinen smtphost nicht. das mag an dem mail. liegen denn ich kenne... |
 |
 |
 |
|
|
Christian
Hehtke
|
14.04.2006 14:39 |
|
|
Hannes
Preishuber
|
14.04.2006 14:52 |
|