Click here to Skip to main content
15,917,176 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
AnswerRe: Threading, UI's and the rest of the Code Pin
Christian Graus1-Oct-06 23:44
protectorChristian Graus1-Oct-06 23:44 
Alex Feature wrote:
it's not a good idea to keep the code that does not run the ui inside the form and usercontrol classes


Correct, your business logic should be seperate from presentation logic.

Alex Feature wrote:
as it will run on the same thread as the ui and slow down the app.


No, you can put code in the UI layer that runs in another thread, and moving code out to a middle tier won't change it being in the same thread.

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


ThreadStart and Thread are the two classes you need.

Sounds to me like you need to google threading in VB.NET and read some articles.



Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

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 
GeneralRe: Searching word Pin
Guffa1-Oct-06 10:21
Guffa1-Oct-06 10: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.