17 Topics

Member Avatar for
Member Avatar for Clif40RD

Hi Everyone 👋🏼, I'm in a bit of a pickle, hopefully someone can provide some guidance. I have stale Firebase notification tokens in a database for an existing Xamarin application, initially (years back) the application never contained logic to refresh notification tokens. With the most recent update to the application …

Member Avatar for Clif40RD
0
122
Member Avatar for TheGuy831

Hi Im trying to Populate my datagridview from data scraped off of webpage i Want to be able to report progress when datagrid finished updating.. with a progressbar.. Please Help!!!!!! Thank You.. Heres My code Dim theElementCollection As Windows.Forms.HtmlElementCollection theElementCollection = Form1.WebBrowser2.Document.GetElementsByTagName("a") For Each curElement As HtmlElement In theElementCollection Form1.DataGridView1.Rows.Add(curElement.GetAttribute("title"), …

Member Avatar for TheGuy831
0
3K
Member Avatar for PerplexedB

I'm using Excel interop and it seems that this functionality needs to run in the User Interface thread. So I execute that from the ProgressChanged backgroundworker event. Is there a way to have the dowork event (that invoked the progress changed event) interrupt execution until the ProgressChanged event is finished? …

Member Avatar for gusano79
0
2K
Member Avatar for sah

I have developed an application that loaded many images in a listview using ImageList in c# .net framework 4. The images are also compressed. When many many images are loaded and compressed then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had …

Member Avatar for lolafuertes
0
458
Member Avatar for sah

there are three methods called in a backgroundworker_dowork() event in c# .net 4. I want to execute three methods synchronously. that is, 2nd method will execute after 1st method is fully executed and 3rd method will execute when 2nd method is fully executed. because 2nd method can exetue properly only …

Member Avatar for Momerath
0
403
Member Avatar for sah

You cannot vote on your own post 0 I have loaded many images in a listview using ImageList in c#. When many many images are loaded then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had to add images to ImageList and …

Member Avatar for mani-hellboy
0
851
Member Avatar for Mike Askew

Hi all, I am looking to have a long process running in the background to my main form with a timer ticking on the main form animating the elipsis on the end of some text. Was looking for some insight into the best way to go about this and any …

Member Avatar for Mike Askew
0
242
Member Avatar for AndyPants

Hello... I'm working on an application that contains a "BackgroundWorker", the "BackgroundWorker" worked fine but after I started to change some stuff it gives me an error ("Exception has been thrown by the target of an invocation.")... I used a breakpoint to see where it happens, the exception gets thrown …

Member Avatar for AndyPants
0
1K
Member Avatar for casey_sunako

Hi. Guys, I need some help. Does anyone know how to Call cross threads in vb.net while accessing the backgroundworker as well? I keep getting error everytime I run my program... Here is my code: [CODE]Imports System.IO.Directory Imports System.IO Public Class Video_to_Mp3 Public folderopen As String Dim ofd As New …

Member Avatar for GeekByChoiCe
0
354
Member Avatar for Ravenn

hi, i put together this code to read a text file line by line, split the resulting string into the 4 values and send these values to four text-boxes. during each cycle of that while loop it's suppose to initialize the backgroundworker_dowork, which will read the values and use them(and …

Member Avatar for Ravenn
0
540
Member Avatar for ninjatalon

I have a form let's call it Form1 that calls another form(Form2) Form2 to has a bit a code that needs to load in the LOAD_EVENT and takes about 4 seconds. I have made a new form(frmProgress) that only has a progress bar. I want frmProgress to show up and …

Member Avatar for codeorder
0
3K
Member Avatar for ashwinshenoy

Hi Guys, I am developing a VB application along with MS Access... When I initially load my form I need to put my application to sleep for 3 seconds or else data wont load properly. So for this 3 seconds I would like to show a progress bar displaying a …

Member Avatar for Luc001
0
897
Member Avatar for NewOrder

i have a background worker with a sleep method inside a method. (winforms) here is the code that is executed: [CODE] private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker worker = sender as BackgroundWorker; int[] makeSelfMoves = new int[4]; foreach (KeyValuePair<int, int[]> item in replay)// count should be more than …

Member Avatar for NewOrder
0
294
Member Avatar for horserider
Member Avatar for memorex

I need to make a project that takes data from a uC through serial port and insert it in some databases. I want to take the data from 5 sensors, i'm sending the data from al 5 sensors once per hour. The problem is that I want to use backgroundworker …

0
92
Member Avatar for tdhprestatyn

I am running a BackgroundWorker to make a call to a Web Service to obtain a list of Customers, and a list of Vat Rates. This is fine and works, but I am simply stuck passing this data through to RunWorkerCompleted so the form can be updated (these two sets …

Member Avatar for orthimnas
0
414
Member Avatar for wingers1290

Hi, I am loading some pictures from a traffic cam website and displaying them in picture boxes but the form freezes because its working too much. Is there any way to speed up the process, here is my code. [code] string[] picURL = new string[9]; picURL[0] = "http://www.nzta.govt.nz/traffic/current-conditions/webcams/webcam-images/cst1.jpg?rnd=0.0822959104552865"; picURL[1] = …

Member Avatar for wingers1290
0
265

The End.