Re: Calling EXE After Calculation Complete

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

kimfung_at_gmail.com
Date: 03/23/05


Date: 23 Mar 2005 09:52:33 -0800

Thanks Shawn, I added a loop in my EXE to check the vartype is vberror
or not.
After the calculation complete, the values are shown and no more #NAME,
#VALUE
so the EXE can run smoothly.

I have tested that in the loop was added in the VBA module (A) before
calling the EXE, it loops forever as the calculation was triggerring
another VBA module (B). The module A will not release its control for
module B to calculate, so it loops forever.



Relevant Pages

  • Re: ntdll.dll shown to take 30% in profiler
    ... loop called Resume for each thread. ... The calculation was ... My next attemp was to put an infinite loop in Execute(until program ... something in the NT kernel. ...
    (borland.public.delphi.language.basm)
  • Re: for loop faster than vectorized
    ... ML tries best to look at code and optimise it for you, ... It might throw off the internal MATLAB 'tweaker' and you would ... Say do a rand inside the loop: ... when using small vectors and running the calculation more ...
    (comp.soft-sys.matlab)
  • Re: Multithreading / Scalability
    ... By pulling out the result-assignment of the inner loop, ... amount of cache invalidations are reduced greatly. ... calculation, *instead of* making the switch to summing into a local ... private void multithreaded_calculation ...
    (comp.lang.java.programmer)
  • Re: Convert string to code
    ... It contains dependent values, ... Tips for Access users - http://allenbrowne.com/tips.html ... In other words, loop through the records, look at the calculation, do the ...
    (microsoft.public.access.modulesdaovba)
  • Re: where is the error?
    ... That said, in the code you posted, there is no variable that actually depends on the iteration of the loop. ... The inputs to the "alfa" calculation don't change, and so the inputs for "valore_futuro" don't change either. ... directly related to reproducing the problem, but it at the same time is ready to be compiled as-is, without any additional work on the part of someone trying to compile it. ...
    (microsoft.public.dotnet.languages.csharp)