| | |
Storing a textfile with specific sub-folders in Windows Mobile 6
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
Hi guys
I am able to add data to a textfile on a windows mobile device but can only get it to store within the 'My Device' folder.
I have tried to place it within folders ... but it cries with a NullReferenceException
Has anyone got any ideas please
I am able to add data to a textfile on a windows mobile device but can only get it to store within the 'My Device' folder.
I have tried to place it within folders ... but it cries with a NullReferenceException
VB.NET Syntax (Toggle Plain Text)
Dim path As String = "\testFile.txt" 'Name of the File to be created Private Sub btn_Proceed_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Proceed.Click 'Pass the data entered to the string variable If File.Exists(Path) = False Then 'Create a file to write to sw = File.CreateText(Path) sw.Write("Text within the file: ")
Has anyone got any ideas please
Michelle (Junior Developer)
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Datagridview combobox
- Next Thread: Load form
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account arithmetic array arrays basic bing button buttons c# center check checkbox code convert crystalreport data database datagrid datagridview date dissertation dissertations dropdownlist excel fade file-dialog filter ftp generatetags google gridview hardcopy images inline input insert intel internet listview mobile monitor ms net networking objects output panel passingparameters picturebox picturebox1 port position print printing problem project read remove save searchbox searchvb.net select serial server shutdown soap sorting survey table tcp temperature text textbox timer timespan toolbox trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf year





