code - Visual Basic Console Application Copy Percentage?
2014-07
I am making a Console Application that will copy larger files (up to 2 GB) (with My.Computer.FileSystem.CopyDirectory) and I would like make a percentage indicator. I just want it to show the current percentage in numbers (ex. 23%). I'm new to Visual Basic and I have no idea how to do this.
Any help would be appreciated.
This question is best suited for Stack Overflow but:
My.Computer.FileSystem.CopyDirectory(folder, newlocation, FileIO.UIOption.AllDialogs)
will copy from folder
to newlocation
and display a progress bar.
Does anyone know if there is a way to use Microsoft Office or Visual Basic in Ubuntu?
To run Windows applications on Linux, you can try wine (to install it, go to a command prompt and type sudo apt-get install wine
or use the Sofware Center).
If you want an alternative, try OpenOffice, which is preinstalled on Ubuntu.
For Visual Basic the closest equivalent (although not exact replacement) is Gambas. Or just bite the bullet and learn Python with PyGTK.
Libre Office can be used as an alternative for Microsoft Office and Gambas is a good alternative for Visual Basic. Both these soft-wares can be installed through Ubuntu Software Centre.