Click here to Skip to main content
16,005,826 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: shorter File Path Pin
Luc Pattyn11-Sep-09 7:01
sitebuilderLuc Pattyn11-Sep-09 7:01 
QuestionExpression Pin
Anubhava Dimri10-Sep-09 23:18
Anubhava Dimri10-Sep-09 23:18 
AnswerRe: Expression Pin
Henry Minute11-Sep-09 0:08
Henry Minute11-Sep-09 0:08 
AnswerRe: Expression Pin
Christian Graus11-Sep-09 0:56
protectorChristian Graus11-Sep-09 0:56 
GeneralRe: Expression Pin
Anubhava Dimri11-Sep-09 1:17
Anubhava Dimri11-Sep-09 1:17 
GeneralRe: Expression Pin
Dave Kreskowiak11-Sep-09 4:03
mveDave Kreskowiak11-Sep-09 4:03 
GeneralRe: Expression Pin
Anubhava Dimri11-Sep-09 18:07
Anubhava Dimri11-Sep-09 18:07 
GeneralRe: Expression Pin
Dave Kreskowiak12-Sep-09 5:25
mveDave Kreskowiak12-Sep-09 5:25 
So what?? Just because it works doesn't mean it's a good idea to use it. VB.NET does a lot of implied conversions if a type does normally work. In this example:
Dim x As String = "100"
Dim y As String = "40"
Debug.WriteLine(x - y)

results in 60 being output to the Output pane in Visual Studio. Why? Because both strings were automatically converted to Integers before the subtraction operator was applied.

There is no implied conversion for your '-' character because it doesn't translate to a number.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Expression Pin
Anubhava Dimri13-Sep-09 18:07
Anubhava Dimri13-Sep-09 18:07 
GeneralRe: Expression Pin
Dave Kreskowiak14-Sep-09 2:05
mveDave Kreskowiak14-Sep-09 2:05 
GeneralRe: Expression Pin
Anubhava Dimri14-Sep-09 2:09
Anubhava Dimri14-Sep-09 2:09 
QuestionMigrating VB6 to the cloud Pin
Chevy Weiss10-Sep-09 10:53
Chevy Weiss10-Sep-09 10:53 
AnswerRe: Migrating VB6 to the cloud Pin
Christian Graus10-Sep-09 11:44
protectorChristian Graus10-Sep-09 11:44 
GeneralRe: Migrating VB6 to the cloud Pin
εїзεїзεїз10-Sep-09 15:58
εїзεїзεїз10-Sep-09 15:58 
GeneralRe: Migrating VB6 to the cloud Pin
Christian Graus10-Sep-09 16:18
protectorChristian Graus10-Sep-09 16:18 
GeneralRe: Migrating VB6 to the cloud Pin
εїзεїзεїз11-Sep-09 0:10
εїзεїзεїз11-Sep-09 0:10 
GeneralRe: Migrating VB6 to the cloud Pin
Orellabac19-May-11 6:24
Orellabac19-May-11 6:24 
AnswerRe: Migrating VB6 to the cloud Pin
Dave Kreskowiak10-Sep-09 13:55
mveDave Kreskowiak10-Sep-09 13:55 
GeneralRe: Migrating VB6 to the cloud Pin
Christian Graus10-Sep-09 14:20
protectorChristian Graus10-Sep-09 14:20 
AnswerRe: Migrating VB6 to the cloud Pin
darkelv10-Sep-09 17:29
darkelv10-Sep-09 17:29 
GeneralRe: Migrating VB6 to the cloud Pin
Christian Graus10-Sep-09 17:49
protectorChristian Graus10-Sep-09 17:49 
AnswerRe: Migrating VB6 to the cloud Pin
DaveAuld11-Sep-09 5:04
professionalDaveAuld11-Sep-09 5:04 
GeneralRe: Migrating VB6 to the cloud Pin
DaveAuld11-Sep-09 5:06
professionalDaveAuld11-Sep-09 5:06 
QuestionGeneric List problem Pin
carrigart10-Sep-09 9:07
carrigart10-Sep-09 9:07 
AnswerRe: Generic List problem Pin
Abhishek Sur10-Sep-09 12:01
professionalAbhishek Sur10-Sep-09 12:01 

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.