Click here to Skip to main content
15,897,273 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: TextBox Format Pin
Luc Pattyn20-Nov-11 10:01
sitebuilderLuc Pattyn20-Nov-11 10:01 
GeneralRe: TextBox Format Pin
internetuser2k1120-Nov-11 18:13
internetuser2k1120-Nov-11 18:13 
GeneralRe: TextBox Format Pin
internetuser2k1121-Nov-11 5:03
internetuser2k1121-Nov-11 5:03 
AnswerRe: TextBox Format Pin
Luc Pattyn19-Nov-11 23:25
sitebuilderLuc Pattyn19-Nov-11 23:25 
Questionuse a custom function inside entity framework query Pin
alejx15-Nov-11 5:12
alejx15-Nov-11 5:12 
AnswerRe: use a custom function inside entity framework query Pin
DaveAuld19-Nov-11 2:52
professionalDaveAuld19-Nov-11 2:52 
QuestionHelp with Visual Basic Plz Pin
Member 840169014-Nov-11 11:28
Member 840169014-Nov-11 11:28 
AnswerRe: Help with Visual Basic Plz Pin
Luc Pattyn14-Nov-11 12:01
sitebuilderLuc Pattyn14-Nov-11 12:01 
Here are a few pointers for you:

1. you can get part of a string using some string functions, such as string.IndexOf and string.SubString; that should allow you to extract the part in between parentheses.

2. you can convert strings (such as "1.69") to their value type equivalent (a number holding the value 1.69) using someType.Parse or better yet someType.TryParse; read up on them for type double.

3. In a WinForms application all Controls that have the same Parent are listed in the Parent's Control property. Enumerating them one by one is what For Each excels at. Now there is one problem: your Form's Control hierarchy isn't flat, it contains some GroupBoxes which in turn contain RadioButtons. You will need two levels of enumeration here, which you can do explicitly or by using recursion.

4. You could create the entire Form from a text file, reading all the required food groups and food items, and dynamically creating the lay-out. Not too easy if it is all very new to you.


Now hit the books, and use Google, for all the ideas and keywords I provided.

PS: there are more advanced technologies that you could use but also can do without, e.g. Regex for #1, and XML for #4.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Help with Visual Basic Plz Pin
Member 840169014-Nov-11 15:42
Member 840169014-Nov-11 15:42 
AnswerRe: Help with Visual Basic Plz Pin
internetuser2k1120-Nov-11 1:10
internetuser2k1120-Nov-11 1:10 
QuestionVB.Net Web Services - SharePoint not filtering records and fields in results set Pin
Member 840105014-Nov-11 7:26
Member 840105014-Nov-11 7:26 
QuestionVB.Global Printers Pin
Shyvmir14-Nov-11 4:36
Shyvmir14-Nov-11 4:36 
QuestionRe: VB.Global Printers Pin
Eddy Vluggen14-Nov-11 9:15
professionalEddy Vluggen14-Nov-11 9:15 
AnswerRe: VB.Global Printers Pin
Shyvmir22-Nov-11 20:40
Shyvmir22-Nov-11 20:40 
Questioninclude controls in EF query Pin
alejx14-Nov-11 0:41
alejx14-Nov-11 0:41 
AnswerRe: include controls in EF query Pin
Eddy Vluggen14-Nov-11 9:07
professionalEddy Vluggen14-Nov-11 9:07 
GeneralRe: include controls in EF query Pin
alejx14-Nov-11 11:11
alejx14-Nov-11 11:11 
GeneralRe: include controls in EF query Pin
Eddy Vluggen14-Nov-11 11:59
professionalEddy Vluggen14-Nov-11 11:59 
GeneralRe: include controls in EF query Pin
alejx14-Nov-11 12:21
alejx14-Nov-11 12:21 
AnswerRe: include controls in EF query Pin
Eddy Vluggen15-Nov-11 5:33
professionalEddy Vluggen15-Nov-11 5:33 
QuestionTHX for ALL OF YOU_ Pin
princeza aurora nada13-Nov-11 19:01
princeza aurora nada13-Nov-11 19:01 
Questionany one...please teach me about VB...please_"( Pin
princeza aurora nada10-Nov-11 9:43
princeza aurora nada10-Nov-11 9:43 
AnswerRe: any one...please teach me about VB...please_"( Pin
Eddy Vluggen10-Nov-11 9:54
professionalEddy Vluggen10-Nov-11 9:54 
GeneralRe: any one...please teach me about VB...please_"( Pin
princeza aurora nada13-Nov-11 18:44
princeza aurora nada13-Nov-11 18:44 
GeneralRe: any one...please teach me about VB...please_"( Pin
Smithers-Jones13-Nov-11 22:45
Smithers-Jones13-Nov-11 22:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.