after usaing that coding my keyboard locked. Net's DoEvents allows you to create this kind of routine, B4A's DoEvents is different. Folder Browsing Example Project – VB. DoEventsのメソッドの部分で一旦停止する。 ② ボタンクリックから、①までの間にキューに貯まったWindowsメッセージが処理される。. DoEvents ( ) Remarks. In many cases,. The next versions of C# and VB. doevents is vb and windows forms in. Or basically I am just confused, but I do not think this canbe done in VBS (at least easily). Hi, I need to pull data from webpage which is of table type format in webpage to excel sheet using vb script. DoEvents evolution; the API approach. > If you are writing a stand-alone script, then "WScript. DoEventsとは何でしょうか。DoEventsが何をするかということは プログラミング初心者にとっては非常にわかりづらいものです。 私もVBAを始めたばかりのころはDoEventssがなんなのかわからなかったですし これが何なのかわかったのはスレッドを勉強してからです。. In this blog post we discuss the DoEvents method in VBA. Version This property is read only and returns a string that is the version number of the host executable. I have tried a few different methods so far and none seem to work. Show and finish function setting some flag. If there was such a function to inspect the message queue for user input, we would have a main benefit: We would speed up our loops 'cause we would process all the messages in the queue (with DoEvents) only on user input. ", _ vbCritical + vbOKOnly, "PowerPoint Automation Example" End If Set oPPTPres = Nothing DoEvents oPPTApp. DoEvents is returning; Do While Form. QTP uses VBScript as its scripting language and VBScript doesn't supports DoEvents. If you want to get data into Excel from a website that requires a login, you may have already been frustrated that web queries don't work so well. [VB NET] Doevents, Forum Visual Basic e. I think your solution uses VB not VBS. Automate repetitive tasks in SecureCRT by running scripts using VBScript, JScript, PerlScript, or Python. Exit While Loop in VBScript / Trim Return Carriage and Tab September 10, 2013 No Comments batch script , beginner , implementation , programming languages , tricks , vbscript , windows , windows scripting host. Make your VBA code in PowerPoint respond to events. It is possible to declare-and-call an api from script, but you must use a third-party control to do so, or else write one yourself. One common way to do this is to use the DoEvents function in a loop whilewaiting , however, this method consumes the CPU time and slows down the PCconsiderably. To understand how Application. ' Loop until a selection is made. Visual Basic. Net Framework: commenti, esempi e tutorial dalla community di HTML. The Most Accurate and Reliable Source Code Converters. Since functions in a type library can be declared such that VarPtr returns the address of any variable (except for variables containing arrays, see October Visual Basic Programmer's Journal for more). Application. NET's syntax and language, its use of the new common runtime, and its switch to WinForms from the VB6 form model. 0, the DoEvents method does not call the Thread. Suggestion; To thank ; Quote; Answer. Version WScript. If you are ready with writing into registry you will set this internal variable back to zero. This topic is 4074 days old which is more than the 365 day threshold we allow for new replies. Exec: The system. NET, C#, Java, & C++, while saving countless hours of painstaking work and valuable time. Featured Excel Templates. Hit Ctrl-L to see a popup window showing the routine that is currently executing, the one that called it, the one that called that, etc. I am trying to take data from an HTML table on a site that requires a login (which means unfortunately I can't post a link to the page). is there an equivalent to DoEvents in VB ?. in Daniel VBscript swarm web scraping example where VBscript utilizes similar objects/system resources as VBA. StrPtr returns the address of the real UNICODE string buffer. Handling messages (VB DoEvents) 9. Application. Avoid Using DoEvents to Wait in Microsoft Access, VBA, and VB6 Code for waiting a specified amount of time, or waiting until a specific time to continue code, without using DoEvents Provided by: Luke Chung, FMS President. Handling Events. I got it moving, and stopping. OpenForms = DoEvents ' Yield to operating system. DoEvents应用 转让控制权,以便让操作系统处理其它的事件。 DoEvents 函数会返回一个 Integer,以代表 Visual Basic 独立版本中打开的窗体数目,例如,Visual Basic,专业版,在其它的应用程序中,DoEvents 返回 0。. In this example, my macro is executing but allows the user to type into the worksheet. DoEvents) inside BeginUpdate() and EndUpdate() methods. [VB NET] Doevents, Forum Visual Basic e. For example, you can allow a user to click a Cancel button while a processor-intensive operation is executing. If your VBScript is running on the Server, then what you would need to do is provide enough data to the client's browser for it to display. I didn't wan to deal with bigger numbers and didn't feel right. Provides access to the properties of a file. NET - Forum - Visual Basic Vb. The base for these files are the C# versions included with the MicroStation SDK. VBA script to pause macro, allow editing, then resume macro? Howdy! I was wondering if there's a way to have a script run, then pause (but allow editing in the worksheet), then resume when the user clicks a "continue button". Alot of code out there relies on the DoEvents statement, or even advertises the use of it. The IDE didn't complain about the method call, so it at least recognized it as valid VBA code. The DoEvents solved the issue. You can move back to the calling routines and examine variables in their scopes, set breakpoints that will be hit after you return from the current routine, etc. strVer = WScript. DoEvents does. Name Application. There is a button on the reader pane for this, but I specifically wanted to be able to do this quickly from the main window. Use of DoEvents in VBA. If one has code that cannot include DoEvents, is it possible to achieve the equivalent of either of the following Excel VBA codes in VB. NET Framework world. I got it moving, and stopping. Gerade als Programmieranfänger vergisst man leicht, in Do-Loop-Schleifen die Bedingungsvariable zu ändern oder überprüft auf einen Wert, der nie erreicht wird. This tutorial gives you a complete overview VBScript For Loop, Do Loop, and While Loop. DoEvents is not supported by QTP. DoEvents()か?. Sleep Function in Excel VBA Application. Once Notepad starts, the system will appear to lock up. Provides access to the properties of a file. こんにちは。VBAやプログラミングに詳しい皆様に教えていただきたい質問があります。cells(1,1)からcells(5000,1)までの値を消去するときに処理の進行状況を表示するためにuserform上にプログレスバーを表示したいと思います。. VBA script to pause macro, allow editing, then resume macro? Howdy! I was wondering if there's a way to have a script run, then pause (but allow editing in the worksheet), then resume when the user clicks a "continue button". DoEvents returns the number of open Visual Basic forms, but only when the host application is Visual Basic. 我最早的时候接触的编程语言是VB, VB中有一个doEvents函数,当一个循环时间很长,很耗费资源时,可以释放部分资源,让CPU去处理其他事情,同时也使用户界面不会被锁住,而继续响应鼠标和键盘的操作。. From VB 5 (even 4) most advanced developers know little nice void method DoEvents. DoEvents is used to tell Windows to process other Windows Messages while performing some other operation. DoEvents() or if you are in a form's code, it is simply: Application. , which can lead to unwanted behavior in the form of function reentrancy or. This tutorial gives you a complete overview VBScript For Loop, Do Loop, and While Loop. 1x) this would be enough, but in any 32-bit version of Microsoft Windows, a DoEvents or PeekMessage loop does not release the time slice when there is nothing to do. See other tutorial Add Items To Combobox From Database In Visual Basic 2010 (VB. it will pause for a given number of ' milliseconds without locking the interface app. Is there any function call that will act like a DoEvents in VB? Basically, I want the browser to pause the current function that it is iin, and process other things/events that are waiting , then continue after the the doEvents Call. Avoid Using DoEvents to Wait in Microsoft Access, VBA, and VB6 Code for waiting a specified amount of time, or waiting until a specific time to continue code, without using DoEvents Provided by: Luke Chung, FMS President. NOTE2: Due in part to VB's apartment-model threading (pseudo-multithreading) the use of DoEvents has become common use with VB programmers (and often over-used), but they'll find that when they migrate from VB to PB they'll usually no longer ever need to call it, as PB uses the regular Windows true/native thread model (just as MS C++ does). Here is a sample loop with a progress bar you may encounter in. Timer Control - VB. As a result, the program using such a loop would take near 100% of the processor usage. Some of these macros are searching through large data bases. In the sample you show it is attempted to use to imitate some kind of "parallelism", which never works well. if double click on icon or file name,it doesn't open it. But when elements (HTML tags) on a page don't have an ID or class, another common approach for accessing them is using getElementsByTagName. Title : String expression displayed in the title bar of the dialog box. Set ie = CreateObject("InternetExplorer. You would have to use multi-threading in asp. DoEvents Instruction Syntax. 参照設定をする。 * Microsoft HTML Object Library * Microsoft Internet Controls WScript. NET runs with the Common Language Runtime (CLR), it gains many new capabilities, one of which is the ability to create free-threaded applications. This method also becomes very useful when you have a script that runs through a long loop. AboutWinWrapBasic, AppActivate, Attribute, Beep, CallersLine, Choose, Clipboard, Command, Debug. Win32 APIs are not available under 16 bit Visual Basic. By the way, there is no equivalent to doevents in asp. DoEvents() - Stack Overflow. Is this the same as the DoEvents from vb6? Should I keep this feature in my vb. Oh, and you can feel free to publish this solution on the blog of course, I don't have any problem with that ;). Watch in our app. While loop is used when we want to repeat a set of statements as long as the condition is true. when i run the code the vbscript continues to run without waiting for the solvers answers. NET Framework world. you can use an itemadd macro or a run a script rule, if the junk filter or standard rules aren't sufficient. In context of the posting from mic jones here I check different ways of SendKey from an Excel VBA application to a session window. It read that object's Document property to get an HtmlDocument. My problem is with a scroller that i want to move while the mouse is clicked down (i started mentioning it in another thread- see it here). DoEvents) inside BeginUpdate() and EndUpdate() methods. Once Notepad starts, the system will appear to lock up. If one has code that cannot include DoEvents, is it possible to achieve the equivalent of either of the following Excel VBA codes in VB. Net examples (example source code) Organized by topic. NET Micro Framework only supports C# development, but since the framework is based upon the CLR runtime it theoretically supports development in any language that can be compiled down to Microsoft Intermediate Language (MSIL) code. VBScript FileSystemObject Object. Once Notepad starts, the system will appear to lock up. DoEvents() or if you are in a form's code, it is simply: Application. エクセルVBAでNavigateメソッドを利用した指定したページのURLをIEで開く方法について解説しています。VBAによるIE(Internet Explorer)制御やデータ取得など基本的なものから実践向けの内容まで幅広くカバーした入門サイト。. The Start method of the Process object is possibly one of the most underappreciated tools available to a programmer. Passing arguments by reference and by value. DoEvents() should be what you're looking for. For example, you can allow a user to click a Cancel button while a processor-intensive operation is executing. click for buttons and parentWindow. I can't count the number of times someone has asked me about running a time consuming task on a separate thread, but at the same time show a progress dialog with up-to-the-second percentage updates being displayed to the user. Allows the operating system to process events and messages waiting in the message queue. We've kept the progress indicator as simple as possible, yet it looks professional. 17 is a standard Visual Basic EXE project that contains a single form with a text box and a command button (see Figure 3. vb6 DoEvents. DoEvents object. The easiest way to implement a 1 second delay, of course, is WSH's WScript. Featured Excel Templates. In C/C++, you can emulate DoEvents with a PeekMessage loop. I have tried using an array and tried using control. C#でApplication. If it's really long-running code then your conversion will not be a simple translation but a rewrite. DoEvents in VBScript? If this is your first visit, be sure to check out the FAQ by clicking the link above. There is no DoEvents inVBS, because the DoEvents is used with forms. Return Value. Sleep method. Sub Main DoEvents ' let other apps work. Win32 APIs are not available under 16 bit Visual Basic. But whenever I try to do it, I click. Welcome to the p2p. Timer Control - VB. WaitForExit However, you state in comments on another answer that you want to wait for specific output from the console process. to wait for an object or a connection to get ready. NET will provide a different gun with the new await and async keywords. This example uses the DoEvents function to cause execution to yield to the operating system once every 1000 iterations of the loop. This is usually the result of polling instead of using events / delegates. I have tried using an array and tried using control. After approximately 10 seconds a message is then displayed. Rest you are doing inside event handler procedure. Using DoEvents in a GUI application will likely cause instability. That's fine, but developers need to understand DoEvents processes all of the messages in the message queue, not just paint messages. Building the Right Environment to Support AI, Machine Learning and Deep Learning. In this script you will ask for change of internal tag, which you locate behind your button in picture. In VB 6, I can do this by the use of timer control, or loop with DoEvents but they have no equivalent in VB. busy DoEvents Wend Do While IE. VBScript Action insert to SQL. However, it is not compulsory to use the timer provided with the VBA. Application. DoEventsが呼び出されたとき、どんなことが行われるのだろうか? ① UIスレッド上での処理はApplication. At the same time, adding timed processes to your code is not obvious to new users of VBA Macros. Timer It is a special Timer that is designed for running in multi-threaded environment and also can be safely accessible from any thread. Delphi Equivalents To Dirty and DoEvents. In VBA, DoEvents returns 0; in the retail version of VB, it returns the number of open forms. NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions. NET VS 2010 [RESOLVED] How to NOT use Application. プログラムの最適化 - VBレスキュー(花ちゃん) Visual Basic,VS6. View all replies. Sleep tDelay" will > allow for events to be processed. You would have to use multi-threading in asp. VB6のDoEventsと同じように、この機能はGUIが他のアプリに追いつくことを可能にする方法ですか?. VBScript Folder Object. For example, you can allow a user to click a Cancel button while a processor-intensive operation is executing. 37 ENG VBA Excel Using the DoEvents to avoid the Excel Not Responding effect on lengthy macros - Duration: 4:26. This is a collection of highly requested Visual Basic code that I put together back in 1998 and 1999. By shinex, August 12, 2008 in Forum. Large sections of the basic constructs of Apache OpenOffice Basic are compatible with Visual Basic. Q?: Process Win events while idle (ala DoEvents) 7. The DataGridView control provides a customizable table for displaying data. I'll cover the following topics in the code samples below: Working DIV Tag, VB, DoEvents, DIV Tag, JavaScript, and DIV. ReadyState = 4: DoEvents: Loop. Like Translate. In regular VB/VBA one can often bypass DoEvents by using Form. DoEvents() method works, create a new winforms application and add a picturebox and assign a image and add a button to the form. net et DoEvents - Forum - Visual Basic. It inserts a Window Message to invoke the method when Application. Please note that at the Chandoo. FIFA 2018 World Cup Calendar. In VB 6, I can do this by the use of timer control, or loop with DoEvents but they have no equivalent in VB. DoEvents alternative function This code snippet shows how to create an alternative function for the standard DoEvents function. Left or DoEvents – to methods defined in the VB6Helpers class, which is part of the support library used by all migrated projects. VBScript TextStream Object. However with VB. Echo a text string to the screen (cscript) or a dialogue box (wscript) Syntax WScript. NET Micro Framework only supports C# development, but since the framework is based upon the CLR runtime it theoretically supports development in any language that can be compiled down to Microsoft Intermediate Language (MSIL) code. Excel Imports System. DoEvents is used to make form elements redraw during processes that are preventing the form painting events to be raised. NET Framework 2. To understand how Application. DoEvents ステートメントは WindowsOSに制御をいったん返す役割 がありますが、DoEventsが必要かどうかはループのつくりによるでしょう。イベントドリブンなら必要でしょうし、ゲームループならば不要かもしれません。. NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions. ", _ vbCritical + vbOKOnly, "PowerPoint Automation Example" End If End With Else MsgBox "The code failed to instantiate PowerPoint session. VB下有一个DoEvents方法,可以让程序在执行操作的同时仍可以处理其他事件,用这个方法可以有效地解决画面无法刷新的问题。. , which can lead to unwanted behavior in the form of function reentrancy or. For example, if you call DoEvents from a procedure you must be sure that the same procedure cannot be called again before execution returns from the first call - otherwise unpredictable. Description. This method also becomes very useful when you have a script that runs through a long loop. Re: When and how to use DoEvents (SOLVED) Actually the DoEvents statement will put the execution of your macro on hold to "process events". Join GitHub today. For more information on messaging, see User Input in Windows Forms. Application. Unlike Visual Basic 6. Application Syntax Application. For example, you can allow a user to click a Cancel button while a processor-intensive operation is executing. DoEvents と sleep 関数の違い このページでは DoEvents と sleep 関数の違いに関して説明します。 VBA プログラミングでループ処理を行う場合に、タイミングや所要時間を調整するのにとても重要な関数となります。. you can use an itemadd macro or a run a script rule, if the junk filter or standard rules aren't sufficient. it shows the properties of icon or file. In regular VB/VBA one can often bypass DoEvents by using Form. 37 ENG VBA Excel Using the DoEvents to avoid the Excel Not Responding effect on lengthy macros - Duration: 4:26. net Visual Basic; 14. Simulating Multithreading in VBA using Excel This article describes 3 ways of simulating multithreading in VBA using Excel. , which can lead to unwanted behavior in the form of function reentrancy or. mp3 datein geschrieben mit dem WMP. As a result, the program using such a loop would take near 100% of the processor usage. We tried to make VBScript a subset of VB6, but unfortunately there are a few "gotchas" -- accidental differences which cause a particular VBScript program to not be a legal VB6 program. If you just want to wait for the process to exit before proceeding, you can call Process. DoEvents object. Watch in our app. Explicit call to Application. I have been finding that Wscript. Sleep tDelay" will > allow for events to be processed. エクセルVBAでNavigateメソッドを利用した指定したページのURLをIEで開く方法について解説しています。VBAによるIE(Internet Explorer)制御やデータ取得など基本的なものから実践向けの内容まで幅広くカバーした入門サイト。. StrPtr returns the address of the real UNICODE string buffer. hi, sorry, im a visual basic noob (im using VB6, btw). DoEvents()か?. WebBrowser Control. Join GitHub today. This would have allowed the user to select 'Pause' on the user interface, I would have then set a variable in the class 'paused = True', and I would check the value of this variable in my method. I didn't wan to deal with bigger numbers and didn't feel right. It inserts a Window Message to invoke the method when Application. Using a ' wait' function' seems to pause the solver too. exe Windows programs. So, any idea? Wednesday, May 23, 2007 2:49 AM. Shell that requires a pipe. doevents is vb and windows forms in. NET 2008 The FolderBrowser control is a trivial control, but I’m including a sample application to demonstrate its use. I'll cover the following topics in the code samples below: Working DIV Tag, VB, DoEvents, DIV Tag, JavaScript, and DIV. NET : Fonction doevents trop lente - CodeS SourceS - Guide Rafraichissement Doevents en VB. To get DoEvents() in WPF we first need to add a reference to Forms to our project. Our guest this week is Eric Lippert – language architect extraordinaire and famous for all his work at Microsoft in developing their languages Eric joined Microsoft right out of college and was originally working on VB It’s time for everyone’s favorite game: Name the Worst. VB中DoEvents的作用及事例讲解_英语_初中教育_教育专区 130人阅读|次下载. Show and finish function setting some flag. The object code to set a new instance of Excel to the objXL is not shown here. DoEvents does. 1x) this would be enough, but in any 32-bit version of Microsoft Windows, a DoEvents or PeekMessage loop does not release the time slice when there is nothing to do. DoEvents method is often used to allow applications to repaint while some longer task is taking place. Net; Windows Presentation Foundation / 3D 17:. sleep(0) to help, by allowing the system to process other processes. it works nicely for to save vb forms. Net's DoEvents allows you to create this kind of routine, B4A's DoEvents is different. VB6のDoEventsと同様のものは、「System. NET VS 2010 [RESOLVED] How to NOT use Application. Razor Intro Razor Syntax Razor C# Variables Razor C# Loops Razor C# Logic Razor VB Variables Razor VB Loops Razor VB Logic ASP Classic ASP Intro ASP Syntax ASP Variables ASP Procedures ASP Conditionals ASP Looping ASP Forms ASP Cookies ASP Session ASP Application ASP #include ASP Global. EnableEvents, Outlook equivalent. VB6にdoEventsという関数がある。 OSに制御を返すなどと説明されていたりするが、正直何の事だか分からなかった。VBで作られたプログラムはマルチスレッドで動作することができない。. Also when the open file dialog is displayed and the file is selected the main form does not update until the process of openning the file has completed. This means you get pieces of the open file dialog screen distorting the main form until this open file proceesing has completed. Introduction 2. NET - Forum - Visual Basic Vb. What is more, although VBscript was much slower on my 2-core laptop, if I had much more cores/processors VBscript might actually make up the distance. how can I display such tables in that case thanks, Neta. NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions. DoEvents occurs. DoEvents 並非天下無敵,用了多了會增加負載、影響效率;雖然 DoEvents 雖然會允許 VB6 進行其他程序作業,但是不會把 CPU 資源放出來,故透過呼叫 Sleep 讓 CPU 資源得以釋出,不致以 100% 來占用系統。 經小弟測試的結果果然是降低了 CPU 的 Loadin g ,各位可以自己. DoEvents(), since if u do Thread. Accurate timeing of VBA code (by kind permission of Charles Williams) The Timer function has its limits in providing accurate measurement of VBA code procedures. Description. Wait instead of sleep function to hold the process for a specified period of time Office 2010 - Application. & _ "Check if the file is present at the location. Using a Timer in VB6 is like that. DoEvents関数 を設定していますので、ループ処理でも処理を制御することができます。 If stopFlg = True Then MsgBox "処理を停止しました" Exit For End If こちらはstopFlg変数が True になった場合にメッセージボックスを表示させ、処理を停止する処理です。. Sometimes you are using DoEvents like for instance to add responsiveness to a Cancel button on a form. I was able to record something (picking progress in TC LT45) and thus generate a VBS file. Are you ready? To create this Userform, execute the following steps. Alot of code out there relies on the DoEvents statement, or even advertises the use of it. C#でApplication. There are a number of VBScript looping statements. Featured Excel Templates. Once Notepad starts, the system will appear to lock up. DoEvents passes control to the operating system. Visual Basic. 可以让它响应本程序事件动作,需要用到api函数GetInputState 例如用: If GetInputState() Then DoEvents '来代替doevents可使循环运行更快. Please note that at the Chandoo. WEBINAR: On-Demand. DoEvents应用 转让控制权,以便让操作系统处理其它的事件。 DoEvents 函数会返回一个 Integer,以代表 Visual Basic 独立版本中打开的窗体数目,例如,Visual Basic,专业版,在其它的应用程序中,DoEvents 返回 0。. The function ListUpFiles will create a collection of the file name that you have specified as a parameter. In this example, my macro is executing but allows the user to type into the worksheet. Folder Browsing Example Project – VB. If you remove DoEvents from your code, your form will not repaint until the click event handler of the button is finished executing. Ik kon er nix over vinden op got en via google werd er alleen verteld dat doevents niet gedeclared hoeft te worden, maar in VB automatisch zit. This would have allowed the user to select 'Pause' on the user interface, I would have then set a variable in the class 'paused = True', and I would check the value of this variable in my method. net DoEvents碰到一个很奇怪的问题,就是DoEvents后面的代码不执行。 程序是在一个函数内,启动了一个timer做一些工作,然后主函数等待,检查某个变量,知道这个变量为. One common way to do this is to use the DoEvents function in a loop whilewaiting , however, this method consumes the CPU time and slows down the PCconsiderably. Much of the current VB6 code base will not run under VB. Busyの値が変化したら、表示してみました。. Timer control in the VBA can be done through a manual timer too. VBScript Do. Contribute to biac/atmarkIT development by creating an account on GitHub. VB6のDoEventsと同様のものは、「System. The code doesn't exactly pause execution. VB中DoEvents的作用及事例讲解_英语_初中教育_教育专区 130人阅读|次下载. if I manually 'step into' the code, and wait and appropriate length of time after the solvers start, the entire programme works perfectly. To execute this sample save the above subroutines in a macro in your excel spreadsheet. VBA (Visual Basic for Applications) exists within Word, Access, Outlook, Publisher, and other Microsoft products, too. DoEvents関数 を設定していますので、ループ処理でも処理を制御することができます。 If stopFlg = True Then MsgBox "処理を停止しました" Exit For End If こちらはstopFlg変数が True になった場合にメッセージボックスを表示させ、処理を停止する処理です。. Here is not bad example:. NET and searching AD for all users under a certain OU. NET - Stack Overflow. If you have a loop that runs for a long time, it is often easier to call DoEvents than to refactor your loop to use true. View all replies. DoEvents and dangers. AboutWinWrapBasic, AppActivate, Attribute, Beep, CallersLine, Choose, Clipboard, Command, Debug. 1) just hangs until the loop will reach it's final value. The function ListUpFiles will create a collection of the file name that you have specified as a parameter. It uses a WebBrowser control to go to a Web page. Still quite new to VB.