Active Oldest Votes. This should be of use to you. FileName Do While reader. Close end if file. Improve this answer. First, and most important of all , you must check if ofd1. ShowDialog evaluates to DialogResult. That means that the user have selected a file and pressed to open it. If you don't do it you will run into trouble if the user decides to cancel the opening.
OK Then. Secondly, while Not curline Is Nothing or curline IsNot Nothing does work for checking when there's nothing more to read, I'd rather recommend looping by Not reader. EndOfStream instead. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.
Privacy policy. The My. FileSystem object provides tools for working with files and folders. Its properties, methods, and events allow you to create, copy, move, investigate, and delete files and folders. MDB as our database file. To connect the data control to this database, double-click the DatabaseName property in the Properties window and then click on the button with three dots on the right as shown in Figure MDB, as shown in Figure You can also change the caption of the data control to anything, we use Click to browse Customers.
After that, we will place a label and change its caption to Customer Name. It needs to be searchable. It does not need to be relational. The search will be restricted to a single field of data, the results of which will set the record pointer necessary to get the remaining information in the record. I want the maximum number of people to be able to use the application. What are my options?
Follow Post Reply. Rob Nicholson. Thought about XML? Sounds like a perfect solution. And that can, in effect, be relational. Cheers, Rob. XML it is. Thanks Rob. Cor Ligthert.
0コメント