Click here to Skip to main content
16,016,783 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam5-Jan-05 2:38
netSam5-Jan-05 2:38 
GeneralRe: File.Copy File Not Found Exception. Pin
Robert Rohde5-Jan-05 8:19
Robert Rohde5-Jan-05 8:19 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam5-Jan-05 21:18
netSam5-Jan-05 21:18 
GeneralRe: File.Copy File Not Found Exception. Pin
Robert Rohde6-Jan-05 20:31
Robert Rohde6-Jan-05 20:31 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam8-Jan-05 18:57
netSam8-Jan-05 18:57 
GeneralConstant Variables and Collection Pin
akaSDN4-Jan-05 19:20
akaSDN4-Jan-05 19:20 
GeneralRe: Constant Variables and Collection Pin
T Manjaly5-Jan-05 10:02
T Manjaly5-Jan-05 10:02 
GeneralRe: Constant Variables and Collection Pin
Levi Rosol7-Jan-05 22:39
Levi Rosol7-Jan-05 22:39 
i just responded to someone with a question much like this over in the asp.net forum. Here is a link:
Here[^]

Assuming that your 10 strings are related in some way, you could create an object to hold those values as properties. This would give you a single place to make changes in the future if something were needed to be changed for these variables, vs searching your entire project for the var name.

Not sure if your looking for a web solution or not, but either way, the object idea would work in your case no matter the type of application.

btw, I am not a fan of the 10 public constants at all.

Levi Rosol
Blog By Levi[^]
GeneralRestricting or setting the max length for Dbgrid Pin
Anonymous4-Jan-05 15:57
Anonymous4-Jan-05 15:57 
GeneralSeveral instances of a control... Pin
TAlvord4-Jan-05 12:19
TAlvord4-Jan-05 12:19 
GeneralRe: Several instances of a control... Pin
Tom John5-Jan-05 22:11
Tom John5-Jan-05 22:11 
GeneralRe: Several instances of a control... Pin
TAlvord6-Jan-05 6:24
TAlvord6-Jan-05 6:24 
QuestionValidating user input text entered into an Edit Control? Pin
quickfix764-Jan-05 12:08
quickfix764-Jan-05 12:08 
General? - Confused about datasets Pin
normschaef4-Jan-05 7:55
normschaef4-Jan-05 7:55 
GeneralRichTextBox Selection Block Pin
Dave Londeck4-Jan-05 5:00
Dave Londeck4-Jan-05 5:00 
GeneralnetworkStream.BeginRead() / Threading doubt Pin
carlos_rocha4-Jan-05 4:00
carlos_rocha4-Jan-05 4:00 
GeneralRe: networkStream.BeginRead() / Threading doubt Pin
carlos_rocha5-Jan-05 1:11
carlos_rocha5-Jan-05 1:11 
GeneralCallback function Pin
Tomaz Rotovnik4-Jan-05 3:26
Tomaz Rotovnik4-Jan-05 3:26 
GeneralRe: Callback function Pin
OICU8125-Jan-05 18:19
OICU8125-Jan-05 18:19 
GeneralRe: Callback function Pin
Tomaz Rotovnik5-Jan-05 20:03
Tomaz Rotovnik5-Jan-05 20:03 
GeneralRe: Callback function Pin
OICU8125-Jan-05 20:47
OICU8125-Jan-05 20:47 
Generaltextboxes to datagrid Pin
Makniteasy3-Jan-05 23:25
Makniteasy3-Jan-05 23:25 
GeneralRe: textboxes to datagrid Pin
Ritesh12344-Jan-05 3:53
Ritesh12344-Jan-05 3:53 
GeneralRe: textboxes to datagrid Pin
Makniteasy4-Jan-05 8:51
Makniteasy4-Jan-05 8:51 
Generaloledb error Pin
GaryKoh3-Jan-05 21:17
GaryKoh3-Jan-05 21:17 

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.