Click here to Skip to main content
15,895,606 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Share (or import/export) a ComboBox between 2 forms? Pin
Hurricane30005-Sep-09 1:32
Hurricane30005-Sep-09 1:32 
GeneralRe: Share (or import/export) a ComboBox between 2 forms? Pin
Luc Pattyn5-Sep-09 1:40
sitebuilderLuc Pattyn5-Sep-09 1:40 
QuestionStrange speed differences between Windows App & Console App Pin
Aaron @ Think Software3-Sep-09 19:23
professionalAaron @ Think Software3-Sep-09 19:23 
AnswerRe: Strange speed differences between Windows App & Console App Pin
Johan Hakkesteegt3-Sep-09 20:34
Johan Hakkesteegt3-Sep-09 20:34 
AnswerRe: Strange speed differences between Windows App & Console App Pin
N a v a n e e t h3-Sep-09 20:51
N a v a n e e t h3-Sep-09 20:51 
GeneralRe: Strange speed differences between Windows App & Console App Pin
Aaron @ Think Software3-Sep-09 20:56
professionalAaron @ Think Software3-Sep-09 20:56 
GeneralRe: Strange speed differences between Windows App & Console App Pin
Dave Kreskowiak4-Sep-09 2:20
mveDave Kreskowiak4-Sep-09 2:20 
AnswerRe: Strange speed differences between Windows App & Console App Pin
Luc Pattyn4-Sep-09 1:20
sitebuilderLuc Pattyn4-Sep-09 1:20 
There is no valid reason whatsoever why a windows app would be any slower than a console app, provided the coding is correct.
without any code nor any detail all we can do is guess.

my best guess is your calculation takes a huge number of very fast steps and tries to show progress after each little step; repainting a progress bar takes some time, if this costs 100 times more than the calculation itself, it would slow down your app by a factor of 101.

Hence, as a test remove the one statement that updates the progress bar.
As a solution, don't update the progress bar that often.
Anyway, if your screen is 1000 pixels wide, a typical progress bar can only show 1000 different states.

Smile | :)

Luc Pattyn
Badger | [badger,badger,badger,badger...] Jig | [Dance] Badger | [badger,badger,badger,badger...] Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.Jig | [Dance] Badger | [badger,badger,badger,badger...] Jig | [Dance]

QuestionSQL Query LTRIM Pin
C#Coudou3-Sep-09 18:14
C#Coudou3-Sep-09 18:14 
AnswerRe: SQL Query LTRIM Pin
C#Coudou3-Sep-09 18:49
C#Coudou3-Sep-09 18:49 
GeneralRe: SQL Query LTRIM Pin
Johan Hakkesteegt3-Sep-09 20:27
Johan Hakkesteegt3-Sep-09 20:27 
AnswerRe: SQL Query LTRIM Pin
Dave Kreskowiak4-Sep-09 2:14
mveDave Kreskowiak4-Sep-09 2:14 
Questionduplicate a toolstip Pin
valkyriexp3-Sep-09 14:01
valkyriexp3-Sep-09 14:01 
AnswerRe: duplicate a toolstip Pin
Dave Kreskowiak3-Sep-09 17:03
mveDave Kreskowiak3-Sep-09 17:03 
GeneralRe: duplicate a toolstip Pin
valkyriexp4-Sep-09 7:06
valkyriexp4-Sep-09 7:06 
GeneralRe: duplicate a toolstip Pin
Dave Kreskowiak4-Sep-09 10:02
mveDave Kreskowiak4-Sep-09 10:02 
QuestionUsing VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
abiemann3-Sep-09 9:25
abiemann3-Sep-09 9:25 
AnswerRe: Using VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
abiemann3-Sep-09 13:21
abiemann3-Sep-09 13:21 
GeneralRe: Using VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
εїзεїзεїз3-Sep-09 13:38
εїзεїзεїз3-Sep-09 13:38 
GeneralRe: Using VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
Dave Kreskowiak3-Sep-09 13:42
mveDave Kreskowiak3-Sep-09 13:42 
QuestionUnsure of phrasing, Subproperty? Pin
EliottA3-Sep-09 5:32
EliottA3-Sep-09 5:32 
AnswerRe: Unsure of phrasing, Subproperty? Pin
Henry Minute3-Sep-09 5:57
Henry Minute3-Sep-09 5:57 
AnswerRe: Unsure of phrasing, Subproperty? Pin
N a v a n e e t h3-Sep-09 5:57
N a v a n e e t h3-Sep-09 5:57 
GeneralRe: Unsure of phrasing, Subproperty? Pin
EliottA3-Sep-09 6:00
EliottA3-Sep-09 6:00 
GeneralRe: Unsure of phrasing, Subproperty? Pin
N a v a n e e t h3-Sep-09 6:09
N a v a n e e t h3-Sep-09 6:09 

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.