I am plotting a Julia Set in a panel named pnlGraph that is 601 x 601 pixels. I determine the color of each pixel in a Paint event, and plot the entir ...
I am plotting a Julia Set in a panel named pnlGraph that is 601 x 601 pixels. I determine the color of each pixel in a Paint event, and plot the entir ...
What can be happening that slows down Excel to a crawl, sometimes for a minute or two, sometimes for hours, and its workload is spread across calls to ...
A co-worker made some improvements to my app, but at the same time, he changed the whole app to use MDI child forms. So where I used to be able to use ...
For years I create delays in my software using, for example: The problem is, this uses a lot of CPU. I tried Thread.Sleep(1000), but this FREEZE ...
I have a procedure which can run very long. Yesterday it took 14 hours to complete. This piece of code is looping over the values of a column, which h ...
I have written some simple code in Excel VBA, to make a range "flash" a colour - this is achieved by carefully drawing a rectangle object over the ran ...
I have a timer I am actively running through a DoEvents function. The problem is that every thirty secs I want to manually put some temperature values ...
Using the Button-Paint-Event the Button is not updated on each iteration of the for loop. But a Form or a Panel is updated smoothly with every iterati ...
I have a procedure that generates reports based on user input provided on a user-form. I have implemented error handling, as one should, but one of my ...
I'm using a Background worker to read values in and to pass values to Worker_ProgressChanged, to update UI. In Worker_DoWork: In Worker_ProgressCh ...
I used DoEvents to provide a 1 second delay in the VBA execution, to display the countdown in timer properly. The code used was: I used the above c ...
I am trying to make a macro that returns at least some partial control to the user when it runs. The macro behavior cannot be changed dangerously if t ...
Setup: Windows 7 (at work) Windows 10 (at home) Excel 2016 (build 4627 at work) Excel 2016 (build 8730 at home) Power Query is setup to im ...
I am trying to cancel a background worker if its currently running, and then start another. I tried this first, there are more checks for cancel in t ...
I am in the end of my script formatting cells (mainly interior colors depending on cell value) and sorting the rows with regards to those cells' value ...
I want to run an MS Access function only once a day at a certain time - 6 a.m. The computer (Windows 2010) runs the whole day. What is the easiest and ...
I have the below code where I am trying to take one file, delete and the raw data in it and then saving it as a new file. Both the files are fairly la ...
I am having trouble with my VBA code for my macro that I want to open the msoFileDialogFolderPicker and the user pick a folder in which all the excel ...
In VBA, you can call your methods/functions with Call ahead of them, to tell the compiler explicitly that you don't want to use the return value if th ...
I have a Xamarin Forms app that needs to perform a sequence of long-running operations during startup. I would like to inform the user of progress, us ...