Message 1 of 5
Cannot find file issue

Not applicable
03-08-2017
05:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi people,
Ok, so I have my DLL working fine, but have decided to use an *.ini txt file to preload past configuration settings and defaults from.
I have the *.ini file in the same folder as the DLL but get an error message saying it cant be found!!
'READ TBM_conf.ini FILE TO POPULATE THE MAJORITY OF INTERNAL VARIABLES FOR PROCESSING Dim All_Lines As New List(Of String) Dim ConfigFile As New IO.StreamReader("TBMconfig.ini") Dim OriginalString As String OriginalString = ConfigFile.ReadLine Do Until String.IsNullOrEmpty(OriginalString) Loop ConfigFile.Close()
Any thoughts chaps...
Regards
Les