Click here to Skip to main content
16,004,944 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Deployment Demo(Trial) Program Pin
Christian Graus2-Oct-06 20:17
protectorChristian Graus2-Oct-06 20:17 
QuestionPlay midi file with tempo adjustment Pin
re infecta1-Oct-06 22:41
re infecta1-Oct-06 22:41 
QuestionHow to print a transparency Picture Pin
Zero-G.1-Oct-06 22:06
Zero-G.1-Oct-06 22:06 
QuestionHow to apply a theme to the app that's different from the current OS theme Pin
Alex Feature1-Oct-06 21:01
Alex Feature1-Oct-06 21:01 
AnswerRe: How to apply a theme to the app that's different from the current OS theme Pin
Christian Graus1-Oct-06 23:42
protectorChristian Graus1-Oct-06 23:42 
AnswerRe: How to apply a theme to the app that's different from the current OS theme Pin
Dave Kreskowiak2-Oct-06 3:00
mveDave Kreskowiak2-Oct-06 3:00 
GeneralRe: How to apply a theme to the app that's different from the current OS theme Pin
Alex Feature2-Oct-06 23:08
Alex Feature2-Oct-06 23:08 
QuestionThreading, UI's and the rest of the Code Pin
Alex Feature1-Oct-06 20:24
Alex Feature1-Oct-06 20:24 
Hi Guys,

I hope everyone is well and filled with caffeine...I know i'm Laugh | :laugh:

I've read in one of the posts here recently that it's not a good idea to keep the code that does not run the ui inside the form and usercontrol classes as it will run on the same thread as the ui and slow down the app. Which does make a lot of sence D'Oh! | :doh:

Not that it makes much difference but I have all my code in dll's and for processing purposes the forms only call dll functions, anything ui related is kept inside the form modules and usercontrol classes.

So

What's the syntax to start a new thread and run specific code on it?

Also

Do I need to keep track of the threads, if so how?

Finally, as far as canceling of currently running code is concerned

How do I handle threads, and cancel code running on them?


The perfect code is always in your head...it just a matter of how hard you bang your head against the wall to get it out!

AnswerRe: Threading, UI's and the rest of the Code Pin
Christian Graus1-Oct-06 23:44
protectorChristian Graus1-Oct-06 23:44 
GeneralRe: Threading, UI's and the rest of the Code Pin
Alex Feature2-Oct-06 23:12
Alex Feature2-Oct-06 23:12 
Questionduplication of records in a Dataset Pin
viji]1-Oct-06 18:47
viji]1-Oct-06 18:47 
AnswerRe: duplication of records in a Dataset Pin
Christian Graus1-Oct-06 23:46
protectorChristian Graus1-Oct-06 23:46 
QuestionHow to set Internet Explorer Printer Page Setup etc. Paper Source, Size Using VB.NET Pin
Shakeel Anjum1-Oct-06 17:13
Shakeel Anjum1-Oct-06 17:13 
QuestionHow to Print in .Net like in VB6 Pin
Bso_Cool1-Oct-06 15:18
Bso_Cool1-Oct-06 15:18 
AnswerRe: How to Print in .Net like in VB6 Pin
Christian Graus1-Oct-06 15:44
protectorChristian Graus1-Oct-06 15:44 
QuestionHow I can Drag image and image will also move Pin
Aun62530-Sep-06 18:23
Aun62530-Sep-06 18:23 
AnswerRe: How I can Drag image and image will also move Pin
Christian Graus1-Oct-06 9:37
protectorChristian Graus1-Oct-06 9:37 
QuestionSearching word Pin
Xmen Real 30-Sep-06 18:15
professional Xmen Real 30-Sep-06 18:15 
AnswerRe: Searching word Pin
Guffa1-Oct-06 0:45
Guffa1-Oct-06 0:45 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 4:25
professional Xmen Real 1-Oct-06 4:25 
AnswerRe: Searching word Pin
Guffa1-Oct-06 5:47
Guffa1-Oct-06 5:47 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 6:50
professional Xmen Real 1-Oct-06 6:50 
AnswerRe: Searching word Pin
Guffa1-Oct-06 8:16
Guffa1-Oct-06 8:16 
GeneralRe: Searching word Pin
Xmen Real 1-Oct-06 8:50
professional Xmen Real 1-Oct-06 8:50 
AnswerRe: Searching word Pin
Dave Kreskowiak1-Oct-06 9:12
mveDave Kreskowiak1-Oct-06 9:12 

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.