First, there are many articles on the web about using WebRequests asynchrounously. I suggest you read a few, such as this one[^].
After you've downloaded the file asynchronously, just store it in some class variable (or, if you have multiple files, store the files by adding them to some list such as System.Collections.Generic.Queue or System.Collections.Generic.List.
My problem is that I need to specify which column to search in. The way it is now, if something starts with a p in the first column, it will highlight the row. (I need to search one of four columns.) Is there any way to determine which column the matched string was found in?
Thanks again so much!
I have developed a set of User Controls for an application that we would now
like to backfill into a VB6 application. I believe that it is possible to
create an ActiveX control out of the User Control and embed it in a
WebBrowser, but I haven't found any good examples of this. Could anybody
point me to one?
Alternatively, if anybody has any better solutions, I'd be very happy to
I have a custom title bar that I simply made from a label. My form is fixeddialog so I can get that raised effect. Everything looks great until I minimize my form to the taskbar. When I do this, I only see the corresponding icon and not the text. This is because my borderstyle isn't "none." And to have a fixeddialog form without a titlebar, you must make the text "". Therefore, I came up with this: When I minimize my form, I change the borderstyle and text so that it appears in the taskbar. The trick now is to get it to restore without the Titlebar. Essentially, I just need to do the opposite of what I did when I minimized the form.
So, my question, do I have access to the "restore" event handler that is called when you either click or right-click on the item in the taskbar? If not, does anyone have another solution to this problem? Thanks in advance.
I had tried googling but didn't found the answer to my case.
This problem is about PeakWorkingSet property of System.Diagnostics.Process class. This prop store the maximum amount of memory used by process during run time, but this property is inaccessible after the process has exited.
One workaround I used is to start another thread to monitor this property, but this is not well enough because some of processes I started exited too fast. ( They started and exited immediately).
Does anyone know how to get PeakWorkingSet property after process exited? or better workaround to this kind of problem.
I think there r again HashTables contained within the HashTable. That is why, it again prints System.Collections.Hashtable with output. Plz tell me the way to retrieve the values from Hashtables within Hashtables.
ur method to print inner Hashtables worked out very well. They printed all the key value pairs in them. Plz tell me how I can print a particular key value pair from those key value pairs. If possible send me the code.
I want to use common source files (my toolbox) in different projects without creating a library. How can I add this sourcefile, to my project, placed in a common files folder, "by reference" an not as a copy of it ? The IDE always copies the selected file to the project folder.
The Link file option does the trick. When you add the common source files via "Add Existing Items", don't click the Open button in the "Add Existing Item" dialog. There is a tiny control to the right of the "Open" button, which when clicked, opens a context menu with the "Link File" option.