I have a following line inside a .txt file
I would like to know whether is it possible only to store the 203 value in variable using fscanf. So without declaring char arrays to store all those strings.
I was thinking of something like this ;
How is that "just plain stupid"? It looks fine to me. Of course, there are other ways to do it, but fscanf would work just fine.
If the input is guaranteed to have four words separated by '$', then an integer, it'll work fine (in an ugly way), but the example string doesn't strike me as strictly formatted, in which case fscanf would be a bad idea. What happens if another word is added, or a word is removed?
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...