Click here to Skip to main content
15,917,455 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Click once updation issue.... Pin
nileshbahirshet5-Jan-09 17:27
nileshbahirshet5-Jan-09 17:27 
GeneralRe: Click once updation issue.... Pin
Not Active6-Jan-09 0:39
mentorNot Active6-Jan-09 0:39 
QuestionDetermining the Datatype from the typed text in text box Pin
Vipul Mehta3-Jan-09 1:29
Vipul Mehta3-Jan-09 1:29 
GeneralRe: Determining the Datatype from the typed text in text box Pin
Luc Pattyn3-Jan-09 1:58
sitebuilderLuc Pattyn3-Jan-09 1:58 
GeneralRe: Determining the Datatype from the typed text in text box Pin
ShilpaGinodiya3-Jan-09 20:48
ShilpaGinodiya3-Jan-09 20:48 
GeneralRe: Determining the Datatype from the typed text in text box Pin
Luc Pattyn4-Jan-09 0:42
sitebuilderLuc Pattyn4-Jan-09 0:42 
GeneralRe: Determining the Datatype from the typed text in text box Pin
Vipul Mehta4-Jan-09 23:20
Vipul Mehta4-Jan-09 23:20 
AnswerRe: Determining the Datatype from the typed text in text box Pin
Roger Wright4-Jan-09 3:22
professionalRoger Wright4-Jan-09 3:22 
Wouldn't it make more sense to use the textbox as it was intended to be used - to capture text - then cast the input to whatever type you need? Even if you're re-using a control for different types, your application should "know" what it's expecting at each point. If that isn't the case, you can try casting the input to various types and catching the exceptions thrown to determine the type. Even so, you're going to get misleading results if, for example, you ask for a password and the user chooses '123456' as a password. Better, I think, to clearly define what you expect at each input opportunity and constrain the input to compatible types.

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

QuestionClient-Server Using TCP/IP and VB.net Pin
VikashGohil2-Jan-09 20:16
VikashGohil2-Jan-09 20:16 
AnswerRe: Client-Server Using TCP/IP and VB.net Pin
Dave Kreskowiak3-Jan-09 4:41
mveDave Kreskowiak3-Jan-09 4:41 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
VikashGohil3-Jan-09 18:36
VikashGohil3-Jan-09 18:36 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
Dave Kreskowiak4-Jan-09 0:05
mveDave Kreskowiak4-Jan-09 0:05 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
VikashGohil4-Jan-09 21:02
VikashGohil4-Jan-09 21:02 
AnswerRe: Client-Server Using TCP/IP and VB.net Pin
Mark Salsbery3-Jan-09 7:09
Mark Salsbery3-Jan-09 7:09 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
VikashGohil3-Jan-09 18:37
VikashGohil3-Jan-09 18:37 
AnswerRe: Client-Server Using TCP/IP and VB.net Pin
Bharat Jain6-Jan-09 1:13
Bharat Jain6-Jan-09 1:13 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
VikashGohil6-Jan-09 6:04
VikashGohil6-Jan-09 6:04 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
Bharat Jain7-Jan-09 2:25
Bharat Jain7-Jan-09 2:25 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
VikashGohil7-Jan-09 20:43
VikashGohil7-Jan-09 20:43 
GeneralRe: Client-Server Using TCP/IP and VB.net Pin
Bharat Jain11-Jan-09 22:41
Bharat Jain11-Jan-09 22:41 
QuestionHow to access objects of an arraylist, where an object property is selected in a Listbox? Pin
SvenatGMX2-Jan-09 1:46
SvenatGMX2-Jan-09 1:46 
AnswerRe: How to access objects of an arraylist, where an object property is selected in a Listbox? Pin
Brij2-Jan-09 3:08
mentorBrij2-Jan-09 3:08 
QuestionIME Pin
iprasad0071-Jan-09 20:04
iprasad0071-Jan-09 20:04 
AnswerRe: IME Pin
Abhijit Jana1-Jan-09 20:23
professionalAbhijit Jana1-Jan-09 20:23 
GeneralRe: IME Pin
iprasad0074-Jan-09 17:28
iprasad0074-Jan-09 17:28 

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.