Click here to Skip to main content
15,914,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VBA speed issues Pin
Paul Conrad27-Dec-06 8:10
professionalPaul Conrad27-Dec-06 8:10 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:04
73Zeppelin27-Dec-06 10:04 
GeneralRe: VBA speed issues Pin
Paul Conrad27-Dec-06 10:09
professionalPaul Conrad27-Dec-06 10:09 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:12
73Zeppelin27-Dec-06 10:12 
GeneralRe: VBA speed issues Pin
Paul Conrad27-Dec-06 15:09
professionalPaul Conrad27-Dec-06 15:09 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 21:13
73Zeppelin27-Dec-06 21:13 
AnswerRe: VBA speed issues Pin
arcticbrew27-Dec-06 8:43
arcticbrew27-Dec-06 8:43 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:07
73Zeppelin27-Dec-06 10:07 
arcticbrew wrote:
Did you run an analysis, identify the procedures that are consuming the most time, and optimize them? This would be the first step before making a decision to rewrite in another language.


No, but I have a pretty good idea where the slow code is. I execute a number of loops and the number of calculations can reach a maximum of 15000 iterations of a particular function. As it stands right now, it is taking approximately 12 hours to complete a simulation and that is, honestly, unacceptable. I really need to trim this down.


arcticbrew wrote:
How large is the program? Converting to VB.Net might be the most prudent and quickest.


The program is about 5000 lines. So it's not exactly trivial to port it to C# or C++, for example. It also interfaces extensively with Excel 2000 (uses the charting functions as well as some spreadsheet entries), but on a first investigation, there seems to be a problem driving Excel 2000 with C#...something about Primary Interop Assemblies...Oh dear.


"Oh, I must've did somebody some good. I think I did. So I gave her the gun and I shot her!" - Led Zeppelin - In My Time of Dying

AnswerRe: VBA speed issues Pin
Tim Carmichael27-Dec-06 9:19
Tim Carmichael27-Dec-06 9:19 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:11
73Zeppelin27-Dec-06 10:11 
GeneralRe: VBA speed issues Pin
Tim Carmichael27-Dec-06 10:15
Tim Carmichael27-Dec-06 10:15 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:31
73Zeppelin27-Dec-06 10:31 
GeneralRe: VBA speed issues Pin
Tim Carmichael28-Dec-06 4:44
Tim Carmichael28-Dec-06 4:44 
GeneralRe: VBA speed issues Pin
73Zeppelin28-Dec-06 9:25
73Zeppelin28-Dec-06 9:25 
GeneralRe: VBA speed issues Pin
Tim Carmichael28-Dec-06 9:38
Tim Carmichael28-Dec-06 9:38 
GeneralRe: VBA speed issues Pin
73Zeppelin28-Dec-06 10:09
73Zeppelin28-Dec-06 10:09 
GeneralRe: VBA speed issues Pin
Tim Carmichael28-Dec-06 10:10
Tim Carmichael28-Dec-06 10:10 
GeneralRe: VBA speed issues Pin
Paul Conrad28-Dec-06 10:27
professionalPaul Conrad28-Dec-06 10:27 
GeneralRe: VBA speed issues Pin
73Zeppelin28-Dec-06 11:29
73Zeppelin28-Dec-06 11:29 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:53
73Zeppelin27-Dec-06 10:53 
AnswerRe: VBA speed issues Pin
Eric Georgiades29-Dec-06 14:52
Eric Georgiades29-Dec-06 14:52 
GeneralRe: VBA speed issues Pin
73Zeppelin29-Dec-06 22:21
73Zeppelin29-Dec-06 22:21 
QuestionSend email from VB to SSL supported site Pin
S.Rakshit27-Dec-06 7:37
S.Rakshit27-Dec-06 7:37 
QuestionObject & Form Control Binding Pin
weirbear27-Dec-06 7:32
weirbear27-Dec-06 7:32 
AnswerRe: Object & Form Control Binding Pin
Keith Malwitz27-Dec-06 18:48
Keith Malwitz27-Dec-06 18:48 

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.